diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-29 16:02:02 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2014-10-29 16:38:44 +0000 |
| commit | 95489293ef40dfd46498b08f2dfb3b6fa1c288ec (patch) | |
| tree | 5a4391756bb5fbe4172b852add03e1086b74f64b /main/firefox/fix-netwerk.patch | |
| parent | ee754870689436f39cc3500b4d3af63435fb0eb3 (diff) | |
| download | aports-95489293ef40dfd46498b08f2dfb3b6fa1c288ec.tar.bz2 aports-95489293ef40dfd46498b08f2dfb3b6fa1c288ec.tar.xz | |
main/firefox: upgrade to 31.2.0 esr
dont build xulrunner separately
Diffstat (limited to 'main/firefox/fix-netwerk.patch')
| -rw-r--r-- | main/firefox/fix-netwerk.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/main/firefox/fix-netwerk.patch b/main/firefox/fix-netwerk.patch new file mode 100644 index 0000000000..a31b286229 --- /dev/null +++ b/main/firefox/fix-netwerk.patch @@ -0,0 +1,37 @@ +--- ./netwerk.orig/sctp/src/netinet/sctp_os_userspace.h ++++ ./netwerk/sctp/src/netinet/sctp_os_userspace.h +@@ -400,11 +400,8 @@ + }; + + #else /* !defined(Userspace_os_Windows) */ +-#include <sys/cdefs.h> /* needed? added from old __FreeBSD__ */ + #include <sys/socket.h> +-#if defined(__Userspace_os_DragonFly) || defined(__Userspace_os_FreeBSD) || defined(__Userspace_os_Linux) || defined(__Userspace_os_NetBSD) || defined(__Userspace_os_OpenBSD) || defined(ANDROID) + #include <pthread.h> +-#endif + typedef pthread_mutex_t userland_mutex_t; + typedef pthread_cond_t userland_cond_t; + typedef pthread_t userland_thread_t; +--- ./netwerk.orig/sctp/src/netinet/sctp_pcb.c ++++ ./netwerk/sctp/src/netinet/sctp_pcb.c +@@ -30,6 +30,9 @@ + * THE POSSIBILITY OF SUCH DAMAGE. + */ + ++#define _BSD_SOURCE /* for IPPORT_RESERVED */ ++#include <netdb.h> ++ + #ifdef __FreeBSD__ + #include <sys/cdefs.h> + __FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.c 258765 2013-11-30 12:51:19Z tuexen $"); +--- ./netwerk.orig/sctp/src/user_queue.h ++++ ./netwerk/sctp/src/user_queue.h +@@ -31,7 +31,7 @@ + #ifndef _USER_QUEUE_H_ + #define _USER_QUEUE_H_ + +-#if !defined (__Userspace_os_Windows) ++#if defined(__Userspace_os_FreeBSD) + #include <sys/cdefs.h> + #endif + /* |
