Package: lightspeed Severity: minor Usertags: clang-ftbfs User: pkg-llvm-t...@lists.alioth.debian.org Tag: patch
Hello, Using the rebuild infrastructure, your package fails to build with clang (instead of gcc). Thanks, Arthur
diff -Naur lightspeed.orig/lightspeed-1.2a/debian/changelog lightspeed/lightspeed-1.2a/debian/changelog --- lightspeed.orig/lightspeed-1.2a/debian/changelog 2014-02-18 18:33:46.000000000 -0600 +++ lightspeed/lightspeed-1.2a/debian/changelog 2014-02-18 18:32:51.331172154 -0600 @@ -1,3 +1,10 @@ +lightspeed (1.2a-10) unstable; urgency=low + + * Fixed the FTBFS with clang: + - Fixed return void bug in compat.h + + -- Arthur Marble <art...@playtux.info9.net> Tue, 18 Feb 2014 18:32:51 -0600 + lightspeed (1.2a-9) unstable; urgency=low * QA upload. diff -Naur lightspeed.orig/lightspeed-1.2a/patches/clang-ftbfs.diff lightspeed/lightspeed-1.2a/patches/clang-ftbfs.diff --- lightspeed.orig/lightspeed-1.2a/patches/clang-ftbfs.diff 1969-12-31 18:00:00.000000000 -0600 +++ lightspeed/lightspeed-1.2a/patches/clang-ftbfs.diff 2014-02-18 18:31:39.803170908 -0600 @@ -0,0 +1,13 @@ +Index: lightspeed-1.2a/src/compat.h +=================================================================== +--- lightspeed-1.2a.orig/src/compat.h 2014-02-18 18:29:52.000000000 -0600 ++++ lightspeed-1.2a/src/compat.h 2014-02-18 18:30:48.251170011 -0600 +@@ -31,7 +31,7 @@ + #endif /* not GTK_HAVE_FEATURES_1_1_0 */ + + #else /* not HAVE_GTK1 */ +-#define GTKGL_TEMP_begingl(A) {GdkGLContext *glcontext = gtk_widget_get_gl_context (A); GdkGLDrawable *gldrawable = gtk_widget_get_gl_drawable(A);if (!gdk_gl_drawable_gl_begin (gldrawable, glcontext)){ g_critical("cannot gl_begin"); return FALSE; } } ++#define GTKGL_TEMP_begingl(A) {GdkGLContext *glcontext = gtk_widget_get_gl_context (A); GdkGLDrawable *gldrawable = gtk_widget_get_gl_drawable(A);if (!gdk_gl_drawable_gl_begin (gldrawable, glcontext)){ g_critical("cannot gl_begin"); } } + + #define GTKGL_TEMP_endgl(A) { GdkGLDrawable *gldrawable = gtk_widget_get_gl_drawable(A);gdk_gl_drawable_gl_end (gldrawable);} + #endif diff -Naur lightspeed.orig/lightspeed-1.2a/patches/series lightspeed/lightspeed-1.2a/patches/series --- lightspeed.orig/lightspeed-1.2a/patches/series 1969-12-31 18:00:00.000000000 -0600 +++ lightspeed/lightspeed-1.2a/patches/series 2014-02-18 18:30:25.559169616 -0600 @@ -0,0 +1 @@ +clang-ftbfs.diff