svn commit: r382983 - head/lang/afnix/files

Johan van Selst johans at FreeBSD.org
Thu Apr 2 05:22:04 UTC 2015


Author: johans
Date: Thu Apr  2 05:22:03 2015
New Revision: 382983
URL: https://svnweb.freebsd.org/changeset/ports/382983

Log:
  Add patch to fix build on i386 with clang

Added:
  head/lang/afnix/files/patch-src_lib_plt_acf_ccnf.cpp   (contents, props changed)

Added: head/lang/afnix/files/patch-src_lib_plt_acf_ccnf.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/afnix/files/patch-src_lib_plt_acf_ccnf.cpp	Thu Apr  2 05:22:03 2015	(r382983)
@@ -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


More information about the svn-ports-all mailing list