diff options
author | joerg <joerg@pkgsrc.org> | 2013-10-20 17:47:49 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2013-10-20 17:47:49 +0000 |
commit | e02da102a3ead5614415c096e1f78914d1df34ea (patch) | |
tree | 22909c7a57e438ee5d6bd6890d015066c463639b | |
parent | a7708db33347bc9ab3c68700d16a8ecf10286d17 (diff) | |
download | pkgsrc-e02da102a3ead5614415c096e1f78914d1df34ea.tar.gz |
Always use -fno-exceptions / -fexceptions.
-rw-r--r-- | www/nvu/distinfo | 4 | ||||
-rw-r--r-- | www/nvu/patches/patch-configure | 32 |
2 files changed, 35 insertions, 1 deletions
diff --git a/www/nvu/distinfo b/www/nvu/distinfo index 6267ea59673..5b98ebaf62a 100644 --- a/www/nvu/distinfo +++ b/www/nvu/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.7 2013/10/15 14:49:35 joerg Exp $ +$NetBSD: distinfo,v 1.8 2013/10/20 17:47:49 joerg Exp $ SHA1 (nvu-1.0-sources.tar.bz2) = 438b1633cb820bbede503ef2da90f46d4e96bee8 RMD160 (nvu-1.0-sources.tar.bz2) = 6d6fdb747d79e8602a4757e8eff8bbb21db6df8c @@ -13,6 +13,8 @@ SHA1 (patch-ao) = eb220c4c30838216e709179cf953b9cbb9696421 SHA1 (patch-ap) = 35a193158e43d57a1c31270214140afbb3cebb56 SHA1 (patch-composer_base_dialogs_EdImageProps.js) = da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA1 (patch-composer_base_dialogs_EdLinkProps.js) = da39a3ee5e6b4b0d3255bfef95601890afd80709 +SHA1 (patch-configure) = e3192e486d2b85827485a4211953ca3229db7d11 +SHA1 (patch-configure.in) = da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA1 (patch-editor_libeditor_html_nsHTMLEditRules.cpp) = da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA1 (patch-layout_xul_base_src_nsStackFrame.h) = 56eda32dd08e90661b5244f64bd078ba55bee61c SHA1 (patch-netwerk_protocol_http_src_nshttpconnectionmgr_cpp) = 5b14d68932a3dd2be9e57f130e825150de8cc8dd diff --git a/www/nvu/patches/patch-configure b/www/nvu/patches/patch-configure new file mode 100644 index 00000000000..49f42959f2d --- /dev/null +++ b/www/nvu/patches/patch-configure @@ -0,0 +1,32 @@ +$NetBSD: patch-configure,v 1.1 2013/10/20 17:47:49 joerg Exp $ + +--- configure.orig 2013-10-18 12:43:25.000000000 +0000 ++++ configure +@@ -4825,7 +4825,7 @@ if test "$GNU_CC"; then + _MOZ_RTTI_FLAGS_ON=${_COMPILER_PREFIX}-frtti + _MOZ_RTTI_FLAGS_OFF=${_COMPILER_PREFIX}-fno-rtti + _MOZ_EXCEPTIONS_FLAGS_ON='-fhandle-exceptions' +- _MOZ_EXCEPTIONS_FLAGS_OFF='-fno-handle-exceptions' ++ _MOZ_EXCEPTIONS_FLAGS_OFF='-fno-exceptions' + + # Turn on GNU specific features + # -Wall - turn on all warnings +@@ -9813,17 +9813,7 @@ echo "configure:9812: checking for C++ e + if eval "test \"`echo '$''{'ac_cv_cxx_exceptions_flags'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else +- echo "int main() { return 0; }" | cat > conftest.C +- +- ${CXX-g++} ${CXXFLAGS} -c -fno-handle-exceptions conftest.C > conftest.out 2>&1 +- +- if egrep "warning.*renamed" conftest.out >/dev/null; then +- ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-exceptions +- else +- ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-handle-exceptions +- fi +- +- rm -f conftest* ++ ac_cv_cxx_exceptions_flags=${_COMPILER_PREFIX}-fno-exceptions + fi + + |