Commit ebea6779 authored by Rafaël Carré's avatar Rafaël Carré

contrib: fix libshout build on FreeBSD 8

parent bc985660
--- libshout.orig/src/net/sock.c 2012-10-04 13:04:55.000000000 +0200
+++ libshout/src/net/sock.c 2012-10-04 13:05:18.000000000 +0200
@@ -22,6 +22,10 @@
#include <config.h>
#endif
+#ifdef __FreeBSD__
+# define __BSD_VISIBLE 1
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
......@@ -19,6 +19,7 @@ $(TARBALLS)/libshout-$(SHOUT_VERSION).tar.gz:
libshout: libshout-$(SHOUT_VERSION).tar.gz .sum-shout
$(UNPACK)
$(APPLY) $(SRC)/shout/libshout-win32.patch
$(APPLY) $(SRC)/shout/bsd.patch
$(UPDATE_AUTOCONFIG)
$(MOVE)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment