summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-04-03 15:44:29 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-04-03 15:44:29 +0000
commit1206132d2ed09a0e609176a886074482bc08be7c (patch)
treed28728230cd8f98a3b4808cc8dd39ba30ce3788d /net-irc/iip
parentPatch to fix compilation with gcc43 from Magnus Granberg. EAPI2ified. Fixes #... (diff)
downloadhistorical-1206132d2ed09a0e609176a886074482bc08be7c.tar.gz
historical-1206132d2ed09a0e609176a886074482bc08be7c.tar.bz2
historical-1206132d2ed09a0e609176a886074482bc08be7c.zip
GCC 4.3 compile fix from Magnus Granberg, fixes #260983. Adding ~amd64 keyword.
Package-Manager: portage-2.2_rc28/cvs/Linux x86_64
Diffstat (limited to 'net-irc/iip')
-rw-r--r--net-irc/iip/ChangeLog9
-rw-r--r--net-irc/iip/Manifest5
-rw-r--r--net-irc/iip/files/iip_open_mode.patch11
-rw-r--r--net-irc/iip/iip-1.2.ebuild18
4 files changed, 34 insertions, 9 deletions
diff --git a/net-irc/iip/ChangeLog b/net-irc/iip/ChangeLog
index c6b775cde2ae..10a632f5807d 100644
--- a/net-irc/iip/ChangeLog
+++ b/net-irc/iip/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-irc/iip
-# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/iip/ChangeLog,v 1.10 2007/02/09 04:24:54 flameeyes Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-irc/iip/ChangeLog,v 1.11 2009/04/03 15:44:28 patrick Exp $
+
+ 03 Apr 2009; Patrick Lauer <patrick@gentoo.org>
+ +files/iip_open_mode.patch, iip-1.2.ebuild:
+ GCC 4.3 compile fix from Magnus Granberg, fixes #260983. Adding ~amd64
+ keyword.
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
diff --git a/net-irc/iip/Manifest b/net-irc/iip/Manifest
index 8ec0a922eb81..7a290ab0b3e7 100644
--- a/net-irc/iip/Manifest
+++ b/net-irc/iip/Manifest
@@ -1,6 +1,7 @@
+AUX iip_open_mode.patch 487 RMD160 82a7296c8de5a40f828f4951f90da0639cc03fb9 SHA1 3fb9bcd88beb5adf4fe98008ca7b1350c27f25a8 SHA256 f771cae704ec858e957d67ebb654677e435b0cd16a9e2914fad3d5a2c71e2e62
DIST iip-1.1.0.tgz 139021 RMD160 5acc5e33bd060bbdc79e819ade9e5ef07ed7299c SHA1 722ce551c3d330aad04729a4c9b729b10a0ca960 SHA256 b20e9b8a15f7c6079ed6397f63cd6fdbe80c6358a7620ad847d0168ec64e8e3a
DIST iip-1.2-dev1.tar.bz2 299053 RMD160 0cdc9e71b670cef24788e622f9120e4579885215 SHA1 e37e79e592945304affb2de297dbd77f76227148 SHA256 8f4bfce32e43a75e71c78d49eecaee9efe3f6b8782878276d590e736566a9fbf
EBUILD iip-1.1.0.ebuild 951 RMD160 ed7a62704d030cb24b8d0a43213ef395a71b879b SHA1 1644e411481255833a639d6d1cf2886bccb3caec SHA256 7ebabc5b7880f6c57c16a33a5a614660e8289098a50db1f5860f026d227dff4f
-EBUILD iip-1.2.ebuild 829 RMD160 60d4daa8a8dd6bfe0e1002d0fff6b0b837694e54 SHA1 1e5c4635ee820a291e43326797e21b35f1ce8203 SHA256 c7ca603ddb5154f9aeac429a7fbed290e00341f948b371f13840fe726be44e1f
-MISC ChangeLog 1795 RMD160 4177c8cf98903e4bbcb91450476f897c5add837e SHA1 42c98a0bfc496c26670f6f622fb658b665b7fb71 SHA256 d3e29e62d4db28bdb695c0ed64ea579dda74b8bc1ec34957161b5f002cd9fb86
+EBUILD iip-1.2.ebuild 926 RMD160 8cf8d9e2dc51d657bc6b738be98dae3e06ff5619 SHA1 74501162ca87dfa4940f909729d7104e7801d2dd SHA256 1351efcec50785a9d3d52fa7ee21751570b085d3a30f354932f12dad9e2d884e
+MISC ChangeLog 1974 RMD160 d9a0fd099bc4608c0066fa9e187b12dc65746c4d SHA1 e28de53d47940d099c98ce01e65cb0869d2c2522 SHA256 7166917c943c83b1c9d75b5762d949a4a57932723532fea70d8cb350eb63af35
MISC metadata.xml 160 RMD160 279429d1df694561fc2b163cb81c09387b9d940c SHA1 97da1b72eecc5585c65717da08eaccc9bc1cf7cd SHA256 5e058419199e306612929b80a996e3d16c6b20de674a56bb60558d3d36524fe2
diff --git a/net-irc/iip/files/iip_open_mode.patch b/net-irc/iip/files/iip_open_mode.patch
new file mode 100644
index 000000000000..6d3aec1af5ab
--- /dev/null
+++ b/net-irc/iip/files/iip_open_mode.patch
@@ -0,0 +1,11 @@
+--- src/misc/unix.c 2002-10-29 07:56:29.000000000 +0000
++++ src/misc/unix.c 2009-03-05 13:12:54.000000000 +0000
+@@ -100,7 +100,7 @@
+ s = stringCopyMany(lockfilepath, lockfileprefix, NULL);
+ s = stringJoinMany(s, intToString((int) getpid()), NULL);
+
+- fd = open(s, O_CREAT | O_EXCL | S_IWUSR);
++ fd = open(s, O_CREAT | O_EXCL ,S_IWUSR | S_IRUSR);
+ if(fd == -1) {
+ LOGERROR(stringCopyMany("unixAddLockFile: open lock file failed (", s, ")",
+ _("Error opening lockfile."), NULL))
diff --git a/net-irc/iip/iip-1.2.ebuild b/net-irc/iip/iip-1.2.ebuild
index f86147e2924d..d4c27059047c 100644
--- a/net-irc/iip/iip-1.2.ebuild
+++ b/net-irc/iip/iip-1.2.ebuild
@@ -1,6 +1,10 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/iip/iip-1.2.ebuild,v 1.8 2004/07/27 17:27:18 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/iip/iip-1.2.ebuild,v 1.9 2009/04/03 15:44:28 patrick Exp $
+
+EAPI="2"
+
+inherit eutils
MY_P="${P}-dev1"
@@ -9,7 +13,7 @@ HOMEPAGE="http://www.invisiblenet.net/iip/"
SRC_URI="mirror://sourceforge/invisibleip/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="~amd64 ~x86 ~ppc"
IUSE=""
RDEPEND="virtual/libc
@@ -20,17 +24,21 @@ DEPEND="${RDEPEND}
S="${WORKDIR}/${MY_P}"
+src_prepare() {
+ epatch "${FILESDIR}/iip_open_mode.patch"
+}
+
src_compile() {
econf || die "econf failed"
sed -i \
- -e "s:-Werror::" ${S}/src/Makefile || \
+ -e "s:-Werror::" "${S}"/src/Makefile || \
die "sed Makefile failed"
emake || die "emake failed"
}
src_install() {
- make DESTDIR=${D} install || die "make install failed"
+ make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS README
}