diff options
author | Will Woods <wwoods@gentoo.org> | 2003-05-17 00:46:32 +0000 |
---|---|---|
committer | Will Woods <wwoods@gentoo.org> | 2003-05-17 00:46:32 +0000 |
commit | a1a47ff270718444e709e98bc5698e6a04612eeb (patch) | |
tree | ff0c81485a5ec4bd45cf79ac90fbbeb4546e8bba /x11-plugins/wmnet | |
parent | gcc-3.3 needs some testing + portage updates (diff) | |
download | historical-a1a47ff270718444e709e98bc5698e6a04612eeb.tar.gz historical-a1a47ff270718444e709e98bc5698e6a04612eeb.tar.bz2 historical-a1a47ff270718444e709e98bc5698e6a04612eeb.zip |
CFLAGS fix, support for non-x86, added ~alpha to KEYWORDS
Diffstat (limited to 'x11-plugins/wmnet')
-rw-r--r-- | x11-plugins/wmnet/ChangeLog | 7 | ||||
-rw-r--r-- | x11-plugins/wmnet/files/wmnet-1.06-nonx86.patch | 11 | ||||
-rw-r--r-- | x11-plugins/wmnet/wmnet-1.06.ebuild | 14 |
3 files changed, 27 insertions, 5 deletions
diff --git a/x11-plugins/wmnet/ChangeLog b/x11-plugins/wmnet/ChangeLog index fc0669136ae8..281b6a04aea2 100644 --- a/x11-plugins/wmnet/ChangeLog +++ b/x11-plugins/wmnet/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-plugins/wmnet # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmnet/ChangeLog,v 1.5 2003/02/12 09:42:49 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmnet/ChangeLog,v 1.6 2003/05/17 00:46:32 wwoods Exp $ + + 16 May 2003; Will Woods <wwoods@gentoo.org> wmnet-1.06.ebuild, + files/wmnet-1.06-nonx86.patch: + Added patch for non-x86 arches and ~alpha to KEYWORDS, small fix to use + CFLAGS when building. 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords diff --git a/x11-plugins/wmnet/files/wmnet-1.06-nonx86.patch b/x11-plugins/wmnet/files/wmnet-1.06-nonx86.patch new file mode 100644 index 000000000000..8e9005512396 --- /dev/null +++ b/x11-plugins/wmnet/files/wmnet-1.06-nonx86.patch @@ -0,0 +1,11 @@ +--- wmnet-1.06/wmnet.c 2000-05-04 21:01:14.000000000 -0400 ++++ wmnet-1.06-ww/wmnet.c 2003-05-16 18:43:02.000000000 -0400 +@@ -342,7 +342,7 @@ + signal_action.sa_handler = got_signal; + sigemptyset(&signal_action.sa_mask); + signal_action.sa_flags = (SA_NOCLDSTOP|SA_RESTART); +-#ifdef linux ++#if defined(linux) && !defined(__alpha__) && !defined(__hppa__) && !defined(__ia64__) + signal_action.sa_restorer = NULL; + #endif + if ((sigaction(SIGCHLD, &signal_action, NULL) == -1) || diff --git a/x11-plugins/wmnet/wmnet-1.06.ebuild b/x11-plugins/wmnet/wmnet-1.06.ebuild index 9cbbe93a7436..c4592591630d 100644 --- a/x11-plugins/wmnet/wmnet-1.06.ebuild +++ b/x11-plugins/wmnet/wmnet-1.06.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmnet/wmnet-1.06.ebuild,v 1.5 2003/02/13 17:31:39 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmnet/wmnet-1.06.ebuild,v 1.6 2003/05/17 00:46:32 wwoods Exp $ S=${WORKDIR}/${P} @@ -12,13 +12,19 @@ DEPEND="virtual/x11" SLOT="0" LICENSE="GPL-2" -KEYWORDS="x86 sparc " +KEYWORDS="x86 sparc ~alpha" + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-nonx86.patch +} src_compile() { xmkmf || die "xmkmf failed" - - emake || die "parallel make failed" + + emake CDEBUGFLAGS="${CFLAGS}" || die "parallel make failed" } |