[libtheora] 02/02: Add missing -lm to player-example

Martin Steghöfer martin.steghoefer-guest at moszumanska.debian.org
Mon Nov 10 16:25:08 UTC 2014


This is an automated email from the git hooks/post-receive script.

martin.steghoefer-guest pushed a commit to branch master
in repository libtheora.

commit 42b906a66c7245b09c35daab90032aa56c8c4b93
Author: Martin Steghöfer <martin at steghoefer.eu>
Date:   Mon Nov 10 17:00:11 2014 +0100

    Add missing -lm to player-example
    
    Closes: #768685
    Thanks: Simon McVittie
---
 .../0004-player-example-needs-lm-for-rint.patch    | 22 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 23 insertions(+)

diff --git a/debian/patches/0004-player-example-needs-lm-for-rint.patch b/debian/patches/0004-player-example-needs-lm-for-rint.patch
new file mode 100644
index 0000000..0ade731
--- /dev/null
+++ b/debian/patches/0004-player-example-needs-lm-for-rint.patch
@@ -0,0 +1,22 @@
+From: Simon McVittie <smcv at debian.org>
+Date: Mon, 10 Nov 2014 10:29:42 +0000
+Subject: player-example needs -lm for rint()
+
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=768685
+---
+ examples/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/examples/Makefile.am b/examples/Makefile.am
+index fe66a21..289e219 100644
+--- a/examples/Makefile.am
++++ b/examples/Makefile.am
+@@ -22,7 +22,7 @@ dump_psnr_LDADD = $(GETOPT_OBJS) $(LDADDDEC) -lm
+ 
+ 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
diff --git a/debian/patches/series b/debian/patches/series
index 801688e..49c0989 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 autotools
 dfsg
 build_on_gnu
+0004-player-example-needs-lm-for-rint.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-xiph/libtheora.git



More information about the pkg-xiph-commits mailing list