diff options
author | ryoon <ryoon@pkgsrc.org> | 2015-02-15 02:08:29 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2015-02-15 02:08:29 +0000 |
commit | c2e7d9cb16ba2f1145245a059c0bc9250601ba33 (patch) | |
tree | 33490597ef0bb9382dc20cafff121ad858ca44a2 /www/firefox/patches | |
parent | a0139b26e3202604347d2269b23f6afcad4c4a46 (diff) | |
download | pkgsrc-c2e7d9cb16ba2f1145245a059c0bc9250601ba33.tar.gz |
Fix build under netbsd-6.
* Remove -Werror=char-subscripts from js/src
Diffstat (limited to 'www/firefox/patches')
-rw-r--r-- | www/firefox/patches/patch-as | 26 |
1 files changed, 21 insertions, 5 deletions
diff --git a/www/firefox/patches/patch-as b/www/firefox/patches/patch-as index 1fb6aed1a40..7288a565054 100644 --- a/www/firefox/patches/patch-as +++ b/www/firefox/patches/patch-as @@ -1,10 +1,26 @@ -$NetBSD: patch-as,v 1.14 2015/01/16 22:42:09 ryoon Exp $ +$NetBSD: patch-as,v 1.15 2015/02/15 02:08:29 ryoon Exp $ Treat DragonFly like FreeBSD. ---- js/src/configure.in.orig 2015-01-09 04:38:17.000000000 +0000 +--- js/src/configure.in.orig 2015-01-23 05:59:58.000000000 +0000 +++ js/src/configure.in -@@ -2180,8 +2180,7 @@ AC_LANG_CPLUSPLUS +@@ -1200,7 +1200,6 @@ if test "$GNU_CC"; then + + # Treat some warnings as errors: + _WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -Werror=address" +- _WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -Werror=char-subscripts" + _WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -Werror=comment" + _WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -Werror=empty-body" + _WARNINGS_CFLAGS="${_WARNINGS_CFLAGS} -Werror=endif-labels" +@@ -1299,7 +1298,6 @@ if test "$GNU_CXX"; then + _WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} -Wtype-limits" + + # Treat some warnings as errors: +- _WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} -Werror=char-subscripts" + _WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} -Werror=comment" + _WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} -Werror=empty-body" + _WARNINGS_CXXFLAGS="${_WARNINGS_CXXFLAGS} -Werror=endif-labels" +@@ -2180,8 +2178,7 @@ AC_LANG_CPLUSPLUS MOZ_CXX11 @@ -14,7 +30,7 @@ Treat DragonFly like FreeBSD. dnl =============================================================== if test "$GNU_CC" -a "$OS_TARGET" != WINNT; then AC_DEFINE(HAVE_VISIBILITY_HIDDEN_ATTRIBUTE) -@@ -3095,7 +3094,7 @@ if test "$MOZ_MEMORY"; then +@@ -3095,7 +3092,7 @@ if test "$MOZ_MEMORY"; then *-darwin*) AC_DEFINE(MOZ_MEMORY_DARWIN) ;; @@ -23,7 +39,7 @@ Treat DragonFly like FreeBSD. AC_DEFINE(MOZ_MEMORY_BSD) ;; *-android*|*-linuxandroid*) -@@ -3989,6 +3988,16 @@ MOZ_SUBCONFIGURE_ICU() +@@ -3989,6 +3986,16 @@ MOZ_SUBCONFIGURE_ICU() dnl ======================================================== dnl JavaScript shell dnl ======================================================== |