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-06-12 23:51:35 +0000
commit1b36b648ca0b9dca632f8afa2840232b3e0238fe (patch)
tree468a2bce305fa1fd0f28236d4d26a35e2994b405 /experimental/clisp/no-page.h.patch
parenta3ada2cb4d5145654e975a7738cabc2c9f7acec4 (diff)
downloadpackages-1b36b648ca0b9dca632f8afa2840232b3e0238fe.tar.gz
packages-1b36b648ca0b9dca632f8afa2840232b3e0238fe.tar.bz2
packages-1b36b648ca0b9dca632f8afa2840232b3e0238fe.tar.xz
packages-1b36b648ca0b9dca632f8afa2840232b3e0238fe.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 */