pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/wm/obpager Fix issues with newer GCC



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6b67b70b31b0
branches:  trunk
changeset: 595740:6b67b70b31b0
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Nov 24 13:32:20 2011 +0000

description:
Fix issues with newer GCC

diffstat:

 wm/obpager/distinfo         |   6 +++---
 wm/obpager/patches/patch-ab |   7 ++++---
 wm/obpager/patches/patch-ac |  16 +++++++++++++---
 3 files changed, 20 insertions(+), 9 deletions(-)

diffs (60 lines):

diff -r 18f31974bb0e -r 6b67b70b31b0 wm/obpager/distinfo
--- a/wm/obpager/distinfo       Thu Nov 24 13:31:30 2011 +0000
+++ b/wm/obpager/distinfo       Thu Nov 24 13:32:20 2011 +0000
@@ -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 -r 18f31974bb0e -r 6b67b70b31b0 wm/obpager/patches/patch-ab
--- a/wm/obpager/patches/patch-ab       Thu Nov 24 13:31:30 2011 +0000
+++ b/wm/obpager/patches/patch-ab       Thu Nov 24 13:32:20 2011 +0000
@@ -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 -r 18f31974bb0e -r 6b67b70b31b0 wm/obpager/patches/patch-ac
--- a/wm/obpager/patches/patch-ac       Thu Nov 24 13:31:30 2011 +0000
+++ b/wm/obpager/patches/patch-ac       Thu Nov 24 13:32:20 2011 +0000
@@ -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;
        



Home | Main Index | Thread Index | Old Index