[SVN-Commit] r949 - branches/experimental/mail/thunderbird/files

svn-freebsd-gecko at chruetertee.ch svn-freebsd-gecko at chruetertee.ch
Thu Aug 23 14:12:32 UTC 2012


Author: zeising
Date: Thu Aug 23 14:12:23 2012
New Revision: 949

Log:
Fix build with clang.

Added:
   branches/experimental/mail/thunderbird/files/patch-configure.in

Added: branches/experimental/mail/thunderbird/files/patch-configure.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/experimental/mail/thunderbird/files/patch-configure.in	Thu Aug 23 14:12:23 2012	(r949)
@@ -0,0 +1,49 @@
+--- configure.in.orig	2012-07-14 00:40:08.000000000 +0200
++++ configure.in	2012-08-18 18:16:06.000000000 +0200
+@@ -3101,6 +3118,8 @@
+ 
+ AC_SUBST(VISIBILITY_FLAGS)
+ 
++MOZ_COMPILER_OPTS
++
+ dnl Checks for header files.
+ dnl ========================================================
+ AC_HEADER_DIRENT
+@@ -4067,29 +4086,29 @@
+ 
+ AC_CACHE_CHECK(for __attribute__((always_inline)),
+                ac_cv_attribute_always_inline,
+-               [AC_TRY_COMPILE([],
+-                               [inline void f(void) __attribute__((always_inline));],
++               [AC_TRY_COMPILE([inline void f(void) __attribute__((always_inline));],
++                               [],
+                                ac_cv_attribute_always_inline=yes,
+                                ac_cv_attribute_always_inline=no)])
+ 
+ AC_CACHE_CHECK(for __attribute__((malloc)),
+                ac_cv_attribute_malloc,
+-               [AC_TRY_COMPILE([],
+-                               [void* f(int) __attribute__((malloc));],
++               [AC_TRY_COMPILE([void* f(int) __attribute__((malloc));],
++                               [],
+                                ac_cv_attribute_malloc=yes,
+                                ac_cv_attribute_malloc=no)])
+ 
+ AC_CACHE_CHECK(for __attribute__((warn_unused_result)),
+                ac_cv_attribute_warn_unused,
+-               [AC_TRY_COMPILE([],
+-                               [int f(void) __attribute__((warn_unused_result));],
++               [AC_TRY_COMPILE([int f(void) __attribute__((warn_unused_result));],
++                               [],
+                                ac_cv_attribute_warn_unused=yes,
+                                ac_cv_attribute_warn_unused=no)])
+ 
+ AC_CACHE_CHECK(for __attribute__((noreturn)),
+                ac_cv_attribute_noreturn,
+-               [AC_TRY_COMPILE([],
+-                               [void f(void) __attribute__((noreturn));],
++               [AC_TRY_COMPILE([void f(void) __attribute__((noreturn));],
++                               [],
+                                ac_cv_attribute_noreturn=yes,
+                                ac_cv_attribute_noreturn=no)])
+ 


More information about the freebsd-gecko mailing list