diff options
author | joerg <joerg@pkgsrc.org> | 2011-11-24 13:32:20 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-11-24 13:32:20 +0000 |
commit | 43f496baaf8447e4e4f1400e594bd544509e71b9 (patch) | |
tree | 72311c5f3c9cd9794654f4943e51538f9b93c108 | |
parent | d63a902b8d8c334344c4615100c6c8947ce7196c (diff) | |
download | pkgsrc-43f496baaf8447e4e4f1400e594bd544509e71b9.tar.gz |
Fix issues with newer GCC
-rw-r--r-- | wm/obpager/distinfo | 6 | ||||
-rw-r--r-- | wm/obpager/patches/patch-ab | 7 | ||||
-rw-r--r-- | wm/obpager/patches/patch-ac | 16 |
3 files changed, 20 insertions, 9 deletions
diff --git a/wm/obpager/distinfo b/wm/obpager/distinfo index 98c80f19cd3..aae4f1bcf8a 100644 --- a/wm/obpager/distinfo +++ b/wm/obpager/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.2 2008/07/29 19:30:35 tnn Exp $ +$NetBSD: distinfo,v 1.3 2011/11/24 13:32:20 joerg Exp $ SHA1 (obpager-1.8.tar.gz) = e97ecf8f44d5b787cdb5bfa853ab76eac919323a RMD160 (obpager-1.8.tar.gz) = 45ca48aa8745fae522e7b0caf7b5a99d956e5413 Size (obpager-1.8.tar.gz) = 23773 bytes SHA1 (patch-aa) = 2f701f8e3b8f81335ba2ad2478d2b3faf66b2126 -SHA1 (patch-ab) = 7640ba0f05b27ffd7411fb9d6004511d5b6262f5 -SHA1 (patch-ac) = 49fb38f13f6b98c40caa62e6b97413ab4d2d40b8 +SHA1 (patch-ab) = 6d3068819b945dfa3720f7628eaaf6c6570ffc0f +SHA1 (patch-ac) = 375eaa8f51fce786c16a2ff23990868d9103ab32 diff --git a/wm/obpager/patches/patch-ab b/wm/obpager/patches/patch-ab index 13df931347c..ae7e7d298de 100644 --- a/wm/obpager/patches/patch-ab +++ b/wm/obpager/patches/patch-ab @@ -1,12 +1,13 @@ -$NetBSD: patch-ab,v 1.1.1.1 2007/06/20 18:09:24 tnn Exp $ +$NetBSD: patch-ab,v 1.2 2011/11/24 13:32:20 joerg Exp $ ---- src/main.cc.orig 2007-06-20 19:54:23.000000000 +0200 +--- src/main.cc.orig 2004-09-01 14:23:44.000000000 +0000 +++ src/main.cc -@@ -26,6 +26,7 @@ +@@ -26,6 +26,8 @@ #include <sys/types.h> #include <unistd.h> +#include <errno.h> ++#include <stdlib.h> // Include the headers for the pager class and also the spiffy custom exception class diff --git a/wm/obpager/patches/patch-ac b/wm/obpager/patches/patch-ac index 03f8e1fdee5..60b0e0732f8 100644 --- a/wm/obpager/patches/patch-ac +++ b/wm/obpager/patches/patch-ac @@ -1,8 +1,18 @@ -$NetBSD: patch-ac,v 1.1 2008/07/29 19:30:35 tnn Exp $ +$NetBSD: patch-ac,v 1.2 2011/11/24 13:32:20 joerg Exp $ ---- src/OBPager.cc.orig 2004-09-01 16:23:44.000000000 +0200 +--- src/OBPager.cc.orig 2004-09-01 14:23:44.000000000 +0000 +++ src/OBPager.cc -@@ -1096,7 +1096,7 @@ void OBPager::gotoDesktop(int newDesktop +@@ -22,7 +22,8 @@ + + #include <string> + #include <sstream> +- ++#include <stdlib.h> ++#include <memory> + + // We need to work with these properties + +@@ -1096,7 +1097,7 @@ void OBPager::gotoDesktop(int newDesktop event.xclient.format = 32; event.xclient.data.l[0] = newDesktop; |