summaryrefslogtreecommitdiff
path: root/devel/libnet11
diff options
context:
space:
mode:
authorrillig <rillig>2007-02-09 23:58:23 +0000
committerrillig <rillig>2007-02-09 23:58:23 +0000
commit1b1bfd26e53499ace14a30290cb4eec538005121 (patch)
treeda94db5340bad71a09f4ebca83f4fa4213f839f9 /devel/libnet11
parentce3b63f7f7ee0dc360bacf100d0608fccfa3ad8d (diff)
downloadpkgsrc-1b1bfd26e53499ace14a30290cb4eec538005121.tar.gz
Fixed gcc warnings.
Diffstat (limited to 'devel/libnet11')
-rw-r--r--devel/libnet11/distinfo3
-rw-r--r--devel/libnet11/patches/patch-aa51
2 files changed, 53 insertions, 1 deletions
diff --git a/devel/libnet11/distinfo b/devel/libnet11/distinfo
index 558c4806876..426abe46d70 100644
--- a/devel/libnet11/distinfo
+++ b/devel/libnet11/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 22:24:19 agc Exp $
+$NetBSD: distinfo,v 1.3 2007/02/09 23:58:23 rillig Exp $
SHA1 (libnet-1.1.2.1.tar.gz) = 760783a2adbd845b731e2000aafa3cd9c3b028d5
RMD160 (libnet-1.1.2.1.tar.gz) = 2d8d87930d09a74ab369bd7c240af4b5426ae380
Size (libnet-1.1.2.1.tar.gz) = 1021236 bytes
+SHA1 (patch-aa) = cac87f7ede65258eb672fbeb8923841aa0d87135
diff --git a/devel/libnet11/patches/patch-aa b/devel/libnet11/patches/patch-aa
new file mode 100644
index 00000000000..5d3a6d8b4cd
--- /dev/null
+++ b/devel/libnet11/patches/patch-aa
@@ -0,0 +1,51 @@
+$NetBSD: patch-aa,v 1.1 2007/02/09 23:58:24 rillig Exp $
+
+void foo() is different from void foo(void), at least in C.
+
+--- include/libnet/libnet-functions.h.orig 2004-03-25 19:50:48.000000000 +0100
++++ include/libnet/libnet-functions.h 2007-02-10 00:55:20.000000000 +0100
+@@ -1837,7 +1837,7 @@ libnet_cq_find_by_label(char *label);
+ * member context.
+ */
+ void
+-libnet_cq_destroy();
++libnet_cq_destroy(void);
+
+ /**
+ * [Context Queue]
+@@ -1859,7 +1859,7 @@ libnet_cq_destroy();
+ * @return the head of the context queue
+ */
+ libnet_t *
+-libnet_cq_head();
++libnet_cq_head(void);
+
+ /**
+ * [Context Queue]
+@@ -1867,7 +1867,7 @@ libnet_cq_head();
+ * @return 1 if at the end of the context queue, 0 otherwise
+ */
+ int
+-libnet_cq_last();
++libnet_cq_last(void);
+
+ /**
+ * [Context Queue]
+@@ -1875,7 +1875,7 @@ libnet_cq_last();
+ * @reutrn the next context from the context queue
+ */
+ libnet_t *
+-libnet_cq_next();
++libnet_cq_next(void);
+
+ /**
+ * [Context Queue]
+@@ -1883,7 +1883,7 @@ libnet_cq_next();
+ * @return the number of libnet contexts currently in the queue
+ */
+ u_int32_t
+-libnet_cq_size();
++libnet_cq_size(void);
+
+ /**
+ * [Diagnostic]