summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2011-12-07 15:22:28 +0000
committerjoerg <joerg@pkgsrc.org>2011-12-07 15:22:28 +0000
commit83d16b5e3567b46e67bddfc492b770b296e27fe6 (patch)
treeba8037af8a66eff7bcdf94f07d7e2ce6f3af628a /sysutils
parent7af2137f825d6a7c2f54d3a0174f606c6a96bd0c (diff)
downloadpkgsrc-83d16b5e3567b46e67bddfc492b770b296e27fe6.tar.gz
Disable -Wswitch for newer GCC versions
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xentools3/distinfo3
-rw-r--r--sysutils/xentools3/patches/patch-.._patch-Config.mk13
2 files changed, 15 insertions, 1 deletions
diff --git a/sysutils/xentools3/distinfo b/sysutils/xentools3/distinfo
index bdda88a6b59..b7af5ea2926 100644
--- a/sysutils/xentools3/distinfo
+++ b/sysutils/xentools3/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.12 2009/03/05 19:43:32 bouyer Exp $
+$NetBSD: distinfo,v 1.13 2011/12/07 15:22:28 joerg Exp $
SHA1 (xen-3.1.4.tar.gz) = 0d784662776239195df10b3f29d40350f9d0644d
RMD160 (xen-3.1.4.tar.gz) = c02ad2bd64e6306b127a4f37a8aa370dadc11859
Size (xen-3.1.4.tar.gz) = 6894493 bytes
+SHA1 (patch-.._patch-Config.mk) = af18346fb13d1dc9e56e7d01057d2cebfbbaba14
SHA1 (patch-aa) = dca8b8de73b9bdbb17f8245224575eb881cdf00d
SHA1 (patch-ab) = dcafc8b6c4cd1e4dfc6f4ec806fd8076b3104b86
SHA1 (patch-ac) = d6d895e0361194cd84da13c42e17e17efecae7dd
diff --git a/sysutils/xentools3/patches/patch-.._patch-Config.mk b/sysutils/xentools3/patches/patch-.._patch-Config.mk
new file mode 100644
index 00000000000..5776172af84
--- /dev/null
+++ b/sysutils/xentools3/patches/patch-.._patch-Config.mk
@@ -0,0 +1,13 @@
+$NetBSD: patch-.._patch-Config.mk,v 1.1 2011/12/07 15:22:28 joerg Exp $
+
+--- ../Config.mk.orig 2011-12-07 10:40:48.000000000 +0000
++++ ../Config.mk
+@@ -70,7 +70,7 @@ CFLAGS += -Wall -Wstrict-prototypes
+
+ # -Wunused-value makes GCC 4.x too aggressive for my taste: ignoring the
+ # result of any casted expression causes a warning.
+-CFLAGS += -Wno-unused-value
++CFLAGS += -Wno-unused-value -Wno-switch
+
+ HOSTCFLAGS += $(call cc-option,$(HOSTCC),-Wdeclaration-after-statement,)
+ CFLAGS += $(call cc-option,$(CC),-Wdeclaration-after-statement,)