aboutsummaryrefslogtreecommitdiffstats
path: root/testing/spl-grsec/pagesize.patch
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2014-09-21 18:08:17 +0200
committerCarlo Landmeter <clandmeter@gmail.com>2014-09-21 18:12:05 +0200
commitea9df32c7720f059b7665cd48c5a18c3e4daea1f (patch)
treeab305d8b9133bb1eb3cfed1e3090fa5bbb105ed6 /testing/spl-grsec/pagesize.patch
parent21bc92831375194c99f36ffa932d1423d9980324 (diff)
downloadaports-ea9df32c7720f059b7665cd48c5a18c3e4daea1f.tar.bz2
aports-ea9df32c7720f059b7665cd48c5a18c3e4daea1f.tar.xz
testing/spl-grsec: simplified musl compat patch
Diffstat (limited to 'testing/spl-grsec/pagesize.patch')
-rw-r--r--testing/spl-grsec/pagesize.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/spl-grsec/pagesize.patch b/testing/spl-grsec/pagesize.patch
new file mode 100644
index 0000000000..825ec31f40
--- /dev/null
+++ b/testing/spl-grsec/pagesize.patch
@@ -0,0 +1,13 @@
+diff -urw src/spl-master/include/sys/sysmacros.h spl-master/include/sys/sysmacros.h
+--- src/spl-master/include/sys/sysmacros.h 2014-06-06 17:04:01.416666671 +0000
++++ spl-master/include/sys/sysmacros.h 2014-06-06 17:02:23.586666828 +0000
+@@ -104,7 +104,9 @@
+
+ /* Missing macros
+ */
++#ifndef PAGESIZE
+ #define PAGESIZE PAGE_SIZE
++#endif
+
+ /* from Solaris sys/byteorder.h */
+ #define BSWAP_8(x) ((x) & 0xff)