tag 554405 + patch
severity 554405 important
user ubuntu-de...@lists.ubuntu.com
usertags 554405 + natty ubuntu-patch
thanks

patch attached
diff -u freeglut-2.6.0/debian/changelog freeglut-2.6.0/debian/changelog
--- freeglut-2.6.0/debian/changelog
+++ freeglut-2.6.0/debian/changelog
@@ -1,3 +1,9 @@
+freeglut (2.6.0-0ubuntu3) natty; urgency=low
+
+  * Fix build failures with --no-add-needed.
+
+ -- Matthias Klose <d...@ubuntu.com>  Thu, 18 Nov 2010 13:00:43 +0100
+
 freeglut (2.6.0-0ubuntu2) lucid; urgency=low
 
   * Build-depend on libxi-dev, libxxf86vm-dev [amd64 i386].
--- freeglut-2.6.0.orig/progs/demos/spaceball/Makefile.am
+++ freeglut-2.6.0/progs/demos/spaceball/Makefile.am
@@ -3,4 +3,5 @@
 noinst_PROGRAMS = spaceball
 spaceball_SOURCES = spaceball.c vmath.c
 spaceball_LDFLAGS = -export-dynamic ../../../src/l...@library@.la
-spaceball_CFLAGS = -I$(top_srcdir)/include $(X_CFLAGS)
\ No newline at end of file
+spaceball_CFLAGS = -I$(top_srcdir)/include $(X_CFLAGS)
+spaceball_LDADD = -lm
only in patch2:
unchanged:
--- freeglut-2.6.0.orig/progs/demos/Lorenz/Makefile.am
+++ freeglut-2.6.0/progs/demos/Lorenz/Makefile.am
@@ -4,3 +4,4 @@
 lorenz_SOURCES = lorenz.c
 lorenz_LDFLAGS = -export-dynamic ../../../src/l...@library@.la
 lorenz_CFLAGS = -I$(top_srcdir)/include $(X_CFLAGS)
+lorenz_LDADD = -lm

Reply via email to