[jogl2] Remove another debug message

Clément David davidcl at fedoraproject.org
Mon May 27 08:15:24 UTC 2013


commit 8a95c4c2349e20341954a83b22c1b101fb139b43
Author: Clément DAVID <clement.david at scilab-enterprises.com>
Date:   Mon May 6 14:43:15 2013 +0200

    Remove another debug message

 jogl2-0002-deactivate-debug-printf.patch |   15 +++++++++++++++
 jogl2.spec                               |    5 ++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/jogl2-0002-deactivate-debug-printf.patch b/jogl2-0002-deactivate-debug-printf.patch
index 535a35e..1d206e6 100644
--- a/jogl2-0002-deactivate-debug-printf.patch
+++ b/jogl2-0002-deactivate-debug-printf.patch
@@ -57,3 +57,18 @@
      fprintf(stderr, "XineramaIsEnabled: has Xinerama Ext: ext %d, query-func %p\n", gotXinExt, xineramaQueryFunc);
    #endif
  
+--- a/src/nativewindow/native/x11/Xmisc.c
++++ b/src/nativewindow/native/x11/Xmisc.c
+@@ -187,10 +187,12 @@ static int x11ErrorHandler(Display *dpy,
+         XGetErrorDatabaseText(dpy, "XRequest", errCodeStr, "Unknown", reqCodeStr, sizeof(reqCodeStr));
+         XGetErrorText(dpy, e->error_code, errCodeStr, sizeof(errCodeStr));
+ 
++/*
+         fprintf(stderr, "Info: Nativewindow X11 Error: %d - %s, dpy %p, id %x, # %d: %d:%d %s\n",
+             e->error_code, errCodeStr, e->display, (int)e->resourceid, (int)e->serial,
+             (int)e->request_code, (int)e->minor_code, reqCodeStr);
+         fflush(stderr);
++*/
+ 
+         if( NULL != jvmHandle && ( errorHandlerDebug || errorHandlerThrowException ) ) {
+             jniEnv = NativewindowCommon_GetJNIEnv(jvmHandle, jvmVersion, &shallBeDetached);
diff --git a/jogl2.spec b/jogl2.spec
index 4a51ba0..61b3531 100644
--- a/jogl2.spec
+++ b/jogl2.spec
@@ -1,7 +1,7 @@
 # baserelease defines which build revision of this version we're building.
 # The magical name baserelease is matched by the rpmdev-bumpspec tool, which
 # you should use.
-%global baserelease 8
+%global baserelease 9
 
 %global pkg_name jogl
 %global pkg_version 2.0
@@ -170,6 +170,9 @@ find %{buildroot}%{_docdir}/%{name} -name '*.html' \
 %{_docdir}/%{name}
 
 %changelog
+* Mon May 06 2013 Clément David <c.david86 at gmail.com> - 2.0-0.9.rc11
+- Remove another debug message
+
 * Wed Feb 06 2013 Java SIG <java-devel at lists.fedoraproject.org> - 2.0-0.8.rc11
 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
 - Replace maven BuildRequires with maven-local


More information about the scm-commits mailing list