libopendaap: libopendaap-$(DAAP_VERSION).tar.bz2
$(EXTRACT_BZ2)
+ patch -p 0 < Patches/daap.patch
.daap: libopendaap
(cd $<; ./configure --prefix=$(PREFIX) CFLAGS="$(CFLAGS) -D_BSD_SOCKLEN_T_=int" && make install)
--- /dev/null
+--- http_client.c 2005-05-12 07:52:03.000000000 +0200
++++ http_client_2.c 2005-08-04 13:43:27.000000000 +0200
+@@ -35,6 +35,10 @@
+ # include <tcpd.h>
+ #endif
+
++#ifdef MAC_OS_X_VERSION_10_2
++# include <netinet/in.h>
++#endif
++
+ #ifdef SYSTEM_POSIX
+ # include <unistd.h>
+ # include <sys/types.h>