summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Woods <wwoods@gentoo.org>2003-05-17 00:46:32 +0000
committerWill Woods <wwoods@gentoo.org>2003-05-17 00:46:32 +0000
commit12d0467d06dfb4c4f47259b0e6d085dc175d115a (patch)
tree343bec747d7d78a1b7103d2b898fab4df379d943 /x11-plugins
parentgcc-3.3 needs some testing + portage updates (diff)
downloadgentoo-2-12d0467d06dfb4c4f47259b0e6d085dc175d115a.tar.gz
gentoo-2-12d0467d06dfb4c4f47259b0e6d085dc175d115a.tar.bz2
gentoo-2-12d0467d06dfb4c4f47259b0e6d085dc175d115a.zip
CFLAGS fix, support for non-x86, added ~alpha to KEYWORDS
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/wmnet/ChangeLog7
-rw-r--r--x11-plugins/wmnet/files/wmnet-1.06-nonx86.patch11
-rw-r--r--x11-plugins/wmnet/wmnet-1.06.ebuild14
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"
}