Author: miriam
Date: 2014-11-24 22:50:42 +0000 (Mon, 24 Nov 2014)
New Revision: 15333

Added:
   packages/trunk/phlipple/debian/patches/libm.patch
Log:
Added patch



Added: packages/trunk/phlipple/debian/patches/libm.patch
===================================================================
--- packages/trunk/phlipple/debian/patches/libm.patch                           
(rev 0)
+++ packages/trunk/phlipple/debian/patches/libm.patch   2014-11-24 22:50:42 UTC 
(rev 15333)
@@ -0,0 +1,28 @@
+Description: Link with libm for cos().
+ This is fallout from the fact that other libraries in Debian, such as
+ libvorbisfile, no longer include their own dependencies in the pkg-config
+ output.  Until now, phlipple built just fine because -lm was added by
+ other libraries; now it has to add it on its own.
+ .
+ This bug should really be fixed upstream by adding an explicit check for
+ cos(3) in configure.ac, something like AC_CHECK_LIB([m], [cos])
+ I do intend to do that in a future upload, but IMHO this minimal patch
+ ought to be suitable for the Jessie freeze.
+Debian-Bug: https://bugs.debian.org/768741
+Author: Peter Pentchev <r...@ringlet.net>
+Forwarded: not-yet
+Last-Update: 2014-11-10
+
+Index: phlipple-0.8.5/src/Makefile.in
+===================================================================
+--- phlipple-0.8.5.orig/src/Makefile.in
++++ phlipple-0.8.5/src/Makefile.in
+@@ -211,7 +211,7 @@ phlipple_SOURCES = \
+       vertex.h
+ 
+ phlipple_LDFLAGS = 
+-phlipple_LDADD = $(PHLIPPLE_LIBS) $(GL_LIBS) 
++phlipple_LDADD = $(PHLIPPLE_LIBS) $(GL_LIBS) -lm
+ all: all-am
+ 
+ .SUFFIXES:


_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to