From 0fd730a05f53c9cf08fcad125e9bdfc6c5a6440c Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 25 Nov 2011 22:23:15 +0000 Subject: Fix build with newer GCC --- wm/bsetroot/distinfo | 3 ++- wm/bsetroot/patches/patch-src_Image.cc | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 wm/bsetroot/patches/patch-src_Image.cc (limited to 'wm') diff --git a/wm/bsetroot/distinfo b/wm/bsetroot/distinfo index e751bccc613..013a0abd1fe 100644 --- a/wm/bsetroot/distinfo +++ b/wm/bsetroot/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.5 2005/09/26 10:15:30 joerg Exp $ +$NetBSD: distinfo,v 1.6 2011/11/25 22:23:15 joerg Exp $ SHA1 (blackbox-0.65.0.tar.gz) = 903a35526b1c29912ca500b7f8c205368e60fc38 RMD160 (blackbox-0.65.0.tar.gz) = d88d9c5d9375274da149c77d3c63bb9c92470f26 @@ -7,3 +7,4 @@ SHA1 (patch-aa) = 134f628eef5cec1e9d7ce4b95a57c7e35a2307d9 SHA1 (patch-ab) = 0654be7d1465d0adc331714377f17e6e6bd459da SHA1 (patch-ac) = 5f249a2e6d75e5d88605d6d8a1675d003b1cb52f SHA1 (patch-ad) = a39dee423ea041f8c72c0c9144ffda06c20242eb +SHA1 (patch-src_Image.cc) = 5da031ec0ed1ddd45369698eb36e4bb0c0cfe06c diff --git a/wm/bsetroot/patches/patch-src_Image.cc b/wm/bsetroot/patches/patch-src_Image.cc new file mode 100644 index 00000000000..62d5ef9437f --- /dev/null +++ b/wm/bsetroot/patches/patch-src_Image.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-src_Image.cc,v 1.1 2011/11/25 22:23:15 joerg Exp $ + +--- src/Image.cc.orig 2011-11-25 15:53:51.000000000 +0000 ++++ src/Image.cc +@@ -30,6 +30,7 @@ + #endif // HAVE_STDIO_H + + #include ++#include + using std::max; + using std::min; + -- cgit v1.2.3