diff options
author | joerg <joerg@pkgsrc.org> | 2011-11-25 22:20:58 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2011-11-25 22:20:58 +0000 |
commit | 1d38ab87d0af93c2211477588e28ef065e791e2e (patch) | |
tree | 850cbc06a7f60c1c924c904457fd911e95628a03 /wm/aewm++ | |
parent | b182221e372caa264a4e28f7dde4bc582a764e5f (diff) | |
download | pkgsrc-1d38ab87d0af93c2211477588e28ef065e791e2e.tar.gz |
Fix build with newer GCC.
Diffstat (limited to 'wm/aewm++')
-rw-r--r-- | wm/aewm++/distinfo | 6 | ||||
-rw-r--r-- | wm/aewm++/patches/patch-ab | 14 | ||||
-rw-r--r-- | wm/aewm++/patches/patch-client.cc | 12 | ||||
-rw-r--r-- | wm/aewm++/patches/patch-main.cc | 12 |
4 files changed, 39 insertions, 5 deletions
diff --git a/wm/aewm++/distinfo b/wm/aewm++/distinfo index 3c114c18725..347835272bf 100644 --- a/wm/aewm++/distinfo +++ b/wm/aewm++/distinfo @@ -1,7 +1,9 @@ -$NetBSD: distinfo,v 1.4 2006/01/02 21:40:00 joerg Exp $ +$NetBSD: distinfo,v 1.5 2011/11/25 22:20:58 joerg Exp $ SHA1 (aewm++-1.0.24.tar.bz2) = 366da85a5edf47e3214c772007aebb2daf7d18d0 RMD160 (aewm++-1.0.24.tar.bz2) = 6e37b29343948f469dcceba90732209b4b7324b9 Size (aewm++-1.0.24.tar.bz2) = 36642 bytes SHA1 (patch-aa) = 9bf23b24a371c6a75c1bc8a6d64688af38f876a3 -SHA1 (patch-ab) = 5f06757bfcd28a21de9476617a36a0973b131e2f +SHA1 (patch-ab) = fb68b8580de648b9af46f0e994388bb586294644 +SHA1 (patch-client.cc) = ab9d467920ecb1d402e33cb3ee429264ab42f9a8 +SHA1 (patch-main.cc) = 4cbc321d877543aa1224c8c2548df85335e9b2ef diff --git a/wm/aewm++/patches/patch-ab b/wm/aewm++/patches/patch-ab index c83288ee5dc..2047c71a03f 100644 --- a/wm/aewm++/patches/patch-ab +++ b/wm/aewm++/patches/patch-ab @@ -1,8 +1,16 @@ -$NetBSD: patch-ab,v 1.1 2006/01/02 21:40:00 joerg Exp $ +$NetBSD: patch-ab,v 1.2 2011/11/25 22:20:59 joerg Exp $ ---- windowmanager.cc.orig 2006-01-02 21:33:19.000000000 +0000 +--- windowmanager.cc.orig 2003-05-15 01:44:12.000000000 +0000 +++ windowmanager.cc -@@ -625,7 +625,7 @@ void WindowManager::handleKeyPressEvent( +@@ -6,6 +6,7 @@ + */ + + #include "aewm.hh" ++#include <cstring> + + WindowManager* wm; + +@@ -625,7 +626,7 @@ void WindowManager::handleKeyPressEvent( { if( (unsigned)current_desktop != ks - XK_1 ) { diff --git a/wm/aewm++/patches/patch-client.cc b/wm/aewm++/patches/patch-client.cc new file mode 100644 index 00000000000..4144b64be90 --- /dev/null +++ b/wm/aewm++/patches/patch-client.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-client.cc,v 1.1 2011/11/25 22:20:59 joerg Exp $ + +--- client.cc.orig 2011-11-25 13:56:08.000000000 +0000 ++++ client.cc +@@ -6,6 +6,7 @@ + */ + + #include "aewm.hh" ++#include <cstring> + + Client::Client(Display *d, Window new_client) + { diff --git a/wm/aewm++/patches/patch-main.cc b/wm/aewm++/patches/patch-main.cc new file mode 100644 index 00000000000..344687baf9a --- /dev/null +++ b/wm/aewm++/patches/patch-main.cc @@ -0,0 +1,12 @@ +$NetBSD: patch-main.cc,v 1.1 2011/11/25 22:20:59 joerg Exp $ + +--- main.cc.orig 2011-11-25 13:56:32.000000000 +0000 ++++ main.cc +@@ -6,6 +6,7 @@ + */ + + #include "aewm.hh" ++#include <cstring> + + void forkExec(char *cmd) + { |