summaryrefslogtreecommitdiff
path: root/ham/hamlib/patches/patch-ad
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/patch-ad
parentce8e7daf540be9030eed639c94aee1e072a156f2 (diff)
downloadpkgsrc-e324d453aac98cf9a175c6ff0e37782c7262fe2f.tar.gz
Various patches to make this work with rpcgen that exports _rpcsvcdirty
incorrectly
Diffstat (limited to 'ham/hamlib/patches/patch-ad')
-rw-r--r--ham/hamlib/patches/patch-ad17
1 files changed, 17 insertions, 0 deletions
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