ssuominen    14/03/29 05:10:33

  Added:                libtheora-1.1.1-underlinking.patch
  Log:
  Fix underlinking (missing -lm for function rintf()) wrt #504270 by Hector 
Martin
  
  (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 
4868F14D)

Revision  Changes    Path
1.1                  
media-libs/libtheora/files/libtheora-1.1.1-underlinking.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libtheora/files/libtheora-1.1.1-underlinking.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libtheora/files/libtheora-1.1.1-underlinking.patch?rev=1.1&content-type=text/plain

Index: libtheora-1.1.1-underlinking.patch
===================================================================
http://bugs.gentoo.org/504270

--- examples/Makefile.am
+++ examples/Makefile.am
@@ -22,7 +22,7 @@
 
 player_example_SOURCES = player_example.c
 player_example_CFLAGS = $(SDL_CFLAGS) $(OGG_CFLAGS) $(VORBIS_CFLAGS)
-player_example_LDADD = $(LDADDDEC) $(SDL_LIBS) $(VORBIS_LIBS) $(OSS_LIBS)
+player_example_LDADD = $(LDADDDEC) $(SDL_LIBS) $(VORBIS_LIBS) $(OSS_LIBS) -lm
 
 encoder_example_SOURCES = encoder_example.c
 EXTRA_encoder_example_SOURCES = getopt.c getopt1.c getopt.h





Reply via email to