diff options
author | Leonardo Boshell <leonardop@gentoo.org> | 2005-07-18 10:13:51 +0000 |
---|---|---|
committer | Leonardo Boshell <leonardop@gentoo.org> | 2005-07-18 10:13:51 +0000 |
commit | 865ec430908ce95b96bb5d33674498244efa6c3b (patch) | |
tree | 1d1ad9fcb97d05d4e463865a3e75086a8cca8093 /x11-wm/metacity/files/metacity-2.4.3-ppc-gcc3.2.diff | |
parent | Let's be a bit more careful what to rm -fR in pkg_preinst(). (diff) | |
download | historical-865ec430908ce95b96bb5d33674498244efa6c3b.tar.gz historical-865ec430908ce95b96bb5d33674498244efa6c3b.tar.bz2 historical-865ec430908ce95b96bb5d33674498244efa6c3b.zip |
New release: 2.10.2. Cleaning old ebuilds/patches
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'x11-wm/metacity/files/metacity-2.4.3-ppc-gcc3.2.diff')
-rw-r--r-- | x11-wm/metacity/files/metacity-2.4.3-ppc-gcc3.2.diff | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/x11-wm/metacity/files/metacity-2.4.3-ppc-gcc3.2.diff b/x11-wm/metacity/files/metacity-2.4.3-ppc-gcc3.2.diff deleted file mode 100644 index cbf49e41c364..000000000000 --- a/x11-wm/metacity/files/metacity-2.4.3-ppc-gcc3.2.diff +++ /dev/null @@ -1,45 +0,0 @@ ---- src/screen.c.orig 2002-11-03 17:35:17.000000000 -0600 -+++ src/screen.c 2002-11-03 17:36:41.000000000 -0600 -@@ -1552,10 +1552,27 @@ - if (rows <= 0 && cols <= 0) - cols = num_workspaces; - -- if (rows <= 0) -- rows = num_workspaces / cols + ((num_workspaces % cols) > 0 ? 1 : 0); -- if (cols <= 0) -- cols = num_workspaces / rows + ((num_workspaces % rows) > 0 ? 1 : 0); -+ if (rows <= 0) { -+ /* fix PPC compile issue -+ * ICE occurs using embedded macro in calculation, split -+ * into if statements -+ */ -+ if ((num_workspaces % cols) > 0) { -+ rows = num_workspaces / cols + 1; -+ } else { -+ rows = num_workspaces / cols; -+ } -+ } -+ if (cols <= 0) { -+ /* another fix for PPC compile issue */ -+ if ((num_workspaces % rows) > 0) { -+ cols = num_workspaces / rows + 1; -+ } else { -+ cols = num_workspaces / rows; -+ } -+ } -+ -+ - - /* paranoia */ - if (rows < 1) -@@ -1563,8 +1580,8 @@ - if (cols < 1) - cols = 1; - -- *r = rows; -- *c = cols; -+ r[0] = rows; -+ c[0] = cols; - } - - static void |