summaryrefslogtreecommitdiff
path: root/emulators/x48/files/patch-src+global.h
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-11-22 12:27:16 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-11-22 12:27:16 +0000
commit59439582e5d5d8881fab554baa7df4c9383037cc (patch)
treec9f3a732b40cffc1e6748c421f15108a12bb0f5c /emulators/x48/files/patch-src+global.h
parentUpgrade to staroffice 7 product update IV. (diff)
- Add SX ROM revision E (rev J does not work)
- Fix terminal allocation code under FreeBSD - Catch up with PHK's cuaa->cuad rework in -CURRENT - Avoid direct use of `unzip' command in Makefile in favor of ${UNZIP_CMD} - Utilize DATADIR and DOCSDIR marcos in pkg-plist - SIZEify - Take maintainership Approved by: fjoe (mentor, implicit)
Diffstat (limited to 'emulators/x48/files/patch-src+global.h')
-rw-r--r--emulators/x48/files/patch-src+global.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/emulators/x48/files/patch-src+global.h b/emulators/x48/files/patch-src+global.h
new file mode 100644
index 000000000000..cfa5b53e5848
--- /dev/null
+++ b/emulators/x48/files/patch-src+global.h
@@ -0,0 +1,25 @@
+--- src/global.h.orig Tue Sep 7 22:41:45 1999
++++ src/global.h Mon Nov 22 17:03:53 2004
+@@ -79,6 +79,14 @@
+
+ #else /* Not Linux */
+
++#if defined(__FreeBSD__)
++
++#ifndef FREEBSD
++#define FREEBSD 1
++#endif
++
++#else /* Not FreeBSD */
++
+ #if defined(sun) && defined(unix)
+
+ #if defined(__svr4__) || defined(SVR4) || defined(SYSV)
+@@ -106,6 +114,7 @@
+ #endif /* Not HP-UX */
+ #endif /* Not Solaris */
+ #endif /* Sun && Unix */
++#endif /* Not FreeBSD */
+ #endif /* Not Linux */
+
+ #ifdef SYSV