diff options
author | Daniel Goller <morfic@gentoo.org> | 2004-12-18 18:57:24 +0000 |
---|---|---|
committer | Daniel Goller <morfic@gentoo.org> | 2004-12-18 18:57:24 +0000 |
commit | aeeea86f5c49763e85b6df7e6f782a15338d878f (patch) | |
tree | bdfc17a80428a1ed9f6b1d1fdd77f15e59d296b1 /xfce-base | |
parent | Initial commit. (Manifest recommit) (diff) | |
download | gentoo-2-aeeea86f5c49763e85b6df7e6f782a15338d878f.tar.gz gentoo-2-aeeea86f5c49763e85b6df7e6f782a15338d878f.tar.bz2 gentoo-2-aeeea86f5c49763e85b6df7e6f782a15338d878f.zip |
Applying panel endianess fix on ppc
Diffstat (limited to 'xfce-base')
-rw-r--r-- | xfce-base/xfce4-panel/ChangeLog | 8 | ||||
-rw-r--r-- | xfce-base/xfce4-panel/files/getc.patch | 41 | ||||
-rw-r--r-- | xfce-base/xfce4-panel/xfce4-panel-4.1.99.2.ebuild | 15 |
3 files changed, 61 insertions, 3 deletions
diff --git a/xfce-base/xfce4-panel/ChangeLog b/xfce-base/xfce4-panel/ChangeLog index f6d9061d7f79..cf02f26fc257 100644 --- a/xfce-base/xfce4-panel/ChangeLog +++ b/xfce-base/xfce4-panel/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for xfce-base/xfce4-panel # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfce4-panel/ChangeLog,v 1.38 2004/12/13 20:41:53 bcowan Exp $ +# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfce4-panel/ChangeLog,v 1.39 2004/12/18 18:57:24 morfic Exp $ + + 18 Dec 2004; Daniel Goller <morfic@gentoo.org> +files/getc.patch, + xfce4-panel-4.1.99.2.ebuild: + Applying panel endianess patch for ppc *xfce4-panel-4.1.99.2 (13 Dec 2004) @@ -32,7 +36,7 @@ xfce4-panel-4.0.6.ebuild: Masked xfce4-panel-4.0.6.ebuild stable for ppc - 07 Aug 2004; Bryan Østergaard <kloeri@gentoo.org> xfce4-panel-4.0.6.ebuild: + 07 Aug 2004; Bryan Østergaard <kloeri@gentoo.org> xfce4-panel-4.0.6.ebuild: Stable on alpha. 06 Aug 2004; Gustavo Zacarias <gustavoz@gentoo.org> diff --git a/xfce-base/xfce4-panel/files/getc.patch b/xfce-base/xfce4-panel/files/getc.patch new file mode 100644 index 000000000000..7777c33e0136 --- /dev/null +++ b/xfce-base/xfce4-panel/files/getc.patch @@ -0,0 +1,41 @@ +--- panel/main.c.orig 2004-10-06 +10:25:08.000000000 +0200 ++++ panel/main.c 2004-12-14 +08:55:53.849841352 +0100 +@@ -316,7 +316,8 @@ + const char *old_subdir, const char *old_file, + const char *new_subdir, const char *new_file) + { +- char *old, *new, *path, c; ++ char *old, *new, *path; ++ int c; + FILE *r, *w; + GError *error = NULL; + +--- panel/xfce_support.c.orig 2004-11-10 +10:36:45.000000000 +0100 ++++ panel/xfce_support.c 2004-12-14 +08:55:53.887835576 +0100 +@@ -194,7 +194,8 @@ + { + FILE *fp; + FILE *bakfp; +- char bakfile[MAXSTRLEN + 1], c; ++ char bakfile[MAXSTRLEN + 1]; ++ int c; + + snprintf (bakfile, MAXSTRLEN, "%s.bak", path); + +--- settings/xfce_settings_plugin.c.orig +2004-12-14 08:56:28.720540200 +0100 ++++ settings/xfce_settings_plugin.c +2004-12-14 08:56:43.271328144 +0100 +@@ -100,7 +100,8 @@ + const char *old_subdir, const char *old_file, + const char *new_subdir, const char *new_file) + { +- char *old, *new, *path, c; ++ char *old, *new, *path; ++ int c; + FILE *r, *w; + GError *error = NULL; diff --git a/xfce-base/xfce4-panel/xfce4-panel-4.1.99.2.ebuild b/xfce-base/xfce4-panel/xfce4-panel-4.1.99.2.ebuild index 6efe19bf61ee..88ee0f21014c 100644 --- a/xfce-base/xfce4-panel/xfce4-panel-4.1.99.2.ebuild +++ b/xfce-base/xfce4-panel/xfce4-panel-4.1.99.2.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfce4-panel/xfce4-panel-4.1.99.2.ebuild,v 1.1 2004/12/13 20:41:53 bcowan Exp $ +# $Header: /var/cvsroot/gentoo-x86/xfce-base/xfce4-panel/xfce4-panel-4.1.99.2.ebuild,v 1.2 2004/12/18 18:57:24 morfic Exp $ + +inherit eutils DESCRIPTION="Xfce 4 panel" HOMEPAGE="http://www.xfce.org/" @@ -23,6 +25,17 @@ RDEPEND="virtual/x11 DEPEND="${RDEPEND} dev-util/pkgconfig" +src_compile () { + unpack ${A} + cd ${S} + if use ppc ; then + epatch ${FILESDIR}/getc.patch + fi + + econf + emake +} + src_install () { make DESTDIR=${D} install || die dodoc ChangeLog* AUTHORS README* TODO* |