aboutsummaryrefslogtreecommitdiff
path: root/editors/nvi/patches/nvi-04-confdefs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'editors/nvi/patches/nvi-04-confdefs.patch')
-rw-r--r--editors/nvi/patches/nvi-04-confdefs.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/editors/nvi/patches/nvi-04-confdefs.patch b/editors/nvi/patches/nvi-04-confdefs.patch
new file mode 100644
index 0000000..06b2aad
--- /dev/null
+++ b/editors/nvi/patches/nvi-04-confdefs.patch
@@ -0,0 +1,13 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04confdefs.dpatch by <hesso@pool.math.tu-berlin.de>
+##
+## DP: Help configure by decreeing that some headers are present.
+
+@DPATCH@
+diff -Naur nvi-1.81.6.orig/build/confdefs.h nvi-1.81.6/build/confdefs.h
+--- nvi-1.81.6.orig/build/confdefs.h 1970-01-01 01:00:00.000000000 +0100
++++ nvi-1.81.6/build/confdefs.h 2008-05-01 18:05:00.000000000 +0200
+@@ -0,0 +1,3 @@
++
++#define HAVE_SYS_MMAN_H 1
++#define HAVE_SYS_SELECT_H 1