Package: toonloop
Version: 2.1.18-3
Severity: important
Tags: patch

Hi,

The patch for #657814 has introduced a preprocessor warning:

cc1plus: warning: unrecognized gcc debugging option: S [enabled by default]
cc1plus: warning: unrecognized gcc debugging option: E [enabled by default]
cc1plus: warning: unrecognized gcc debugging option: _ [enabled by default]
cc1plus: warning: unrecognized gcc debugging option: G [enabled by default]
cc1plus: warning: unrecognized gcc debugging option: L [enabled by default]
cc1plus: warning: unrecognized gcc debugging option: E [enabled by default]
cc1plus: warning: unrecognized gcc debugging option: S [enabled by default]
cc1plus: warning: unrecognized gcc debugging option: 2 [enabled by default]

This is due to -dUSE_GLES2. I guess that the author wanted to unset
this, in that case -UUSE_GLES2 should be used, or not setting this at
all seems also OK to me.

Please find the attached patch that use the flag -U instead of -d.

Cheers

Laurent Bigonville


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru toonloop-2.1.18/debian/patches/0004-fix_arm.patch toonloop-2.1.18/debian/patches/0004-fix_arm.patch
--- toonloop-2.1.18/debian/patches/0004-fix_arm.patch	2012-02-09 02:23:03.000000000 +0100
+++ toonloop-2.1.18/debian/patches/0004-fix_arm.patch	2012-02-16 22:40:12.000000000 +0100
@@ -25,7 +25,7 @@
 +  #include <clutter/clutter.h>]],[[]])],
 +  [
 +    AC_MSG_RESULT([yes])
-+    AC_SUBST(CUSTOM_CFLAGS,"-dUSE_GLES2")
++    AC_SUBST(CUSTOM_CFLAGS,"-UUSE_GLES2")
 +  ],[
 +    AC_MSG_RESULT([no])
 +    AC_MSG_CHECKING([if we can include GLES2/gl2.h and clutter/clutter.h together])

Reply via email to