1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Add patch to fix build on i386 with clang

This commit is contained in:
Johan van Selst 2015-04-02 05:22:03 +00:00
parent 46bfd8246c
commit 5ee40bc598
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382983

View File

@ -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