aboutsummaryrefslogtreecommitdiffstats
path: root/testing/perl-sys-cpu/0001-musl-compat.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-06-12 16:50:55 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-06-12 17:43:06 +0200
commit7feadd908280effbe37152d7f5ecd7a0b59d030b (patch)
tree2c752ac2bf09e75a8d264290d7f79aca13971d9b /testing/perl-sys-cpu/0001-musl-compat.patch
parentfb922ad0b0559fad3d45bbb801e27f1e66fbdd29 (diff)
downloadaports-7feadd908280effbe37152d7f5ecd7a0b59d030b.tar.bz2
aports-7feadd908280effbe37152d7f5ecd7a0b59d030b.tar.xz
testing/perl-sys-cpu: new abuild
http://search.cpan.org/dist/Sys-CPU/ Perl extension for getting CPU information
Diffstat (limited to 'testing/perl-sys-cpu/0001-musl-compat.patch')
-rw-r--r--testing/perl-sys-cpu/0001-musl-compat.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/perl-sys-cpu/0001-musl-compat.patch b/testing/perl-sys-cpu/0001-musl-compat.patch
new file mode 100644
index 0000000000..0559551a97
--- /dev/null
+++ b/testing/perl-sys-cpu/0001-musl-compat.patch
@@ -0,0 +1,10 @@
+--- a/CPU.xs
++++ b/CPU.xs
+@@ -24,7 +24,6 @@
+ #include <winreg.h>
+ #else /* other (try unix) */
+ #include <unistd.h>
+- #include <sys/unistd.h>
+ #endif
+ #if defined(__sun) || defined(__sun__)
+ #include <sys/processor.h>