diff options
author | Danny van Dyk <kugelfang@gentoo.org> | 2004-04-22 22:06:56 +0000 |
---|---|---|
committer | Danny van Dyk <kugelfang@gentoo.org> | 2004-04-22 22:06:56 +0000 |
commit | 80e8765c367367b2c9e64995dcb864fd6b88be02 (patch) | |
tree | 2eb80dc2e37dee6c77e7e0f4d9cec29d2f57ead1 /x11-misc/xsnap | |
parent | Added to ~ppc (Manifest recommit) (diff) | |
download | gentoo-2-80e8765c367367b2c9e64995dcb864fd6b88be02.tar.gz gentoo-2-80e8765c367367b2c9e64995dcb864fd6b88be02.tar.bz2 gentoo-2-80e8765c367367b2c9e64995dcb864fd6b88be02.zip |
~amd64, BUG #48707
Diffstat (limited to 'x11-misc/xsnap')
-rw-r--r-- | x11-misc/xsnap/ChangeLog | 6 | ||||
-rw-r--r-- | x11-misc/xsnap/files/xsnap-1.3-gentoo.patch | 19 | ||||
-rw-r--r-- | x11-misc/xsnap/xsnap-1.3.ebuild | 10 |
3 files changed, 32 insertions, 3 deletions
diff --git a/x11-misc/xsnap/ChangeLog b/x11-misc/xsnap/ChangeLog index d822c7eabbdf..98e516597727 100644 --- a/x11-misc/xsnap/ChangeLog +++ b/x11-misc/xsnap/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-misc/xsnap # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsnap/ChangeLog,v 1.4 2004/04/11 17:47:08 pyrania Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsnap/ChangeLog,v 1.5 2004/04/22 22:06:56 kugelfang Exp $ + + 23 Apr 2004; Danny van Dyk <kugelfang@gentoo.org> + +files/xsnap-1.3-gentoo.patch, xsnap-1.3.ebuild: + Added minor patch on amd64 only. Fixes BUG #48707 11 Apr 2004; Markus Nigbur <pyrania@gentoo.org> xsnap-1.3.ebuild: Ebuild fixups. diff --git a/x11-misc/xsnap/files/xsnap-1.3-gentoo.patch b/x11-misc/xsnap/files/xsnap-1.3-gentoo.patch new file mode 100644 index 000000000000..8991e4df255a --- /dev/null +++ b/x11-misc/xsnap/files/xsnap-1.3-gentoo.patch @@ -0,0 +1,19 @@ +--- xsnap-1.3/xsnap.c.orig 2004-04-23 00:00:48.323212832 +0200 ++++ xsnap-1.3/xsnap.c 2004-04-23 00:01:15.564071592 +0200 +@@ -17,6 +17,7 @@ + */ + + #include <stdio.h> ++#include <stdlib.h> + #include <unistd.h> + #include <sys/stat.h> + #include <X11/Xlib.h> +@@ -693,7 +694,7 @@ + int i, notfound; + struct stat buf; + +- if (*filename = '?') ++ if (*filename == '?') + { + i=0; + notfound=0; diff --git a/x11-misc/xsnap/xsnap-1.3.ebuild b/x11-misc/xsnap/xsnap-1.3.ebuild index f8798cefab7d..9fc9dd432fd1 100644 --- a/x11-misc/xsnap/xsnap-1.3.ebuild +++ b/x11-misc/xsnap/xsnap-1.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsnap/xsnap-1.3.ebuild,v 1.3 2004/04/11 17:47:08 pyrania Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsnap/xsnap-1.3.ebuild,v 1.4 2004/04/22 22:06:56 kugelfang Exp $ DESCRIPTION="Program to interactively take a 'snapshot' of a region of the screen" @@ -9,10 +9,16 @@ HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/" SLOT="0" LICENSE="BSD" -KEYWORDS="x86 ppc ~sparc" +KEYWORDS="x86 ppc ~sparc ~amd64" DEPEND="virtual/x11" +src_unpack() { + unpack ${A} + cd ${WORKDIR} + use amd64 && epatch ${FILESDIR}/${P}-gentoo.patch +} + src_compile() { xmkmf || die make || die |