summaryrefslogtreecommitdiff
path: root/devel/elftoolchain
diff options
context:
space:
mode:
authordholland <dholland>2012-09-28 08:59:07 +0000
committerdholland <dholland>2012-09-28 08:59:07 +0000
commit6fb779d62e295432a497ca3e8671b828ee06293d (patch)
tree8aa6c140e4307a88294216565b5ece16e4b17bf8 /devel/elftoolchain
parent22e2043492a0edfe1b997749fa4286aa60649028 (diff)
downloadpkgsrc-6fb779d62e295432a497ca3e8671b828ee06293d.tar.gz
Fix warnings about old-style function definitions that are fatal in
some(?) builds.
Diffstat (limited to 'devel/elftoolchain')
-rw-r--r--devel/elftoolchain/distinfo3
-rw-r--r--devel/elftoolchain/patches/patch-ar_acpyacc_y61
2 files changed, 63 insertions, 1 deletions
diff --git a/devel/elftoolchain/distinfo b/devel/elftoolchain/distinfo
index 60b1ca81dca..f7811d10b53 100644
--- a/devel/elftoolchain/distinfo
+++ b/devel/elftoolchain/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2011/11/26 15:50:27 dholland Exp $
+$NetBSD: distinfo,v 1.3 2012/09/28 08:59:07 dholland Exp $
SHA1 (elftoolchain-0.5.1.tar.bz2) = 333cfce857ca220177d0a5d111d40afca1eea0c7
RMD160 (elftoolchain-0.5.1.tar.bz2) = 4be0adf8349c764474810e23cfb022c655002d77
@@ -17,6 +17,7 @@ SHA1 (patch-ak) = 699aeca92ce35f57988b6135c6b7f3a8f533825f
SHA1 (patch-al) = 1ca5bb02b4bf8b4d0820747c3398d1f5f317c66c
SHA1 (patch-am) = 286bd77aef36812b60fb29218368573b74ac892e
SHA1 (patch-an) = 6de919bb0cf3f406c9b5addcf868c57d5d71403e
+SHA1 (patch-ar_acpyacc_y) = 462e9463ff66defe76759d4eb58d3b5d98c846b9
SHA1 (patch-libdwarf_Makefile) = bea37cf65de237146dc51a71aed04581bc6c1d95
SHA1 (patch-libelf_Makefile) = 29fdcead0e1d01ba2cf1d9e16e9d50bc041c9eec
SHA1 (patch-libelftc_Makefile) = a91f55e598482123a04dd5e50e5d992a8d866036
diff --git a/devel/elftoolchain/patches/patch-ar_acpyacc_y b/devel/elftoolchain/patches/patch-ar_acpyacc_y
new file mode 100644
index 00000000000..1193865e273
--- /dev/null
+++ b/devel/elftoolchain/patches/patch-ar_acpyacc_y
@@ -0,0 +1,61 @@
+$NetBSD: patch-ar_acpyacc_y,v 1.1 2012/09/28 08:59:07 dholland Exp $
+
+Fix warnings about old-style function definitions that are fatal in
+some(?) builds.
+
+--- ar/acpyacc.y~ 2011-11-10 06:56:46.000000000 +0000
++++ ar/acpyacc.y
+@@ -414,7 +414,7 @@ arscp_extract(struct list *list)
+
+ /* List modules of archive. (Simple Mode) */
+ static void
+-arscp_list()
++arscp_list(void)
+ {
+
+ if (!arscp_target_exist())
+@@ -481,7 +481,7 @@ arscp_replace(struct list *list)
+
+ /* Rename the temporary archive to the target archive. */
+ static void
+-arscp_save()
++arscp_save(void)
+ {
+ mode_t mask;
+
+@@ -510,7 +510,7 @@ arscp_save()
+ * invoking CREATE cmd on current archive.
+ */
+ static void
+-arscp_clear()
++arscp_clear(void)
+ {
+ char *new_target;
+
+@@ -546,7 +546,7 @@ arscp_end(int eval)
+ * issued by user.
+ */
+ static int
+-arscp_target_exist()
++arscp_target_exist(void)
+ {
+
+ if (target)
+@@ -621,7 +621,7 @@ arscp_mlist2argv(struct list *list)
+
+ /* Free space allocated for argv array and its elements. */
+ static void
+-arscp_free_argv()
++arscp_free_argv(void)
+ {
+ int i;
+
+@@ -633,7 +633,7 @@ arscp_free_argv()
+
+ /* Show a prompt if we are in interactive mode */
+ static void
+-arscp_prompt()
++arscp_prompt(void)
+ {
+
+ if (interactive) {