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

contrib: shout: drop obsolete bsd.patch

It was added to fix this FreeBSD 8 error:
sock.c:736: error: 'IPPROTO_IPV6' undeclared

The need for __BSD_VISIBLE was removed in:
https://github.com/freebsd/freebsd/commit/fcb67434842e8a1a8ba60a2607b55922d35887fb#diff-dab66d274da3dd4ba168b2ba7f3b4374

Which predates the last supported FreeBSD releases
parent f2661aac
--- libshout.orig/src/common/net/sock.c 2012-10-04 13:04:55.000000000 +0200
+++ libshout/src/common/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>
......@@ -20,7 +20,6 @@ $(TARBALLS)/libshout-$(SHOUT_VERSION).tar.gz:
# TODO: fix socket stuff on POSIX and Linux
libshout: libshout-$(SHOUT_VERSION).tar.gz .sum-shout
$(UNPACK)
$(APPLY) $(SRC)/shout/bsd.patch
$(APPLY) $(SRC)/shout/libshout-arpa.patch
$(APPLY) $(SRC)/shout/fix-xiph_openssl.patch
$(APPLY) $(SRC)/shout/shout-strings.patch
......
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