diff options
author | deischen <deischen@FreeBSD.org> | 2004-08-16 06:08:35 +0800 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2004-08-16 06:08:35 +0800 |
commit | 117b7c315197251816082f1646462c320a654f54 (patch) | |
tree | 9d23066464020b3a89082189ba815b06708a20d0 /editors/nedit | |
parent | 7f148bbb39348f553571233b3d0f3d32c0a8a43d (diff) | |
download | freebsd-ports-gnome-117b7c315197251816082f1646462c320a654f54.tar.gz freebsd-ports-gnome-117b7c315197251816082f1646462c320a654f54.tar.zst freebsd-ports-gnome-117b7c315197251816082f1646462c320a654f54.zip |
Remove extra CFLAGS define to force building with buggy open-motif.
Add a check to the program that checks for buggy open-motif so that
version 2.2.3 is seen as non-buggy. This last check is already in
nedit sources in similar form.
Diffstat (limited to 'editors/nedit')
-rw-r--r-- | editors/nedit/Makefile | 1 | ||||
-rw-r--r-- | editors/nedit/files/patch-ae | 35 |
2 files changed, 21 insertions, 15 deletions
diff --git a/editors/nedit/Makefile b/editors/nedit/Makefile index e989df17f299..f087b0c91c42 100644 --- a/editors/nedit/Makefile +++ b/editors/nedit/Makefile @@ -25,7 +25,6 @@ USE_XPM= yes MAN1= nclient.1 nedit.1 ALL_TARGET= freebsd MAKE_ENV+= BINOWN=${BINOWN} BINGRP=${BINGRP} BINMODE=${BINMODE} -CFLAGS+= -DBUILD_BROKEN_NEDIT post-extract: ${CP} ${DISTDIR}/nedit.app-defaults ${WRKSRC}/NEdit.ad diff --git a/editors/nedit/files/patch-ae b/editors/nedit/files/patch-ae index 3b2f8a2e4c37..85c9a5d5222d 100644 --- a/editors/nedit/files/patch-ae +++ b/editors/nedit/files/patch-ae @@ -1,14 +1,21 @@ ---- util/check_lin_tif.c.orig Thu Nov 13 07:09:50 2003 -+++ util/check_lin_tif.c Sat Feb 7 14:57:33 2004 -@@ -164,9 +164,8 @@ - "risking instability and probable data loss. You are very brave!\n" - "Please do not report bugs to the NEdit developers unless you can\n" - "reproduce them with a known-good NEdit binary downloaded from:\n" -- "\thttp://www.nedit.org\n" -- "\nHIT ENTER TO CONTINUE\n", tif); -- fgets(buf, 2, stdin); -+ "\thttp://www.nedit.org\n", tif); -+ sleep(5); - exit(0); - #else - fprintf(stderr, +--- util/check_lin_tif.c.orig Thu Nov 13 02:09:50 2003 ++++ util/check_lin_tif.c Sun Aug 15 17:43:47 2004 +@@ -252,7 +252,7 @@ + + /* Check for the dreaded Open Motif 2.2.2 */ + if (force_bad || +- (XmVERSION == 2 && XmREVISION == 2 && XmUPDATE_LEVEL <= 3)) { ++ (XmVERSION == 2 && XmREVISION == 2 && XmUPDATE_LEVEL < 3)) { + fprintf(stderr, "ERROR: Bad Open Motif Version:\n\t%s\n", vs); + fprintf(stderr, + "\nThis version of Open Motif is known to be broken and is\n" +@@ -262,7 +262,8 @@ + "\thttp://www.motifdeveloper.com/tips/tip22.html\n" + "\thttp://www.motifdeveloper.com/tips/Motif22Review.pdf\n"); + finish(1, tif); +- } ++ } ++ exit(0); + } + #endif + |