1
0
forked from ports/contrib

tagtool: fix compile of linker stage, closes bug FS#935

This commit is contained in:
Danny Rawlins 2013-06-25 19:25:45 +10:00
parent 4ab81540bf
commit ff0ac3edf6
3 changed files with 30 additions and 2 deletions

View File

@ -1 +1,2 @@
447b3a505fee68a82f25dcda9377b676 tagtool-0.12.3.tar.bz2
fd131b930e5d53fb3743cce67d467ea0 tagtool-DSOLink.patch

View File

@ -6,12 +6,15 @@
name=tagtool
version=0.12.3
release=1
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2)
release=2
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2
tagtool-DSOLink.patch)
build() {
cd $name-$version
patch -p1 -i $SRC/tagtool-DSOLink.patch
./configure \
--prefix=/usr \
--disable-nls

View File

@ -0,0 +1,24 @@
diff -urp tagtool-0.12.3.OLD/src/Makefile.am tagtool-0.12.3/src/Makefile.am
--- tagtool-0.12.3.OLD/src/Makefile.am 2006-12-17 13:01:22.000000000 -0500
+++ tagtool-0.12.3/src/Makefile.am 2010-03-07 15:21:56.389276831 -0500
@@ -38,7 +38,7 @@ endif
tagtool_CFLAGS = -Wall -Wno-pointer-sign $(GTK_CFLAGS) ${mp3_cflags} \
${vorbis_cflags} -DDATADIR='"$(datadir)/${PACKAGE_NAME}"'
-tagtool_LDFLAGS = -export-dynamic
+tagtool_LDFLAGS = -lm -logg -export-dynamic
tagtool_LDADD = $(GTK_LIBS)
tagtool_SOURCES = file_list.c file_list.h file_util.c file_util.h \
diff -urp tagtool-0.12.3.OLD/src/Makefile.in tagtool-0.12.3/src/Makefile.in
--- tagtool-0.12.3.OLD/src/Makefile.in 2007-02-27 15:34:13.000000000 -0500
+++ tagtool-0.12.3/src/Makefile.in 2010-03-07 15:21:54.805278228 -0500
@@ -193,7 +193,7 @@ tagtool_CFLAGS = -Wall -Wno-pointer-sign
${vorbis_cflags} -DDATADIR='"$(datadir)/${PACKAGE_NAME}"'
-tagtool_LDFLAGS = -export-dynamic
+tagtool_LDFLAGS = -lm -logg -export-dynamic
tagtool_LDADD = $(GTK_LIBS)
tagtool_SOURCES = file_list.c file_list.h file_util.c file_util.h \