[118487] trunk/dports/lang/perl5.16/files/patch-handy.h.stdbool.diff

mojca at macports.org mojca at macports.org
Thu Apr 3 02:10:05 PDT 2014


Revision: 118487
          https://trac.macports.org/changeset/118487
Author:   mojca at macports.org
Date:     2014-04-03 02:10:05 -0700 (Thu, 03 Apr 2014)
Log Message:
-----------
perl5.16: avoid fuzz while patching

Modified Paths:
--------------
    trunk/dports/lang/perl5.16/files/patch-handy.h.stdbool.diff

Modified: trunk/dports/lang/perl5.16/files/patch-handy.h.stdbool.diff
===================================================================
--- trunk/dports/lang/perl5.16/files/patch-handy.h.stdbool.diff	2014-04-03 08:58:29 UTC (rev 118486)
+++ trunk/dports/lang/perl5.16/files/patch-handy.h.stdbool.diff	2014-04-03 09:10:05 UTC (rev 118487)
@@ -1,10 +1,6 @@
---- handy.h.orig	2011-01-09 12:20:55.000000000 -0800
-+++ handy.h	2011-05-31 18:49:16.000000000 -0700
-@@ -73,47 +73,14 @@
- #ifdef I_STDBOOL
- #  include <stdbool.h>
- #  ifndef HAS_BOOL
- #    define HAS_BOOL 1
+--- handy.h.orig
++++ handy.h
+@@ -77,41 +77,8 @@ Null SV pointer. (No longer available when C<PERL_CORE> is defined.)
  #  endif
  #endif
  
@@ -45,8 +41,6 @@
 -#endif
 +#define HAS_BOOL 1
 +#include <stdbool.h>
-
+ 
  /* a simple (bool) cast may not do the right thing: if bool is defined
   * as char for example, then the cast from int is implementation-defined
-  * (bool)!!(cbool) in a ternary triggers a bug in xlc on AIX
-  */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140403/8bb24d2c/attachment.html>


More information about the macports-changes mailing list