summaryrefslogtreecommitdiff
path: root/wm/obpager/patches
diff options
context:
space:
mode:
authorjoerg <joerg>2011-11-24 13:32:20 +0000
committerjoerg <joerg>2011-11-24 13:32:20 +0000
commit84d11f6f0393e733a75be88032ef2ac3dd148413 (patch)
tree72311c5f3c9cd9794654f4943e51538f9b93c108 /wm/obpager/patches
parent5f7ebaf1385eebe245f5b38c75a441b88c6fccf9 (diff)
downloadpkgsrc-84d11f6f0393e733a75be88032ef2ac3dd148413.tar.gz
Fix issues with newer GCC
Diffstat (limited to 'wm/obpager/patches')
-rw-r--r--wm/obpager/patches/patch-ab7
-rw-r--r--wm/obpager/patches/patch-ac16
2 files changed, 17 insertions, 6 deletions
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;