summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/tagtool/Makefile6
-rw-r--r--audio/tagtool/files/patch-configure8
-rw-r--r--audio/tagtool/files/patch-src_Makefile.in11
-rw-r--r--audio/tagtool/files/patch-src__main.c6
4 files changed, 19 insertions, 12 deletions
diff --git a/audio/tagtool/Makefile b/audio/tagtool/Makefile
index dfcef8fff62d..bfc9552df9b3 100644
--- a/audio/tagtool/Makefile
+++ b/audio/tagtool/Makefile
@@ -4,7 +4,7 @@
PORTNAME= tagtool
PORTVERSION= 0.12.3
-PORTREVISION= 12
+PORTREVISION= 13
CATEGORIES= audio
MASTER_SITES= SF
@@ -25,8 +25,4 @@ INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lpthread -logg -lm
-post-patch:
- @${FIND} ${WRKSRC} -name "Makefile.in" | \
- ${XARGS} ${REINPLACE_CMD} -e 's|-Wno-pointer-sign||g'
-
.include <bsd.port.mk>
diff --git a/audio/tagtool/files/patch-configure b/audio/tagtool/files/patch-configure
index ed110dcd32e5..ed746e1bd47f 100644
--- a/audio/tagtool/files/patch-configure
+++ b/audio/tagtool/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig 2007-02-28 05:34:14.000000000 +0900
-+++ configure 2009-03-09 02:12:05.000000000 +0900
-@@ -9044,8 +9044,10 @@
+--- configure.orig 2015-05-20 17:11:37 UTC
++++ configure
+@@ -9044,8 +9044,10 @@ echo "${ECHO_T}$LINGUAS" >&6; }
glib_save_prefix="$prefix"
glib_save_exec_prefix="$exec_prefix"
@@ -11,7 +11,7 @@
if test "x$CATOBJEXT" = "x.mo" ; then
localedir=`eval echo "${libdir}/locale"`
else
-@@ -9053,6 +9055,7 @@
+@@ -9053,6 +9055,7 @@ else
fi
prefix="$glib_save_prefix"
exec_prefix="$glib_save_exec_prefix"
diff --git a/audio/tagtool/files/patch-src_Makefile.in b/audio/tagtool/files/patch-src_Makefile.in
new file mode 100644
index 000000000000..d52b814d89b4
--- /dev/null
+++ b/audio/tagtool/files/patch-src_Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig 2015-05-20 17:11:37 UTC
++++ src/Makefile.in
+@@ -193,7 +193,7 @@ tagtool_CFLAGS = -Wall -Wno-pointer-sign
+ ${vorbis_cflags} -DDATADIR='"$(datadir)/${PACKAGE_NAME}"'
+
+
+-tagtool_LDFLAGS = -export-dynamic
++tagtool_LDFLAGS = -export-dynamic -rdynamic
+ tagtool_LDADD = $(GTK_LIBS)
+
+ tagtool_SOURCES = file_list.c file_list.h file_util.c file_util.h \
diff --git a/audio/tagtool/files/patch-src__main.c b/audio/tagtool/files/patch-src__main.c
index 32f3890dc762..e6a4e7882cf2 100644
--- a/audio/tagtool/files/patch-src__main.c
+++ b/audio/tagtool/files/patch-src__main.c
@@ -1,6 +1,6 @@
---- src/main.c.orig 2006-12-18 03:01:22.000000000 +0900
-+++ src/main.c 2009-03-09 02:20:45.000000000 +0900
-@@ -120,6 +120,7 @@
+--- src/main.c.orig 2006-12-17 18:01:22 UTC
++++ src/main.c
+@@ -120,6 +120,7 @@ int main(int argc, char *argv[])
}
}