File: 0001-Fix-build-failure-with-DSO-link-changes.patch

package info (click to toggle)
libvorbis 1.3.7-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,444 kB
  • sloc: ansic: 54,738; sh: 4,210; xml: 982; perl: 786; makefile: 329
file content (28 lines) | stat: -rw-r--r-- 1,102 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Forwarded: https://github.com/xiph/vorbis/pull/65
From: Matthias Klose <doko@ubuntu.com>
Date: Mon, 11 Oct 2010 10:32:05 +0200
Subject: Fix build failure with DSO link changes.

Make sure to link tests with -lm to fix linker error.

Origin: http://launchpadlibrarian.net/57621522/libvorbis_1.3.1-1_1.3.1-1ubuntu1.diff.gz
Bug-Debian: http://bugs.debian.org/604797
Reviewed-By: Petter Reinholdtsen <pere@debian.org>
Last-Update: 2014-10-14
---
 test/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: libvorbis/test/Makefile.am
===================================================================
--- libvorbis.orig/test/Makefile.am	2018-03-22 08:15:14.098604347 +0100
+++ libvorbis/test/Makefile.am	2018-03-22 08:15:14.094604308 +0100
@@ -10,7 +10,7 @@
 AM_CPPFLAGS = -I$(top_srcdir)/include @OGG_CFLAGS@
 
 test_SOURCES = util.c util.h write_read.c write_read.h test.c
-test_LDADD = ../lib/libvorbisenc.la ../lib/libvorbis.la @OGG_LIBS@ @VORBIS_LIBS@
+test_LDADD = ../lib/libvorbisenc.la ../lib/libvorbis.la @OGG_LIBS@ @VORBIS_LIBS@ -lm
 
 debug:
 	$(MAKE) check CFLAGS="@DEBUG@"