p5-Date-PCalc broken on CURRENT/clang [patch attached]

Patrick Ernst patrick.ernst at maxxbone.com
Tue Jun 18 10:50:33 UTC 2013


Port Version: 6.1
Patch:
-- work/Date-Pcalc-6.1/ToolBox.h	2013-06-18 10:47:50.800173313 +0000
+++ ToolBox.h	2013-06-18 10:47:41.193174129 +0000
@@ -93,7 +93,15 @@
     #elif PERL_DARWIN
         #define boolean bool
     #else
-        typedef enum { false = FALSE, true = TRUE } boolean;
+	#ifndef true
+        #ifndef false
+        typedef enum { false = 0, true = 1 } boolean;
+	#else
+        typedef int boolean;
+        #endif
+        #else
+        typedef int boolean;
+        #endif
     #endif
 #endif

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4897 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-perl/attachments/20130618/9e1054fb/attachment.bin>


More information about the freebsd-perl mailing list