- 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)
This commit is contained in:
Markus Brueffer 2004-10-28 11:02:58 +00:00
parent 417dd7bfd6
commit 7264ee8b24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120383
4 changed files with 62 additions and 0 deletions

View File

@ -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@

View File

@ -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>

View File

@ -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@

View File

@ -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>