aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorshige <shige@FreeBSD.org>1999-02-28 16:10:07 +0800
committershige <shige@FreeBSD.org>1999-02-28 16:10:07 +0800
commit7a176ac18a1a78cf3b78487a919a33baad0e226a (patch)
tree3766b3bb135fdd715ad86739085c959af6cc9b10 /editors
parent9a3ed6bb09af0bfc41649f2b250281ec8f80630a (diff)
downloadfreebsd-ports-gnome-7a176ac18a1a78cf3b78487a919a33baad0e226a.tar.gz
freebsd-ports-gnome-7a176ac18a1a78cf3b78487a919a33baad0e226a.tar.zst
freebsd-ports-gnome-7a176ac18a1a78cf3b78487a919a33baad0e226a.zip
Fix build error on 4.0-current by registering __FreeBSD__ == 4
with src/s/freebsd.h. This change is by Takayuki TAMURA <ttathome@remus.dti.ne.jp>. PR: ports/10192 Submitted by: Shigeyuki FUKUSHIMA <shige@kuis.kyoto-u.ac.jp>
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs20-dl/files/patch-cb11
1 files changed, 10 insertions, 1 deletions
diff --git a/editors/emacs20-dl/files/patch-cb b/editors/emacs20-dl/files/patch-cb
index d1877ed654df..d5ae46309f02 100644
--- a/editors/emacs20-dl/files/patch-cb
+++ b/editors/emacs20-dl/files/patch-cb
@@ -1,5 +1,5 @@
--- src/s/freebsd.h.orig Wed Aug 19 16:25:36 1998
-+++ src/s/freebsd.h Sun Jan 3 20:56:02 1999
++++ src/s/freebsd.h Fri Feb 12 22:27:28 1999
@@ -45,6 +45,13 @@
#define LIBS_SYSTEM -lutil
#define LIBS_TERMCAP -ltermcap
@@ -32,3 +32,12 @@
#undef LIB_GCC
#define LIB_GCC
+@@ -109,6 +123,8 @@
+ #define BSD_SYSTEM 199306
+ #elif __FreeBSD__ == 3
+ #define BSD_SYSTEM 199506
++#elif __FreeBSD__ == 4
++#define BSD_SYSTEM 199901
+ #endif
+
+ #define WAITTYPE int