aboutsummaryrefslogtreecommitdiffstats
path: root/audio/amarok-kde4
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2004-10-28 19:02:58 +0800
committermarkus <markus@FreeBSD.org>2004-10-28 19:02:58 +0800
commitb60aa6dc59ecb6636e68cbe40cb5bab7d06ff7ca (patch)
tree82f800915930ad1a4ae8f831fdf1c89031feda5e /audio/amarok-kde4
parent47d915885619aaf2a6c461a87e9648c7b2bf5634 (diff)
downloadfreebsd-ports-gnome-b60aa6dc59ecb6636e68cbe40cb5bab7d06ff7ca.tar.gz
freebsd-ports-gnome-b60aa6dc59ecb6636e68cbe40cb5bab7d06ff7ca.tar.zst
freebsd-ports-gnome-b60aa6dc59ecb6636e68cbe40cb5bab7d06ff7ca.zip
- Fix build if xmmswrapper should be build
Submitted by: Andy Fawcett <andy@athame.co.uk> (5.x) Reported by: Acajou <acajou@gmail.com> (4.x)
Diffstat (limited to 'audio/amarok-kde4')
-rw-r--r--audio/amarok-kde4/files/patch-amarok-src-vis-xmmswrapper-Makefile.in21
-rw-r--r--audio/amarok-kde4/files/patch-amarok-src-vis-xmmswrapper-xmmswrapper.cpp10
2 files changed, 31 insertions, 0 deletions
diff --git a/audio/amarok-kde4/files/patch-amarok-src-vis-xmmswrapper-Makefile.in b/audio/amarok-kde4/files/patch-amarok-src-vis-xmmswrapper-Makefile.in
new file mode 100644
index 000000000000..402f6f163ed5
--- /dev/null
+++ b/audio/amarok-kde4/files/patch-amarok-src-vis-xmmswrapper-Makefile.in
@@ -0,0 +1,21 @@
+--- amarok/src/vis/xmmswrapper/Makefile.in.orig Sat Oct 9 14:52:12 2004
++++ amarok/src/vis/xmmswrapper/Makefile.in Thu Oct 28 12:16:00 2004
+@@ -304,7 +304,8 @@
+
+ amarok_xmmswrapper2_LDFLAGS = \
+ $(xmms_libs) \
+- $(gtk_libs)
++ $(gtk_libs) \
++ $(all_libraries)
+
+ subdir = amarok/src/vis/xmmswrapper
+ mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
+@@ -317,7 +318,7 @@
+ #>- amarok_xmmswrapper2_OBJECTS = $(am_amarok_xmmswrapper2_OBJECTS)
+ #>+ 1
+ amarok_xmmswrapper2_OBJECTS = xmmswrapper.$(OBJEXT)
+-amarok_xmmswrapper2_LDADD = $(LDADD)
++amarok_xmmswrapper2_LDADD = $(LDADD) $(LIBPTHREAD) -lintl
+ amarok_xmmswrapper2_DEPENDENCIES =
+
+ DEFS = @DEFS@
diff --git a/audio/amarok-kde4/files/patch-amarok-src-vis-xmmswrapper-xmmswrapper.cpp b/audio/amarok-kde4/files/patch-amarok-src-vis-xmmswrapper-xmmswrapper.cpp
new file mode 100644
index 000000000000..aecb7339c438
--- /dev/null
+++ b/audio/amarok-kde4/files/patch-amarok-src-vis-xmmswrapper-xmmswrapper.cpp
@@ -0,0 +1,10 @@
+--- amarok/src/vis/xmmswrapper/xmmswrapper.cpp.orig Mon Oct 18 13:37:03 2004
++++ amarok/src/vis/xmmswrapper/xmmswrapper.cpp Mon Oct 18 13:37:36 2004
+@@ -8,6 +8,7 @@
+ #include <dirent.h>
+ #include <dlfcn.h> //dlopen etc.
+ #include <stdlib.h>
++#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <sys/stat.h>
+ #include <sys/un.h>