aboutsummaryrefslogtreecommitdiff
path: root/archivers/unarj
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1997-02-16 21:11:14 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1997-02-16 21:11:14 +0000
commit02d1b3a10b1c645029b337fa9496d3269418f043 (patch)
treec9e4eac855dd695777ffe968c66e32c2d8130d68 /archivers/unarj
parent8126c83bd243cfe995391875aea50427fe79f2cc (diff)
downloadports-02d1b3a10b1c645029b337fa9496d3269418f043.tar.gz
ports-02d1b3a10b1c645029b337fa9496d3269418f043.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.
Notes
Notes: svn path=/head/; revision=5656
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