summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2011-10-14 03:12:38 +0000
committerNaohiro Aota <naota@gentoo.org>2011-10-14 03:12:38 +0000
commit46d14b6d62740958e3a58692baca96b507fb8df5 (patch)
tree3c1ea39833f944a555e60209ac521e888f2e4a9d /dev-libs/newt
parentAssign myself as maintainer. (diff)
downloadhistorical-46d14b6d62740958e3a58692baca96b507fb8df5.tar.gz
historical-46d14b6d62740958e3a58692baca96b507fb8df5.tar.bz2
historical-46d14b6d62740958e3a58692baca96b507fb8df5.zip
Marked as ~x86-fbsd. Add patches to build on FreeBSD
Package-Manager: portage-2.2.0_alpha64/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/newt')
-rw-r--r--dev-libs/newt/ChangeLog6
-rw-r--r--dev-libs/newt/Manifest12
-rw-r--r--dev-libs/newt/files/newt-0.52.12-install.patch14
-rw-r--r--dev-libs/newt/files/newt-0.52.12-whiptail.patch14
-rw-r--r--dev-libs/newt/newt-0.52.12.ebuild7
5 files changed, 45 insertions, 8 deletions
diff --git a/dev-libs/newt/ChangeLog b/dev-libs/newt/ChangeLog
index b293eb5ca557..6ea8379134a3 100644
--- a/dev-libs/newt/ChangeLog
+++ b/dev-libs/newt/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/newt
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.75 2011/10/14 02:53:38 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/ChangeLog,v 1.76 2011/10/14 03:12:38 naota Exp $
+
+ 14 Oct 2011; Naohiro Aota <naota@gentoo.org> newt-0.52.12.ebuild,
+ +files/newt-0.52.12-install.patch, +files/newt-0.52.12-whiptail.patch:
+ Marked as ~x86-fbsd. Add patches to build on FreeBSD
14 Oct 2011; Naohiro Aota <naota@gentoo.org> metadata.xml:
Assign myself as maintainer.
diff --git a/dev-libs/newt/Manifest b/dev-libs/newt/Manifest
index dcdb9c3139c5..6e18267a3021 100644
--- a/dev-libs/newt/Manifest
+++ b/dev-libs/newt/Manifest
@@ -1,14 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX newt-0.52.12-install.patch 617 RMD160 ee73f5b89833b13ad3de3d4993f28f4b8651e327 SHA1 c72b81307caa262104797638fb3df3155770fa24 SHA256 1f6a5c683c5152b5066c4760d9307e63f3bac1e126c0575e57714d108701556b
+AUX newt-0.52.12-whiptail.patch 276 RMD160 6e0af2aa97e5728566ba8eb710bba069a3bc578b SHA1 65ccd6119ff5529b73256c1d0558053d8e0bbfee SHA256 c2a498ba3bbb5dd600ad955d92075b071176c78d79c0b62f467db9082400bf36
DIST newt-0.52.12.tar.gz 178027 RMD160 0d34b278e72c1b1305fc110e491e3bc96b42a374 SHA1 6952115806c7b1dbc36858eb4ca0596b235cf6f4 SHA256 2ba88dc3d118daf509c58e3707c43ad57dd3415d8164054e93fe76439f348529
-EBUILD newt-0.52.12.ebuild 1619 RMD160 95150ad2e92c62ff8f3735330849e97df406ce02 SHA1 22a0e85ec58db2b3eabb4665b8537fa56f13da35 SHA256 ab2d761ffb11137aa5993787cb69ab162c819f51cb9832a0e6222c442bd516b8
-MISC ChangeLog 10574 RMD160 a476f1079e371ae80949b3e8e4065f181c475328 SHA1 c39ad5201c43258261c02642b0124fa47874d4f6 SHA256 514aa6dbec7e867c5024c52de57f60f32fa21050cefe60793f3dd2d8c62137df
+EBUILD newt-0.52.12.ebuild 1712 RMD160 7f8a656743fbb3d7ff81d729c05f8b16a1a603a3 SHA1 4e44332ee0886362d3414d812b55afe344e20553 SHA256 a3ec5c2d26a7d67bfa5d26f9776b3ff33d3510ed03a9ff00cc9127f7f2320cf9
+MISC ChangeLog 10771 RMD160 0d9e87810975d83eb55480ea77816006a1ef4362 SHA1 3a533842eed6c42f7aac7d81d621600412e64548 SHA256 ad23b0f4f3e133226a0b272be87d701934fdf024f1d3c69c8fe8ba496cb9201f
MISC metadata.xml 202 RMD160 bb6dfca1294b7a3796e361c3f69f186275ee5f32 SHA1 c12cef549a1dfea6b77e5580146e209a5404da43 SHA256 36dd3867461c37202f288f649ddac9571acba7bbee47e1ab46a5b72074e986ab
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk6XpEQACgkQGpDnPLSHuMDNWACgxmz6r4SWeSANvcucikxr+/vJ
-iicAn0lQlko+Ckb2JjNaVhZrbFFQbdpm
-=1wPj
+iEYEARECAAYFAk6XqKoACgkQGpDnPLSHuMDL+wCfW6+a5N2IUg4SNy78wWgs79Bn
+6qoAoKO8z8kw4c/Y0SdLSigTwpX+srp2
+=4g0J
-----END PGP SIGNATURE-----
diff --git a/dev-libs/newt/files/newt-0.52.12-install.patch b/dev-libs/newt/files/newt-0.52.12-install.patch
new file mode 100644
index 000000000000..b60f96fe6300
--- /dev/null
+++ b/dev-libs/newt/files/newt-0.52.12-install.patch
@@ -0,0 +1,14 @@
+diff --git a/Makefile.in b/Makefile.in
+index 7a5f1fd..16d7fd8 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -119,7 +119,8 @@ install: $(LIBNEWT) install-sh whiptail
+ install -m 755 whiptail $(DESTDIR)/$(bindir)
+ install -m 644 whiptail.1 $(DESTDIR)/$(man1dir)
+ $(MAKE) -C po datadir=$(DESTDIR)/$(datadir) install
+- install -m 644 -D libnewt.pc $(DESTDIR)/$(pkgconfigdir)/libnewt.pc
++ install -d $(DESTDIR)/$(pkgconfigdir)
++ install -m 644 libnewt.pc $(DESTDIR)/$(pkgconfigdir)/libnewt.pc
+
+ install-sh: sharedlib $(WHIPTCLSO) _snackmodule.so
+ [ -d $(DESTDIR)/$(libdir) ] || install -m 755 -d $(DESTDIR)/$(libdir)
diff --git a/dev-libs/newt/files/newt-0.52.12-whiptail.patch b/dev-libs/newt/files/newt-0.52.12-whiptail.patch
new file mode 100644
index 000000000000..7af45cb574d6
--- /dev/null
+++ b/dev-libs/newt/files/newt-0.52.12-whiptail.patch
@@ -0,0 +1,14 @@
+diff --git a/whiptail.c b/whiptail.c
+index 09eca15..ac80652 100644
+--- a/whiptail.c
++++ b/whiptail.c
+@@ -8,6 +8,9 @@
+ #include <unistd.h>
+ #include <wchar.h>
+ #include <slang.h>
++#ifdef __FreeBSD__
++# include <sys/stat.h>
++#endif
+
+ #include "nls.h"
+ #include "dialogboxes.h"
diff --git a/dev-libs/newt/newt-0.52.12.ebuild b/dev-libs/newt/newt-0.52.12.ebuild
index 0a25dbfa1223..e0cf4941f208 100644
--- a/dev-libs/newt/newt-0.52.12.ebuild
+++ b/dev-libs/newt/newt-0.52.12.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild,v 1.9 2011/03/01 01:19:47 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/newt/newt-0.52.12.ebuild,v 1.10 2011/10/14 03:12:38 naota Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -13,7 +13,7 @@ SRC_URI="https://fedorahosted.org/releases/n/e/newt/${P}.tar.gz"
LICENSE="LGPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="gpm tcl nls"
RDEPEND="=sys-libs/slang-2*
@@ -44,6 +44,9 @@ src_prepare() {
-e 's|instroot|DESTDIR|g' \
-e 's| make | $(MAKE) |g' \
|| die "sed Makefile.in"
+
+ epatch "${FILESDIR}"/${P}-whiptail.patch \
+ "${FILESDIR}"/${P}-install.patch
}
src_configure() {