diff options
author | johans <johans@FreeBSD.org> | 2015-04-02 13:22:03 +0800 |
---|---|---|
committer | johans <johans@FreeBSD.org> | 2015-04-02 13:22:03 +0800 |
commit | 6405f8a7f94f19e48404dc34cb0a1ed5ce80950a (patch) | |
tree | a1c0f3a59254f11c2545aa7c5985a48ce87b40dc /lang | |
parent | 12349703ed4192895c0fb4f1d60648aef979a895 (diff) | |
download | freebsd-ports-gnome-6405f8a7f94f19e48404dc34cb0a1ed5ce80950a.tar.gz freebsd-ports-gnome-6405f8a7f94f19e48404dc34cb0a1ed5ce80950a.tar.zst freebsd-ports-gnome-6405f8a7f94f19e48404dc34cb0a1ed5ce80950a.zip |
Add patch to fix build on i386 with clang
Diffstat (limited to 'lang')
-rw-r--r-- | lang/afnix/files/patch-src_lib_plt_acf_ccnf.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/afnix/files/patch-src_lib_plt_acf_ccnf.cpp b/lang/afnix/files/patch-src_lib_plt_acf_ccnf.cpp new file mode 100644 index 000000000000..af97359a8033 --- /dev/null +++ b/lang/afnix/files/patch-src_lib_plt_acf_ccnf.cpp @@ -0,0 +1,11 @@ +--- src/lib/plt/acf/ccnf.cpp.orig 2015-01-03 14:34:32.000000000 +0100 ++++ src/lib/plt/acf/ccnf.cpp 2015-03-31 14:56:16.000000000 +0200 +@@ -419,8 +419,6 @@ int main (int, char**) { + fprintf (stdout, " // pointer size type\n"); + if (platid == AFNIX_PLATFORM_DARWIN) + fprintf (stdout, " typedef unsigned long int t_size;\n"); +- else if (AFNIX_FORCE_LONG == true) +- fprintf (stdout, " typedef unsigned long t_size;\n"); + else if (sizeof (void*) == 8 ) + fprintf (stdout, " typedef unsigned long t_size;\n"); + else |