aboutsummaryrefslogtreecommitdiffstats
path: root/editors/2bsd-vi/files
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-07-13 14:28:28 +0800
committerkrion <krion@FreeBSD.org>2004-07-13 14:28:28 +0800
commit17fd956cb15659960a3d5a05392cfbe1a7b913b6 (patch)
tree0b4e39a64388291a1ac67047bff44333ab3bac65 /editors/2bsd-vi/files
parentd53a914e173c3b16d0d9c315643ec603055ea781 (diff)
downloadfreebsd-ports-gnome-17fd956cb15659960a3d5a05392cfbe1a7b913b6.tar.gz
freebsd-ports-gnome-17fd956cb15659960a3d5a05392cfbe1a7b913b6.tar.zst
freebsd-ports-gnome-17fd956cb15659960a3d5a05392cfbe1a7b913b6.zip
Fix build on 4.x
PR: ports/68965 Submitted by: maintainer
Diffstat (limited to 'editors/2bsd-vi/files')
-rw-r--r--editors/2bsd-vi/files/patch-mapalloc.c17
-rw-r--r--editors/2bsd-vi/files/stable-Makefile.patch15
2 files changed, 32 insertions, 0 deletions
diff --git a/editors/2bsd-vi/files/patch-mapalloc.c b/editors/2bsd-vi/files/patch-mapalloc.c
new file mode 100644
index 000000000000..0d8513eb31af
--- /dev/null
+++ b/editors/2bsd-vi/files/patch-mapalloc.c
@@ -0,0 +1,17 @@
+--- /tmp/mapmalloc.c Mon Jul 12 16:28:16 2004
++++ mapmalloc.c Mon Jul 12 16:28:37 2004
+@@ -550,14 +550,6 @@
+ return NULL;
+ }
+
+-/*ARGSUSED*/
+-char *
+-valloc(size)
+-size_t size;
+-{
+- return NULL;
+-}
+-
+ char *
+ mallinfo()
+ {
diff --git a/editors/2bsd-vi/files/stable-Makefile.patch b/editors/2bsd-vi/files/stable-Makefile.patch
new file mode 100644
index 000000000000..f333e21c5829
--- /dev/null
+++ b/editors/2bsd-vi/files/stable-Makefile.patch
@@ -0,0 +1,15 @@
+--- /tmp/Makefile Mon Jul 12 16:26:36 2004
++++ Makefile Mon Jul 12 16:26:48 2004
+@@ -144,9 +144,9 @@
+ # advanced multibyte character support etc. which might not be present
+ # on your system.
+ #
+-REINC = -I./libuxre -DUXRE
+-RELIB = -L./libuxre -luxre
+-RETGT = uxre
++#REINC = -I./libuxre -DUXRE
++#RELIB = -L./libuxre -luxre
++#RETGT = uxre
+
+ #
+ # These settings should be correct for any modern Unix.