[145240] trunk/dports/perl/p5-io-aio
devans at macports.org
devans at macports.org
Fri Jan 29 06:46:48 PST 2016
Revision: 145240
https://trac.macports.org/changeset/145240
Author: devans at macports.org
Date: 2016-01-29 06:46:47 -0800 (Fri, 29 Jan 2016)
Log Message:
-----------
p5-io-aio: update to version 4.33, patch to fix build failure due to undefined MAP_GROWSDOWN, MAP_32BIT, MAP_STACK.
Modified Paths:
--------------
trunk/dports/perl/p5-io-aio/Portfile
Added Paths:
-----------
trunk/dports/perl/p5-io-aio/files/
trunk/dports/perl/p5-io-aio/files/patch-AIO.xs.diff
Modified: trunk/dports/perl/p5-io-aio/Portfile
===================================================================
--- trunk/dports/perl/p5-io-aio/Portfile 2016-01-29 14:40:55 UTC (rev 145239)
+++ trunk/dports/perl/p5-io-aio/Portfile 2016-01-29 14:46:47 UTC (rev 145240)
@@ -6,7 +6,7 @@
epoch 1
perl5.branches 5.22
-perl5.setup IO-AIO 4.32 ../by-authors/id/M/ML/MLEHMANN
+perl5.setup IO-AIO 4.33 ../by-authors/id/M/ML/MLEHMANN
license {Artistic-1 GPL} BSD
platforms darwin
maintainers nomaintainer
@@ -14,10 +14,15 @@
description Asynchronous Input/Output
long_description ${description}
-checksums rmd160 d3490145a4ec9688fa93d5acbe42579c911554e4 \
- sha256 1cee61f494a6390c43e5768818d80e3aee65151df4a1fdda16ca52e6260e2f75
+checksums rmd160 f402e573017564b43a6ef7175cf3d7e385698dca \
+ sha256 7590320a1c47bcf0b7daf37a756c61501de71f001e50cf74338610d418f66bb0
if {${perl5.major} != ""} {
+ depends_build-append \
+ port:p${perl5.major}-canary-stability
+
depends_lib-append \
port:p${perl5.major}-common-sense
+
+ patchfiles patch-AIO.xs.diff
}
Added: trunk/dports/perl/p5-io-aio/files/patch-AIO.xs.diff
===================================================================
--- trunk/dports/perl/p5-io-aio/files/patch-AIO.xs.diff (rev 0)
+++ trunk/dports/perl/p5-io-aio/files/patch-AIO.xs.diff 2016-01-29 14:46:47 UTC (rev 145240)
@@ -0,0 +1,21 @@
+--- AIO.xs.orig 2016-01-29 05:55:48.000000000 -0800
++++ AIO.xs 2016-01-29 06:05:11.000000000 -0800
+@@ -21,6 +21,18 @@
+ # include <sys/mman.h>
+ #endif
+
++#ifndef MAP_GROWSDOWN
++#define MAP_GROWSDOWN 0
++#endif
++
++#ifndef MAP_32BIT
++#define MAP_32BIT 0
++#endif
++
++#ifndef MAP_STACK
++#define MAP_STACK 0
++#endif
++
+ /* the incompetent fool that created musl keeps __linux__, refuses
+ * to implement any linux standard apis, and also has no way to test
+ * for his broken iplementation. on't complain if this fails for you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160129/347d9847/attachment.html>
More information about the macports-changes
mailing list