diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-17 11:40:31 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-11-17 11:40:31 +0000 |
commit | 3b2b3411ffff81218170d4e8fd0d5b2a989bb8a5 (patch) | |
tree | e6eba740d6f17f737fdf0950e47e6aeaa1dc0b03 /editors | |
parent | Remove ja-mhonarc. (diff) |
Unbreak editor/zed
Noticed by: bento
Diffstat (limited to 'editors')
-rw-r--r-- | editors/zed/Makefile | 8 | ||||
-rw-r--r-- | editors/zed/files/patch-aa | 19 | ||||
-rw-r--r-- | editors/zed/files/patch-zed.h | 13 |
3 files changed, 30 insertions, 10 deletions
diff --git a/editors/zed/Makefile b/editors/zed/Makefile index 6e4ffa1ab8ac..4f40b6056601 100644 --- a/editors/zed/Makefile +++ b/editors/zed/Makefile @@ -12,13 +12,7 @@ MASTER_SITES= http://zed.c3po.it/ MAINTAINER= exile@chamber.ee -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500035 -BROKEN= "Does not compile on 5.0" -.endif - post-install: @${STRIP_CMD} ${PREFIX}/bin/zed -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/editors/zed/files/patch-aa b/editors/zed/files/patch-aa index 1ab881b2d03b..5c6d2093df39 100644 --- a/editors/zed/files/patch-aa +++ b/editors/zed/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile Tue Jun 4 15:01:04 2002 -+++ Makefile Tue Jun 4 16:26:14 2002 +--- Makefile.orig Wed Apr 5 19:49:16 2000 ++++ Makefile Sun Nov 17 22:41:13 2002 @@ -5,7 +5,7 @@ PREFIX=/usr/local @@ -9,7 +9,7 @@ # i486 Linux #CFLAGS=-pipe -Wall -fomit-frame-pointer -m486 -O2 -@@ -16,7 +16,7 @@ +@@ -16,18 +16,18 @@ #CFLAGS=-pipe -Wall -mpa-risc-1-1 -O2 # RS6000 AIX @@ -18,6 +18,19 @@ # Sun #ILIBS=-lm + #IXLIBS=-lm + #CFLAGS=-pipe -Wall -O2 -msupersparc + +-COMPILER=gcc ++COMPILER=${CXX} + # someone needs this: + #COMPILER=g++ + +-LINKER=gcc ++LINKER=${CXX} + + ############################################### + @@ -45,7 +45,7 @@ ############################################### diff --git a/editors/zed/files/patch-zed.h b/editors/zed/files/patch-zed.h new file mode 100644 index 000000000000..cd9547537eb5 --- /dev/null +++ b/editors/zed/files/patch-zed.h @@ -0,0 +1,13 @@ +--- zed.h.orig Sun Nov 17 22:35:46 2002 ++++ zed.h Sun Nov 17 22:35:09 2002 +@@ -123,8 +123,8 @@ + int lung; + char dati[0]; // puntatore ai dati + +- friend editor; // solo pero' all'interno di ZED.H +- friend list; ++ friend class editor; // solo pero' all'interno di ZED.H ++ friend class list; + }; + + protected: |