$NetBSD: patch-mozilla_media_mtransport_third__party_nICEr_nicer.gyp,v 1.1 2014/07/27 05:36:07 ryoon Exp $ --- mozilla/media/mtransport/third_party/nICEr/nicer.gyp.orig 2013-10-23 22:09:11.000000000 +0000 +++ mozilla/media/mtransport/third_party/nICEr/nicer.gyp @@ -134,8 +134,19 @@ ], 'conditions' : [ - ## Mac + ## Mac and BSDs [ 'OS == "mac"', { + 'defines' : [ + 'DARWIN', + 'HAVE_XLOCALE', + ], + }], + [ 'os_bsd == 1', { + 'defines' : [ + 'BSD', + ], + }], + [ 'OS == "mac" or os_bsd == 1', { 'cflags_mozilla': [ '-Wall', '-Wno-parentheses', @@ -143,7 +154,6 @@ '-Wmissing-prototypes', ], 'defines' : [ - 'DARWIN', 'HAVE_LIBM=1', 'HAVE_STRDUP=1', 'HAVE_STRLCPY=1',