From 43f496baaf8447e4e4f1400e594bd544509e71b9 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 24 Nov 2011 13:32:20 +0000 Subject: Fix issues with newer GCC --- wm/obpager/patches/patch-ab | 7 ++++--- wm/obpager/patches/patch-ac | 16 +++++++++++++--- 2 files changed, 17 insertions(+), 6 deletions(-) (limited to 'wm/obpager/patches') 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 #include +#include ++#include // 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 + #include +- ++#include ++#include + + // 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; -- cgit v1.2.3