mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 23:27:12 -08:00
Merge updates from master
This commit is contained in:
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~hppa ~ppc ~sparc x86"
|
||||
KEYWORDS="alpha amd64 arm hppa ~ppc ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
|
||||
@@ -16,7 +16,7 @@ SRC_URI="
|
||||
"
|
||||
LICENSE="LGPL-2.1 utils? ( GPL-2 )"
|
||||
SLOT="3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
|
||||
IUSE="static-libs python utils"
|
||||
|
||||
RDEPEND="python? ( ${PYTHON_DEPS} )
|
||||
|
||||
@@ -20,16 +20,20 @@ RDEPEND="${DEPEND}"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
my_curses_version() {
|
||||
my_curses_unicode() {
|
||||
echo ncurses$(use unicode && echo w)
|
||||
}
|
||||
|
||||
my_curses_version() {
|
||||
echo ncurses$(use unicode && echo w)$(has_version '>sys-libs/ncurses-6' && echo 6 || echo 5)
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
myconf="${myconf} FORMS PANELS MENUS"
|
||||
mydoc=HISTORY
|
||||
export CURSES_LIBTYPE=$(my_curses_version)
|
||||
export CURSES_LDFLAGS=$($(my_curses_version)5-config --libs)
|
||||
export CURSES_CFLAGS=$( $(my_curses_version)5-config --cflags)
|
||||
export CURSES_LIBTYPE=$(my_curses_unicode)
|
||||
export CURSES_LDFLAGS=$($(my_curses_version)-config --libs)
|
||||
export CURSES_CFLAGS=$( $(my_curses_version)-config --cflags)
|
||||
}
|
||||
|
||||
src_configure(){
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
diff -Naurp CursesFun.c.old CursesFun.c
|
||||
--- CursesFun.c.old 2005-03-05 09:15:20.714006864 -0500
|
||||
+++ CursesFun.c 2005-03-05 09:16:14.501829872 -0500
|
||||
@@ -1276,8 +1276,8 @@ XS(XS_Curses_newterm)
|
||||
c_exactargs("newterm", items, 3);
|
||||
{
|
||||
char * type = ST(0) != &PL_sv_undef ? (char *)SvPV(ST(0),PL_na) : NULL;
|
||||
- FILE * outfd = IoIFP(sv_2io(ST(1)));
|
||||
- FILE * infd = IoIFP(sv_2io(ST(2)));
|
||||
+ FILE * outfd = PerlIO_findFILE(IoIFP(sv_2io(ST(1))));
|
||||
+ FILE * infd = PerlIO_findFILE(IoIFP(sv_2io(ST(2))));
|
||||
SCREEN * ret = newterm(type, outfd, infd);
|
||||
|
||||
ST(0) = sv_newmortal();
|
||||
@@ -3450,7 +3450,7 @@ XS(XS_Curses_putwin)
|
||||
c_exactargs("putwin", items, 2);
|
||||
{
|
||||
WINDOW *win = c_sv2window(ST(0), 0);
|
||||
- FILE * filep = IoIFP(sv_2io(ST(1)));
|
||||
+ FILE * filep = PerlIO_findFILE(IoIFP(sv_2io(ST(1))));
|
||||
int ret = putwin(win, filep);
|
||||
|
||||
ST(0) = sv_newmortal();
|
||||
@@ -3469,7 +3469,7 @@ XS(XS_Curses_getwin)
|
||||
#ifdef C_GETWIN
|
||||
c_exactargs("getwin", items, 1);
|
||||
{
|
||||
- FILE * filep = IoIFP(sv_2io(ST(0)));
|
||||
+ FILE * filep = PerlIO_findFILE(IoIFP(sv_2io(ST(0))));
|
||||
WINDOW * ret = getwin(filep);
|
||||
|
||||
ST(0) = sv_newmortal();
|
||||
@@ -18,7 +18,7 @@ SRC_URI="http://avahi.org/download/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-linux"
|
||||
IUSE="autoipd bookmarks dbus doc gdbm gtk gtk3 howl-compat +introspection ipv6 kernel_linux mdnsresponder-compat mono nls python qt4 selinux test utils"
|
||||
|
||||
REQUIRED_USE="
|
||||
|
||||
@@ -12,7 +12,7 @@ SRC_URI="http://roy.marples.name/downloads/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
||||
IUSE="selinux"
|
||||
|
||||
DEPEND="!net-dns/resolvconf-gentoo
|
||||
|
||||
@@ -18,7 +18,7 @@ done
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 x86 ~x86-fbsd"
|
||||
KEYWORDS="amd64 ~arm hppa ~ppc ~ppc64 x86 ~x86-fbsd"
|
||||
IUSE="crypt dbus debug doc jingle spell ssl xscreensaver whiteboarding"
|
||||
RESTRICT="test"
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ SRC_URI="http://fossies.org/linux/privat/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="sys-apps/texinfo"
|
||||
|
||||
Reference in New Issue
Block a user