freebsd-ports/www/libxul19/files/patch-bug579689
Florian Smeets d39d92427c - 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>
2013-02-19 23:53:07 +00:00

66 lines
2.3 KiB
Text

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