mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
1616441cd1
Submitted by: Jan Beich Security: http://www.vuxml.org/freebsd/610de647-af8d-11e3-a25b-b4b52fce4ce8.html
14 lines
603 B
Plaintext
14 lines
603 B
Plaintext
# http://llvm.org/bugs/show_bug.cgi?id=19007
|
|
|
|
--- mozilla/xpcom/base/nscore.h~
|
|
+++ mozilla/xpcom/base/nscore.h
|
|
@@ -110,7 +110,7 @@
|
|
* NS_HIDDEN_(int) NS_FASTCALL func2(char *foo);
|
|
*/
|
|
|
|
-#if defined(__i386__) && defined(__GNUC__) && !defined(XP_OS2)
|
|
+#if defined(__i386__) && defined(__GNUC__) && !defined(XP_OS2) && !(defined(__clang__) && __clang_major__ == 3 && __clang_minor__ == 4 && __clang_patchlevel__ == 0)
|
|
#define NS_FASTCALL __attribute__ ((regparm (3), stdcall))
|
|
#define NS_CONSTRUCTOR_FASTCALL __attribute__ ((regparm (3), stdcall))
|
|
#elif defined(XP_WIN) && !defined(_WIN64)
|