summaryrefslogtreecommitdiff
path: root/www/libxul19/files/patch-bug579689
diff options
context:
space:
mode:
authorFlorian Smeets <flo@FreeBSD.org>2013-02-19 23:53:07 +0000
committerFlorian Smeets <flo@FreeBSD.org>2013-02-19 23:53:07 +0000
commitd39d92427cf19e39875ec26ae210fabeb83cbef7 (patch)
tree66e4b5fe2e01745bb6976e49907691f64a0c9d3b /www/libxul19/files/patch-bug579689
parent- Support using OpenSSL from ports (diff)
- update firefox to 19.0
- update firefox-esr, thunderbird, linux-firefox, linux-thunderbird to 17.0.3 - update linux-seamonkey to 2.16 - update nspr to 4.9.5 - update nss to 3.14.3 - add DuckDuckGo search plugin to firefox [1] - mark kompozer deprecated - clang fixes for www/libxul19 [2] Security: http://www.vuxml.org/freebsd/e3f0374a-7ad6-11e2-84cd-d43d7e0c7c02.html Submitted by: DuckDuckGo [1], dim [2] In collaboration with: Jan Beich <jbeich@tormail.org>
Notes
Notes: svn path=/head/; revision=312608
Diffstat (limited to 'www/libxul19/files/patch-bug579689')
-rw-r--r--www/libxul19/files/patch-bug57968966
1 files changed, 66 insertions, 0 deletions
diff --git a/www/libxul19/files/patch-bug579689 b/www/libxul19/files/patch-bug579689
new file mode 100644
index 000000000000..1e8ce2b06557
--- /dev/null
+++ b/www/libxul19/files/patch-bug579689
@@ -0,0 +1,66 @@
+changeset: 47875:d9d236a8d274
+user: Eli Friedman <sharparrow1@yahoo.com>
+date: Sun Jul 18 11:19:48 2010 +0200
+summary: Bug 579689 - Fix cases of return without expression in a function returning "int". r=khuey
+
+diff -r d9555a5522cf -r d9d236a8d274 build/autoconf/moznbytetype.m4
+--- build/autoconf/moznbytetype.m4 Sun Jul 18 11:17:14 2010 +0200
++++ build/autoconf/moznbytetype.m4 Sun Jul 18 11:19:48 2010 +0200
+@@ -60,7 +60,7 @@
+ AC_TRY_COMPILE([],
+ [
+ int a[sizeof ($type) == $2 ? 1 : -1];
+- return;
++ return 0;
+ ],
+ [moz_cv_n_byte_type_$1=$type; break], [])
+ done
+@@ -91,7 +91,7 @@
+ AC_TRY_COMPILE([],
+ [
+ int a[sizeof ($2) == $size ? 1 : -1];
+- return;
++ return 0;
+ ],
+ [moz_cv_size_of_$1=$size; break], [])
+ done
+@@ -124,7 +124,7 @@
+ ],
+ [
+ int a[offsetof(struct aligner, a) == $align ? 1 : -1];
+- return;
++ return 0;
+ ],
+ [moz_cv_align_of_$1=$align; break], [])
+ done
+diff -r d9555a5522cf -r d9d236a8d274 js/src/build/autoconf/moznbytetype.m4
+--- js/src/build/autoconf/moznbytetype.m4 Sun Jul 18 11:17:14 2010 +0200
++++ js/src/build/autoconf/moznbytetype.m4 Sun Jul 18 11:19:48 2010 +0200
+@@ -60,7 +60,7 @@
+ AC_TRY_COMPILE([],
+ [
+ int a[sizeof ($type) == $2 ? 1 : -1];
+- return;
++ return 0;
+ ],
+ [moz_cv_n_byte_type_$1=$type; break], [])
+ done
+@@ -91,7 +91,7 @@
+ AC_TRY_COMPILE([],
+ [
+ int a[sizeof ($2) == $size ? 1 : -1];
+- return;
++ return 0;
+ ],
+ [moz_cv_size_of_$1=$size; break], [])
+ done
+@@ -124,7 +124,7 @@
+ ],
+ [
+ int a[offsetof(struct aligner, a) == $align ? 1 : -1];
+- return;
++ return 0;
+ ],
+ [moz_cv_align_of_$1=$align; break], [])
+ done
+