diff options
Diffstat (limited to 'archivers/hpack/patches/patch-aa')
-rw-r--r-- | archivers/hpack/patches/patch-aa | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/archivers/hpack/patches/patch-aa b/archivers/hpack/patches/patch-aa index 21335c83d50..b23e91b21e1 100644 --- a/archivers/hpack/patches/patch-aa +++ b/archivers/hpack/patches/patch-aa @@ -1,7 +1,13 @@ -$NetBSD: patch-aa,v 1.1.1.1 1999/05/23 22:41:21 tv Exp $ +$NetBSD: patch-aa,v 1.2 2011/09/12 04:46:54 dholland Exp $ ---- defs.h.orig Sun May 23 17:31:43 1999 -+++ defs.h Sun May 23 17:26:19 1999 +- quick and dirty LP64 fix: "unsigned" is more often 32-bit than +"unsigned long" is. + +- disable inline unconditionally as the code in the package completely +misuses it. + +--- defs.h.orig 1993-05-31 15:17:00.000000000 +0000 ++++ defs.h @@ -20,7 +20,7 @@ typedef unsigned char BYTE; typedef unsigned short int WORD; /* 16-bit unsigned on most systems */ @@ -11,12 +17,12 @@ $NetBSD: patch-aa,v 1.1.1.1 1999/05/23 22:41:21 tv Exp $ #endif /* _OS2EMX.H */ typedef int BOOLEAN; -@@ -43,7 +43,7 @@ +@@ -43,7 +43,7 @@ typedef int BOOLEAN; /* 'inline' patch for compilers which can't handle this */ -#if !( defined( __CPLUSPLUS__ ) || defined( __cplusplus ) ) || defined( __TSC__ ) -+#if !( defined( __GNUC__ ) || defined( __CPLUSPLUS__ ) || defined( __cplusplus ) ) || defined( __TSC__ ) ++#if 1 #define inline #endif /* !( __CPLUSPLUS__ || __cplusplus ) */ |