From e324d453aac98cf9a175c6ff0e37782c7262fe2f Mon Sep 17 00:00:00 2001 From: jmc Date: Thu, 24 Jul 2003 06:40:54 +0000 Subject: Various patches to make this work with rpcgen that exports _rpcsvcdirty incorrectly --- ham/hamlib/patches/patch-ac | 18 ++++++++++++++++++ ham/hamlib/patches/patch-ad | 17 +++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 ham/hamlib/patches/patch-ac create mode 100644 ham/hamlib/patches/patch-ad (limited to 'ham/hamlib/patches') diff --git a/ham/hamlib/patches/patch-ac b/ham/hamlib/patches/patch-ac new file mode 100644 index 00000000000..1a5bbe37163 --- /dev/null +++ b/ham/hamlib/patches/patch-ac @@ -0,0 +1,18 @@ +$NetBSD: patch-ac,v 1.1 2003/07/24 06:40:55 jmc Exp $ + +--- rpcrig/rpcrigd.c.orig Mon Dec 16 22:06:54 2002 ++++ rpcrig/rpcrigd.c Thu Jul 24 00:55:52 2003 +@@ -45,7 +45,12 @@ + + #include + +- ++#ifdef __NetBSD__ ++#include ++#if (__NetBSD_Version__ < 106210000) ++int _rpcsvcdirty; ++#endif ++#endif + + /* + * Prototypes diff --git a/ham/hamlib/patches/patch-ad b/ham/hamlib/patches/patch-ad new file mode 100644 index 00000000000..adbabde68f0 --- /dev/null +++ b/ham/hamlib/patches/patch-ad @@ -0,0 +1,17 @@ +$NetBSD: patch-ad,v 1.1 2003/07/24 06:40:55 jmc Exp $ + +--- rpcrot/rpcrotd.c.orig Thu Jul 24 01:04:54 2003 ++++ rpcrot/rpcrotd.c Thu Jul 24 01:05:25 2003 +@@ -45,6 +45,12 @@ + + #include + ++#ifdef __NetBSD__ ++#include ++#if (__NetBSD_Version__ < 106210000) ++int _rpcsvcdirty; ++#endif ++#endif + + /* + * Prototypes -- cgit v1.2.3