Control: reassign -1 garden-of-coloured-lights On Jo, 07 aug 14, 18:32:17, Arthur Marble wrote: > Package: garden-of-coloured-light > Severity: minor > Tags: patch > User: pkg-llvm-t...@lists.alioth.debian.org > Usertags: clang-ftbfs > > Hello, > > Using the rebuild infrastructure, your package fails to build with clang > (instead of gcc). > > Detected this kind of error: > http://clang.debian.net/status.php?version=3.5.0rc1&key=UNDEF_REF > > Full build log is available here: > http://clang.debian.net/logs/2014-08-05/garden-of-coloured-lights_1.0.8-2_unstable_clang.log > > Thanks, > Arthur > > -- System Information: > Debian Release: jessie/sid (unstable) > Architecture: amd64 (x86_64) > Kernel: Linux 3.14-2-amd64 > Locale: LANG=en_US.UTF-8, LC_CTYPE="en_US.UTF-8" > Shell: /bin/sh linked to /bin/dash > Compiler: Debian clang version 3.5.0-+rc1-2 (tags/RELEASE_35/rc1) (based on > LLVM 3.5.0)
> diff -Naur > garden-of-coloured-lights.orig/garden-of-coloured-lights-1.0.8/debian/changelog > garden-of-coloured-lights/garden-of-coloured-lights-1.0.8/debian/changelog > --- > garden-of-coloured-lights.orig/garden-of-coloured-lights-1.0.8/debian/changelog > 2014-08-07 18:10:04.360691409 -0500 > +++ > garden-of-coloured-lights/garden-of-coloured-lights-1.0.8/debian/changelog > 2014-08-07 18:10:41.912692063 -0500 > @@ -1,3 +1,13 @@ > +garden-of-coloured-lights (1.0.8-3) unstable; urgency=low > + > + * Fix FTBFS with clang > + - Fixed undefined reference error in > + src/stuff.c > + src/stuff.h > + > + > + -- Arthur Marble <art...@info9.net> Thu, 07 Aug 2014 18:10:41 -0500 > + > garden-of-coloured-lights (1.0.8-2) unstable; urgency=low > > * Team upload. > diff -Naur > garden-of-coloured-lights.orig/garden-of-coloured-lights-1.0.8/debian/patches/clang-ftbfs.diff > > garden-of-coloured-lights/garden-of-coloured-lights-1.0.8/debian/patches/clang-ftbfs.diff > > --- > garden-of-coloured-lights.orig/garden-of-coloured-lights-1.0.8/debian/patches/clang-ftbfs.diff > 1969-12-31 18:00:00.000000000 -0600 > +++ > garden-of-coloured-lights/garden-of-coloured-lights-1.0.8/debian/patches/clang-ftbfs.diff > 2014-08-07 18:28:07.284710267 -0500 > @@ -0,0 +1,39 @@ > +--- a/src/stuff.c > ++++ b/src/stuff.c > +@@ -52,7 +52,7 @@ float decoy_table[ANGLE_1]; // not used > + float cos_table[ANGLE_1]; > + float sin_table[ANGLE_1]; > + > +-inline int xpart (int angle, int length); > ++int xpart (int angle, int length); > + > + void init_trig (void) > + { > +@@ -67,12 +67,12 @@ void init_trig (void) > + > + } > + > +-inline int xpart (int angle, int length) > ++int xpart (int angle, int length) > + { > + return (cos_table[angle & 1023] * length); > + } > + > +-inline int ypart (int angle, int length) > ++int ypart (int angle, int length) > + { > + return (sin_table[angle & 1023] * length); > + } > +--- a/src/stuff.h > ++++ b/src/stuff.h > +@@ -24,8 +24,8 @@ int grand (int number); > + int crandom (int number); > + int turn_towards_angle (int angle, int tangle, int turning); > + int turn_towards_xy (int x1, int y1, int x2, int y2, int angle, int > turning); > +-inline int xpart (int angle, int length); > +-inline int ypart (int angle, int length); > ++int xpart (int angle, int length); > ++int ypart (int angle, int length); > + int pulsate (int speed, int amount, int county); > + int angle_difference (int a1, int a2); > + > diff -Naur > garden-of-coloured-lights.orig/garden-of-coloured-lights-1.0.8/debian/patches/series > > garden-of-coloured-lights/garden-of-coloured-lights-1.0.8/debian/patches/series > > --- > garden-of-coloured-lights.orig/garden-of-coloured-lights-1.0.8/debian/patches/series > 2014-08-07 18:10:04.360691409 -0500 > +++ > garden-of-coloured-lights/garden-of-coloured-lights-1.0.8/debian/patches/series > 2014-08-07 18:10:12.480691550 -0500 > @@ -1,3 +1,4 @@ > garden-desktop.patch > configure-ac.patch > windowed.patch > +clang-ftbfs.diff -- http://wiki.debian.org/FAQsFromDebianUser Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic http://nuvreauspam.ro/gpg-transition.txt
signature.asc
Description: Digital signature