summaryrefslogtreecommitdiff
path: root/ham/hamlib/patches
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-07-24 06:40:54 +0000
committerjmc <jmc@pkgsrc.org>2003-07-24 06:40:54 +0000
commite324d453aac98cf9a175c6ff0e37782c7262fe2f (patch)
tree42972b9ab98d9726713399839c076df037f776e1 /ham/hamlib/patches
parentce8e7daf540be9030eed639c94aee1e072a156f2 (diff)
downloadpkgsrc-e324d453aac98cf9a175c6ff0e37782c7262fe2f.tar.gz
Various patches to make this work with rpcgen that exports _rpcsvcdirty
incorrectly
Diffstat (limited to 'ham/hamlib/patches')
-rw-r--r--ham/hamlib/patches/patch-ac18
-rw-r--r--ham/hamlib/patches/patch-ad17
2 files changed, 35 insertions, 0 deletions
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 <hamlib/rig.h>
+
+-
++#ifdef __NetBSD__
++#include <sys/param.h>
++#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 <hamlib/rotator.h>
+
++#ifdef __NetBSD__
++#include <sys/param.h>
++#if (__NetBSD_Version__ < 106210000)
++int _rpcsvcdirty;
++#endif
++#endif
+
+ /*
+ * Prototypes