summaryrefslogtreecommitdiff
path: root/experimental/clisp/no-page.h.patch
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2022-04-22 21:55:07 +0000
committerZach van Rijn <me@zv.io>2022-10-21 18:33:58 -0500
commit5fad46bfe03136c0d0ed60a61b05c07f9faa876e (patch)
tree792675d590c4834e9065ea81d7f54b6709dcbcc7 /experimental/clisp/no-page.h.patch
parent9b9026796e3eb5fb06b291607e90a5c273a249f1 (diff)
downloadpackages-5fad46bfe03136c0d0ed60a61b05c07f9faa876e.tar.gz
packages-5fad46bfe03136c0d0ed60a61b05c07f9faa876e.tar.bz2
packages-5fad46bfe03136c0d0ed60a61b05c07f9faa876e.tar.xz
packages-5fad46bfe03136c0d0ed60a61b05c07f9faa876e.zip
user/clisp: move to 'experimental/' (no rdeps in 'user/'). see #561.
Diffstat (limited to 'experimental/clisp/no-page.h.patch')
-rw-r--r--experimental/clisp/no-page.h.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/experimental/clisp/no-page.h.patch b/experimental/clisp/no-page.h.patch
new file mode 100644
index 000000000..aafb98a31
--- /dev/null
+++ b/experimental/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 */