summaryrefslogtreecommitdiff
path: root/user/clisp/no-page.h.patch
diff options
context:
space:
mode:
authorLee Starnes <lee@canned-death.us>2020-04-18 05:41:59 +0000
committerLee Starnes <lee@canned-death.us>2020-04-18 09:49:20 +0000
commite2de959186282f7808a01d4249933f9a89db0096 (patch)
tree998d2f45fae084de1e0df27af52266ef2f9a309e /user/clisp/no-page.h.patch
parenteb9884ddc8c49fe36411ebdb178eec1033accd3f (diff)
downloadpackages-e2de959186282f7808a01d4249933f9a89db0096.tar.gz
packages-e2de959186282f7808a01d4249933f9a89db0096.tar.bz2
packages-e2de959186282f7808a01d4249933f9a89db0096.tar.xz
packages-e2de959186282f7808a01d4249933f9a89db0096.zip
user/clisp: import/adapt from Alpine
Diffstat (limited to 'user/clisp/no-page.h.patch')
-rw-r--r--user/clisp/no-page.h.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/clisp/no-page.h.patch b/user/clisp/no-page.h.patch
new file mode 100644
index 000000000..aafb98a31
--- /dev/null
+++ b/user/clisp/no-page.h.patch
@@ -0,0 +1,12 @@
+--- a/src/unix.d
++++ b/src/unix.d
+@@ -135,9 +135,6 @@
+ #ifdef UNIX_AUX
+ #include <sys/mmu.h> /* for SHMLBA */
+ #endif
+- #if defined(UNIX_LINUX) && !defined(UNIX_GNU)
+- #include <asm/page.h> /* for SHMLBA on Linux 2.0 */
+- #endif
+ /* <sys/shm.h> declares shmget(), shmat(), shmdt(), shmctl() */
+ #endif
+ /* used by SPVW, STREAM */