mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
tagtool: unbreak & enable debug packages
The upstream makefile passed -export-dynamic to the linker, which resulted in ld: warning: cannot find entry symbol xport-dynamic; not setting start address and garbage in the entry point, hence it segfaulted when ld.so attempted to start main. Problem reported by kn a while back
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
COMMENT= Ogg Vorbis and MP3 files tagger
|
||||
|
||||
DISTNAME= tagtool-0.12.3
|
||||
REVISION= 29
|
||||
REVISION= 30
|
||||
CATEGORIES= audio
|
||||
|
||||
SITES= ${SITE_SOURCEFORGE:=tagtool/}
|
||||
@@ -21,6 +21,8 @@ COMPILER = base-clang ports-gcc base-gcc
|
||||
|
||||
MODULES= textproc/intltool
|
||||
|
||||
DEBUG_PACKAGES= ${BUILD_PACKAGES}
|
||||
|
||||
LIB_DEPENDS= audio/id3lib \
|
||||
audio/libvorbis \
|
||||
x11/gtk+2>=2.10 \
|
||||
@@ -32,7 +34,7 @@ RUN_DEPENDS= devel/desktop-file-utils \
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -lm -logg -Wl,--export-dynamic"
|
||||
LDFLAGS="-L${LOCALBASE}/lib -lm -logg"
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
--- src/Makefile.in.orig Tue Feb 27 21:34:13 2007
|
||||
+++ src/Makefile.in Fri Jun 1 20:41:18 2007
|
||||
@@ -189,7 +189,7 @@ resource_DATA = tagtool.glade preferences.dtd
|
||||
Index: src/Makefile.in
|
||||
--- src/Makefile.in.orig
|
||||
+++ src/Makefile.in
|
||||
@@ -189,11 +189,11 @@ resource_DATA = tagtool.glade preferences.dtd
|
||||
@ENABLE_VORBIS_FALSE@vorbis_cflags =
|
||||
@ENABLE_VORBIS_TRUE@vorbis_cflags = -DENABLE_VORBIS
|
||||
|
||||
@@ -9,3 +10,8 @@
|
||||
${vorbis_cflags} -DDATADIR='"$(datadir)/${PACKAGE_NAME}"'
|
||||
|
||||
|
||||
-tagtool_LDFLAGS = -export-dynamic
|
||||
+tagtool_LDFLAGS = -Wl,--export-dynamic
|
||||
tagtool_LDADD = $(GTK_LIBS)
|
||||
|
||||
tagtool_SOURCES = file_list.c file_list.h file_util.c file_util.h \
|
||||
|
||||
Reference in New Issue
Block a user