aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/unarj
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>1997-02-17 05:11:14 +0800
committerobrien <obrien@FreeBSD.org>1997-02-17 05:11:14 +0800
commitba3f8bf8edb336fa75128f231355c5d7be97171c (patch)
tree720589c55dc548a72874db3a19faa7b5d541f89e /archivers/unarj
parent6568109b3978da9048e0895fb9361e3c9a72aa22 (diff)
downloadfreebsd-ports-gnome-ba3f8bf8edb336fa75128f231355c5d7be97171c.tar.gz
freebsd-ports-gnome-ba3f8bf8edb336fa75128f231355c5d7be97171c.tar.zst
freebsd-ports-gnome-ba3f8bf8edb336fa75128f231355c5d7be97171c.zip
A quick purousal thru our port's patches directory shows a *WAY* over use of
__FreeBSD__. That said, add __OpenBSD__ and __NetBSD__ where approapiate.
Diffstat (limited to 'archivers/unarj')
-rw-r--r--archivers/unarj/files/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/archivers/unarj/files/patch-aa b/archivers/unarj/files/patch-aa
index 2676a6690716..ad08f8f8f0ba 100644
--- a/archivers/unarj/files/patch-aa
+++ b/archivers/unarj/files/patch-aa
@@ -31,7 +31,7 @@
! gettz(stamp) /* returns the offset from GMT in seconds */
! time_t stamp;
{
-+ #ifdef __FreeBSD__
++ #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__)
+ return -localtime(&stamp)->tm_gmtoff;
+ #else
#define NOONOFFSET 43200L
@@ -73,7 +73,7 @@
#endif
typedef unsigned char uchar; /* 8 bits or more */
-+ #ifndef __FreeBSD__
++ #if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
typedef unsigned int uint; /* 16 - 32 bits or more */
typedef unsigned short ushort; /* 16 bits or more */
+ #endif