summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2012-04-17 11:56:36 +0000
committerNaohiro Aota <naota@gentoo.org>2012-04-17 11:56:36 +0000
commitc3ae63e170a9667920ee951dfb433f6eac024ca4 (patch)
tree2b60591b09f051ee1e99c5a5078221f2c4dd8a4d /mail-filter
parentVersion bump. (diff)
downloadgentoo-2-c3ae63e170a9667920ee951dfb433f6eac024ca4.tar.gz
gentoo-2-c3ae63e170a9667920ee951dfb433f6eac024ca4.tar.bz2
gentoo-2-c3ae63e170a9667920ee951dfb433f6eac024ca4.zip
Add ftime detection patch. Mark ~x86-fbsd. #409623
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'mail-filter')
-rw-r--r--mail-filter/libsrs_alt/ChangeLog8
-rw-r--r--mail-filter/libsrs_alt/files/libsrs_alt-1.0-ftime.patch12
-rw-r--r--mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild15
3 files changed, 30 insertions, 5 deletions
diff --git a/mail-filter/libsrs_alt/ChangeLog b/mail-filter/libsrs_alt/ChangeLog
index dbafebabceef..38a8756e0f6e 100644
--- a/mail-filter/libsrs_alt/ChangeLog
+++ b/mail-filter/libsrs_alt/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-filter/libsrs_alt
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/libsrs_alt/ChangeLog,v 1.28 2011/07/25 13:28:50 eras Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libsrs_alt/ChangeLog,v 1.29 2012/04/17 11:56:36 naota Exp $
+
+ 17 Apr 2012; Naohiro Aota <naota@gentoo.org>
+ +files/libsrs_alt-1.0-ftime.patch, libsrs_alt-1.0.ebuild:
+ Add ftime detection patch. Mark ~x86-fbsd. #409623
25 Jul 2011; Eray Aslan <eras@gentoo.org> -libsrs_alt-1.0_rc1-r1.ebuild:
remove old
diff --git a/mail-filter/libsrs_alt/files/libsrs_alt-1.0-ftime.patch b/mail-filter/libsrs_alt/files/libsrs_alt-1.0-ftime.patch
new file mode 100644
index 000000000000..290c90d6c5d9
--- /dev/null
+++ b/mail-filter/libsrs_alt/files/libsrs_alt-1.0-ftime.patch
@@ -0,0 +1,12 @@
+diff --git a/configure.ac b/configure.ac
+index 5a43896..d0e106c 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -31,6 +31,7 @@ AC_FUNC_FORK
+ AC_TYPE_SIGNAL
+ AC_FUNC_STRNLEN
+ AC_CHECK_LIB(socket, bind)
++AC_CHECK_LIB(compat, ftime)
+ AC_CHECK_FUNCS([ftime memset socket strchr strdup strncasecmp])
+ AC_TYPE_SIZE_T
+
diff --git a/mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild b/mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild
index fc72ecef39e9..a67774435b7d 100644
--- a/mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild
+++ b/mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild,v 1.9 2011/07/17 22:26:10 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-filter/libsrs_alt/libsrs_alt-1.0.ebuild,v 1.10 2012/04/17 11:56:36 naota Exp $
+
+inherit eutils autotools
MY_PV=${PV}
MY_RC=${PV}
@@ -12,12 +14,19 @@ SRC_URI="http://srs.mirtol.com/libsrs_alt-${MY_PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE=""
DEPEND="!dev-perl/Mail-SRS"
RDEPEND=""
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-ftime.patch
+ eautoreconf
+}
+
src_compile() {
# add missing header
sed -i -e '/timeb.h>/ a #include <stdlib.h>' test.c