aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_usrsctp_usrsctp.gyp
blob: 480846c5dc7675d608e0558efacd0917f90ff991 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- third_party/usrsctp/usrsctp.gyp.orig	2016-05-31 16:52:03.000000000 -0400
+++ third_party/usrsctp/usrsctp.gyp	2016-06-05 17:25:20.996841000 -0400
@@ -111,6 +111,14 @@
           'cflags!': [ '-Werror', '-Wall' ],
           'cflags': [ '-w' ],
         }],
+        ['OS=="freebsd"', {
+          'defines': [
+            'HAVE_SCONN_LEN',
+            '__Userspace_os_FreeBSD',
+          ],
+          'cflags!': [ '-Werror', '-Wall' ],
+          'cflags': [ '-U__FreeBSD__', '-w' ],
+        }],
         ['OS=="mac" or OS=="ios"', {
           'defines': [
             'HAVE_SA_LEN',