summaryrefslogtreecommitdiff
path: root/audio/daapd/patches
diff options
context:
space:
mode:
Diffstat (limited to 'audio/daapd/patches')
-rw-r--r--audio/daapd/patches/patch-aa44
-rw-r--r--audio/daapd/patches/patch-ab15
-rw-r--r--audio/daapd/patches/patch-ac12
3 files changed, 71 insertions, 0 deletions
diff --git a/audio/daapd/patches/patch-aa b/audio/daapd/patches/patch-aa
new file mode 100644
index 00000000000..02dcf6d15d9
--- /dev/null
+++ b/audio/daapd/patches/patch-aa
@@ -0,0 +1,44 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/06/05 19:07:51 nathanw Exp $
+
+--- makefile.orig 2004-04-17 07:14:45.000000000 -0400
++++ makefile 2004-06-04 15:34:59.000000000 -0400
+@@ -1,7 +1,7 @@
+ # configure daapd here
+
+ HOWL_ENABLE = 1
+-MPEG4_ENABLE = 1
++MPEG4_ENABLE = 0
+
+
+ # no need to touch anything below this line
+@@ -13,16 +13,14 @@
+ DEPS = daaplib_ libhttpd_
+ OBJS = daapd.o db.o dboutput.o songcache.o parsemp3.o
+ LIBS = -ldaaplib -lhttpd-persistent -lid3tag -lz
+-LIBPATH = -L. -L/usr/local/lib -L./daaplib/src -L./libhttpd/src
+-INCPATH = -I. -I/usr/local/include -I./daaplib/include -I./libhttpd/src
+-DEPLOY = /usr/local
+-CFLAGS = -Wall -Wno-multichar
++LIBPATH = -L. ${LDFLAGS} -L./daaplib/src -L./libhttpd/src
++INCPATH = -I. -I./daaplib/include -I./libhttpd/src
++DEPLOY = ${PREFIX}
++CFLAGS += -Wall -Wno-multichar
+
+ # HOWL
+ ifeq ($(HOWL_ENABLE),1)
+- HOWLDIRS := $(sort $(wildcard /usr/local/include/howl-*) )
+- HOWLRECENT := $(word $(words $(HOWLDIRS)),$(HOWLDIRS) )
+- INCPATH := $(INCPATH) -I$(HOWLRECENT)
++ INCPATH := $(INCPATH) -I${PREFIX}/include/howl
+ LIBS := $(LIBS) -lpthread -lhowl
+ CFLAGS := $(CFLAGS) -DHOWL_ENABLE
+ ifneq ($(shell $(CC) -E -dM - < /dev/null | grep __APPLE__),)
+@@ -70,8 +68,6 @@
+ rm $(OBJS) $(TARGET)
+
+ install: $(DEPS) $(TARGET)
+- cd libhttpd && $(MAKE) install
+- cd daaplib/src && $(MAKE) install
+ cp $(TARGET) $(DEPLOY)/bin
+ chmod a+rx $(DEPLOY)/bin/$(TARGET)
+ cp $(TARGET).8 $(DEPLOY)/man/man8
diff --git a/audio/daapd/patches/patch-ab b/audio/daapd/patches/patch-ab
new file mode 100644
index 00000000000..a1cf245bea9
--- /dev/null
+++ b/audio/daapd/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/06/05 19:07:51 nathanw Exp $
+
+--- daaplib/src/makefile.orig 2004-04-13 19:35:14.000000000 -0400
++++ daaplib/src/makefile 2004-06-04 13:58:11.000000000 -0400
+@@ -8,8 +8,8 @@
+
+ LIBS =
+ LIBPATH =
+-LIBDEPLOY = /usr/local/lib
+-INCDEPLOY = /usr/local/include
++LIBDEPLOY = ${PREFIX}/lib
++INCDEPLOY = ${PREFIX}/include
+ INCPATH = ../include
+ CFLAGS = -Wall -Wno-multichar
+
diff --git a/audio/daapd/patches/patch-ac b/audio/daapd/patches/patch-ac
new file mode 100644
index 00000000000..604b44d8722
--- /dev/null
+++ b/audio/daapd/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/06/05 19:07:51 nathanw Exp $
+
+--- libhttpd/Site.mm.in.orig 2004-06-04 14:51:42.000000000 -0400
++++ libhttpd/Site.mm.in 2004-06-04 14:52:05.000000000 -0400
+@@ -37,5 +37,5 @@
+ # Any other CFlags required
+ EXTRA_CFLAGS=
+
+-CFLAGS= -g -I$(TOP)/ -I/usr/local/include $(EXTRA_CFLAGS) -D$(OS_TYPE)
+-LDLIBS= -L/usr/local/lib -L$(TOP)/lib @LIBS@ $(EXTRA_LIBS)
++CFLAGS= -g -I$(TOP)/ $(EXTRA_CFLAGS) -D$(OS_TYPE)
++LDLIBS= -L$(TOP)/lib @LIBS@ $(EXTRA_LIBS)