summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Hale <tseng@gentoo.org>2003-10-09 17:17:44 +0000
committerBrandon Hale <tseng@gentoo.org>2003-10-09 17:17:44 +0000
commit2f7c6747a957c91e3f838f06517daf0a7015671c (patch)
tree732f33330197d0b92476c3a955c7bceb7c44f923 /x11-wm/blackbox/files
parentcleanup and gcc 3.3 fix, closes #29633 (diff)
downloadgentoo-2-2f7c6747a957c91e3f838f06517daf0a7015671c.tar.gz
gentoo-2-2f7c6747a957c91e3f838f06517daf0a7015671c.tar.bz2
gentoo-2-2f7c6747a957c91e3f838f06517daf0a7015671c.zip
cleanup and gcc 3.3 fix, closes #29633
Diffstat (limited to 'x11-wm/blackbox/files')
-rw-r--r--x11-wm/blackbox/files/blackbox-gcc.patch37
-rw-r--r--x11-wm/blackbox/files/digest-blackbox-0.65.0-r11
-rw-r--r--x11-wm/blackbox/files/digest-blackbox-0.65.0-r2 (renamed from x11-wm/blackbox/files/digest-blackbox-0.65.0)0
3 files changed, 37 insertions, 1 deletions
diff --git a/x11-wm/blackbox/files/blackbox-gcc.patch b/x11-wm/blackbox/files/blackbox-gcc.patch
new file mode 100644
index 000000000000..b1f56216e220
--- /dev/null
+++ b/x11-wm/blackbox/files/blackbox-gcc.patch
@@ -0,0 +1,37 @@
+--- blackbox-0.65.0/src/Window.cc 2002-09-17 11:23:35.000000000 -0400
++++ Window.cc 2003-10-09 13:09:22.993741976 -0400
+@@ -55,6 +55,7 @@
+ #include "Window.hh"
+ #include "Windowmenu.hh"
+ #include "Workspace.hh"
++#include <assert.h>
+
+
+ /*
+@@ -2050,7 +2051,7 @@
+ if (decorations & Decor_Titlebar) {
+ if (functions & Func_Close) // close button is controlled by function
+ decorations |= Decor_Close; // not decor type
+- } else {
++ } else {
+ if (flags.shaded) // we can not be shaded if we lack a titlebar
+ shade();
+ }
+@@ -2986,7 +2987,7 @@
+ // do not leave a shaded window as an icon unless it was an icon
+ if (flags.shaded && ! flags.iconic)
+ current_state = NormalState;
+-
++
+ setState(current_state);
+
+ restoreGravity(client.rect);
+@@ -3099,7 +3100,7 @@
+ if (decorations & Decor_Titlebar) {
+ if (functions & Func_Close) // close button is controlled by function
+ decorations |= Decor_Close; // not decor type
+- } else {
++ } else {
+ if (flags.shaded) // we can not be shaded if we lack a titlebar
+ shade();
+ }
diff --git a/x11-wm/blackbox/files/digest-blackbox-0.65.0-r1 b/x11-wm/blackbox/files/digest-blackbox-0.65.0-r1
deleted file mode 100644
index ac23630d0dc1..000000000000
--- a/x11-wm/blackbox/files/digest-blackbox-0.65.0-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 08560fa287c68d65fbe894696d04deaf blackbox-0.65.0.tar.gz 292950
diff --git a/x11-wm/blackbox/files/digest-blackbox-0.65.0 b/x11-wm/blackbox/files/digest-blackbox-0.65.0-r2
index ac23630d0dc1..ac23630d0dc1 100644
--- a/x11-wm/blackbox/files/digest-blackbox-0.65.0
+++ b/x11-wm/blackbox/files/digest-blackbox-0.65.0-r2