pkgsrc/archivers/hpack/patches/patch-aa
tv 6a4ee18179 Add hpack-0.79, inspired by the FreeBSD port "hpack.non-usa.only", but
rewritten.  Allows for USA/non-USA support via the familiar USE_RSAREF2
mechanism, and significantly cleaned up.  Does not attempt to fall back to
$HOME/.pgp for keys as in the FreeBSD port, as other programs already
require PGPPATH to be set.
1999-05-23 22:41:21 +00:00

22 lines
800 B
Text

$NetBSD: patch-aa,v 1.1.1.1 1999/05/23 22:41:21 tv Exp $
--- defs.h.orig Sun May 23 17:31:43 1999
+++ defs.h Sun May 23 17:26:19 1999
@@ -20,7 +20,7 @@
typedef unsigned char BYTE;
typedef unsigned short int WORD; /* 16-bit unsigned on most systems */
#ifndef _OS2EMX_H
-typedef unsigned long int LONG; /* 32-bit unsigned on most systems */
+typedef unsigned int LONG; /* 32-bit unsigned on most systems */
#endif /* _OS2EMX.H */
typedef int BOOLEAN;
@@ -43,7 +43,7 @@
/* '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__ )
#define inline
#endif /* !( __CPLUSPLUS__ || __cplusplus ) */