diff options
author | krion <krion@FreeBSD.org> | 2004-07-13 14:28:28 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-07-13 14:28:28 +0800 |
commit | 17fd956cb15659960a3d5a05392cfbe1a7b913b6 (patch) | |
tree | 0b4e39a64388291a1ac67047bff44333ab3bac65 /editors | |
parent | d53a914e173c3b16d0d9c315643ec603055ea781 (diff) | |
download | freebsd-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')
-rw-r--r-- | editors/2bsd-vi/Makefile | 3 | ||||
-rw-r--r-- | editors/2bsd-vi/files/patch-mapalloc.c | 17 | ||||
-rw-r--r-- | editors/2bsd-vi/files/stable-Makefile.patch | 15 |
3 files changed, 34 insertions, 1 deletions
diff --git a/editors/2bsd-vi/Makefile b/editors/2bsd-vi/Makefile index 6a888d7bad28..bd1ef39da03c 100644 --- a/editors/2bsd-vi/Makefile +++ b/editors/2bsd-vi/Makefile @@ -7,6 +7,7 @@ PORTNAME= vi PORTVERSION= 040605 +PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ex-vi/ @@ -22,7 +23,7 @@ MLINKS= ex.1 edit.1 vi.1 vedit.1 vi.1 view.1 .include <bsd.port.pre.mk> .if ${OSVERSION} < 500000 -BROKEN= Requires FreeBSD-5.0 or newer +EXTRA_PATCHES+= ${FILESDIR}/stable-Makefile.patch .endif .include <bsd.port.post.mk> 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. |