diff options
author | Alin Năstac <mrness@gentoo.org> | 2008-10-18 09:15:32 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2008-10-18 09:15:32 +0000 |
commit | c94e6ddf506f08d33bbc197258fb6d1320dcdf90 (patch) | |
tree | 69bf8cb2b0b810814e0a6f7ea373c18027359d2a /net-dialup | |
parent | adcserver mirror redirects to index.html on failure, which causes digest fail... (diff) | |
download | historical-c94e6ddf506f08d33bbc197258fb6d1320dcdf90.tar.gz historical-c94e6ddf506f08d33bbc197258fb6d1320dcdf90.tar.bz2 historical-c94e6ddf506f08d33bbc197258fb6d1320dcdf90.zip |
Merge sed patches into gentoo.patch (#240882).
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/xc/ChangeLog | 6 | ||||
-rw-r--r-- | net-dialup/xc/Manifest | 16 | ||||
-rw-r--r-- | net-dialup/xc/files/xc-4.3.2-gentoo.patch (renamed from net-dialup/xc/files/xc-4.3.2-gentoo.diff) | 41 | ||||
-rw-r--r-- | net-dialup/xc/xc-4.3.2-r1.ebuild | 16 |
4 files changed, 55 insertions, 24 deletions
diff --git a/net-dialup/xc/ChangeLog b/net-dialup/xc/ChangeLog index 82e6b2bab737..2f92864bc826 100644 --- a/net-dialup/xc/ChangeLog +++ b/net-dialup/xc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/xc # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/xc/ChangeLog,v 1.20 2008/04/24 16:21:38 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/xc/ChangeLog,v 1.21 2008/10/18 09:15:32 mrness Exp $ + + 18 Oct 2008; Alin Năstac <mrness@gentoo.org> -files/xc-4.3.2-gentoo.diff, + +files/xc-4.3.2-gentoo.patch, xc-4.3.2-r1.ebuild: + Merge sed patches into gentoo.patch (#240882). 24 Apr 2008; <solar@gentoo.org> xc-4.3.2-r1.ebuild: - make ebuild cross-compile aware diff --git a/net-dialup/xc/Manifest b/net-dialup/xc/Manifest index 1f83811f618a..28e7e6b76b58 100644 --- a/net-dialup/xc/Manifest +++ b/net-dialup/xc/Manifest @@ -1,7 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX xc-4.3.2-add-115200.patch 246 RMD160 a9c1c7baff2e40b56443600e01b04ec217333e38 SHA1 04d3a8a470904c4b1f6bb11993decdb388539121 SHA256 306e701a73fe677c2c254280fe1f186bc41341615e7810e0c94884b397095087 -AUX xc-4.3.2-gentoo.diff 2264 RMD160 5e77fe0d269bcc3d92dc4c98977047f9d021d584 SHA1 cf3059c99769bea48c3090b578fa35365679e632 SHA256 1e16d1527e3183fa20ca632ee35403e33442147a05f013ff6c6619f01872db53 +AUX xc-4.3.2-gentoo.patch 2903 RMD160 65b83a17cebdbd379ea9d692a902f16b98e0a8ca SHA1 313841c1616ea11932a48ca13ded849223540439 SHA256 1423c7902bf236db1ba6099144da71a2934ee16ad2df2c697a218b78a9f5634c AUX xc-4.3.2-implicit-decl.patch 663 RMD160 3f9bb6d8a6783468f84497bbcba9747ce7e34bbb SHA1 1b7bf333caa44bb2f15b630b97c4d173db54c570 SHA256 094bef02705892cbca73d4eecfbd11e6d722087ee8a394547110b807d17c0c7d DIST xc-4.3.2.tar.gz 162098 RMD160 7fb7206c1f78a00bbee736e405402d8bae90f59a SHA1 fccfb07d7bf18d652de4aa07bf023a45ebc39af9 SHA256 7e90ff0b89b646e1c8625fc675e6b33d244ab332a052ddd2daed825719e59461 -EBUILD xc-4.3.2-r1.ebuild 1294 RMD160 1264c82d6a48ec2c18b794e7c2cf49a68d335ea9 SHA1 5f27ef030b25f9b88cfb41a667f65da4db65ee97 SHA256 dfbc09111d4ce9b406042b3b6753ca162854c3392c82f1c04ffb1be7e4b9486d -MISC ChangeLog 2522 RMD160 067a874094c0044f910d026d1ab628cd9ec84922 SHA1 25d69d184742311993e64362f2de313e40b6e16b SHA256 50aa5d2ebfc687d87320a8b5c7c890431d3aa7b4ef038985f6a08bf030670908 +EBUILD xc-4.3.2-r1.ebuild 1034 RMD160 89b37499b4aeb8fd020c272f0b88c7f62399ee21 SHA1 b7cf53b4f69fad5ab05e66681eb8e8b17f81da8e SHA256 284e128ae23aa67ec184740496df315f98f4bd4dd6510748fb613ec6d72014a0 +MISC ChangeLog 2702 RMD160 e5d19935e5e32dbe4673a43bcd09514cd4696f12 SHA1 7fc7d2b9e755325f225d00ef73fd4dc245ab8bcf SHA256 438be3cb49fe39b933fcfcedfda0e2a3d87aed694fdc74fd565f6e2a69ff7b87 MISC metadata.xml 163 RMD160 df94c60cc0bb7abe5913b464a33966b142b2fe1e SHA1 d8332605fd22c32f15438bbdf24aa622c3d2738a SHA256 1137a0fd866641cf719b0c2e9e77ca9fa4541a42f2cc851fe4659cf2677acca3 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkj5qUAACgkQPrHvTlXvhtvkyACfYliFhuEn0c0WLk+qjHNF6FZN +jcwAn36PPXNeUQFyrU2isdYFmdgt+5LA +=SrZ6 +-----END PGP SIGNATURE----- diff --git a/net-dialup/xc/files/xc-4.3.2-gentoo.diff b/net-dialup/xc/files/xc-4.3.2-gentoo.patch index de88d5381bd4..7503c5b33382 100644 --- a/net-dialup/xc/files/xc-4.3.2-gentoo.diff +++ b/net-dialup/xc/files/xc-4.3.2-gentoo.patch @@ -1,7 +1,7 @@ -diff -Nru xc-4.3.2.orig/Makefile xc-4.3.2/Makefile ---- xc-4.3.2.orig/Makefile 2006-09-23 19:41:03.000000000 +0300 -+++ xc-4.3.2/Makefile 2006-09-23 19:41:29.560470750 +0300 -@@ -5,6 +5,8 @@ +diff -ur xc-4.3.2.orig/Makefile xc-4.3.2/Makefile +--- xc-4.3.2.orig/Makefile 1996-11-24 06:56:14.000000000 +0000 ++++ xc-4.3.2/Makefile 2008-10-18 09:06:12.000000000 +0000 +@@ -5,21 +5,23 @@ SHELL = /bin/sh @@ -10,9 +10,14 @@ diff -Nru xc-4.3.2.orig/Makefile xc-4.3.2/Makefile #WARN = -Wall -ansi -pedantic -Wshadow -Wmissing-prototypes #machine = -m486 -@@ -14,12 +16,12 @@ +-CC = gcc +-GCCOPT = -pipe -O2 -fno-strength-reduce -fomit-frame-pointer $(machine) ++#CC = gcc ++GCCOPT = -fno-strength-reduce + #GCCOPT = -O -g CDEFS = -D_POSIX_SOURCE=1 - CFLAGS = $(WARN) $(CDEFS) $(GCCOPT) +-CFLAGS = $(WARN) $(CDEFS) $(GCCOPT) ++CFLAGS += $(WARN) $(CDEFS) $(GCCOPT) -prefix = /usr/local +prefix = /usr @@ -26,6 +31,24 @@ diff -Nru xc-4.3.2.orig/Makefile xc-4.3.2/Makefile binown = -o root -g root export CC CFLAGS manown binown +@@ -37,7 +39,7 @@ + # gs -sDEVICE=ljet4 -dNOPAUSE -sOutputFile=$@ $< + + INSTALL = install +-LDFLAGS = -ltermcap editline/libedit.a ++LIBS = -lncurses editline/libedit.a + NROFF = groff -mandoc + + # defines for use with cextract under Linux +@@ -56,7 +58,7 @@ + @echo "Now you may execute 'make install'" + + xc: $(OBJS) eline +- $(CC) $(CFLAGS) $(OBJS) -o xc $(LDFLAGS) ++ $(CC) $(LDFLAGS) $(OBJS) -o xc $(LIBS) + + uninstall: + rm -f $(bindir)/xc $(mandir)/xc.1 $(catdir)/xc.1.* @@ -64,10 +66,10 @@ install: ./bin/xc ./bin/crc xc.1 crc.1 @@ -49,9 +72,9 @@ diff -Nru xc-4.3.2.orig/Makefile xc-4.3.2/Makefile ######################################### ## mostly unused stuff below here ... ## -diff -Nru xc-4.3.2.orig/xcsubs.c xc-4.3.2/xcsubs.c ---- xc-4.3.2.orig/xcsubs.c 2006-09-23 19:41:03.000000000 +0300 -+++ xc-4.3.2/xcsubs.c 2006-09-23 19:41:19.711855250 +0300 +diff -ur xc-4.3.2.orig/xcsubs.c xc-4.3.2/xcsubs.c +--- xc-4.3.2.orig/xcsubs.c 1996-09-21 08:22:17.000000000 +0000 ++++ xc-4.3.2/xcsubs.c 2008-10-18 09:04:32.000000000 +0000 @@ -23,7 +23,7 @@ *tgetstr(), *tgoto(); int LI, /* One less than screen length in termcap entry */ diff --git a/net-dialup/xc/xc-4.3.2-r1.ebuild b/net-dialup/xc/xc-4.3.2-r1.ebuild index 78cc33dda000..a277da1a1d40 100644 --- a/net-dialup/xc/xc-4.3.2-r1.ebuild +++ b/net-dialup/xc/xc-4.3.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/xc/xc-4.3.2-r1.ebuild,v 1.17 2008/04/24 16:21:38 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/xc/xc-4.3.2-r1.ebuild,v 1.18 2008/10/18 09:15:32 mrness Exp $ inherit eutils toolchain-funcs @@ -17,24 +17,18 @@ DEPEND="sys-libs/ncurses" src_unpack() { unpack ${A} - tc-export CC + cd "${S}" - epatch "${FILESDIR}/${P}-gentoo.diff" + epatch "${FILESDIR}/${P}-gentoo.patch" epatch "${FILESDIR}/${P}-implicit-decl.patch" # Adds 115200 bps support epatch "${FILESDIR}/${P}-add-115200.patch" - - # Fixes the Makefile to use gentoo CFLAGS - sed -i \ - -e "s:GCCOPT\t= -pipe -O2 -fno-strength-reduce -fomit-frame-pointer:GCCOPT\t= ${CFLAGS} -fno-strength-reduce:g" \ - -e "s:-ltermcap:-lncurses ${LDFLAGS}:" \ - -e 's:CC\t= gcc:CC='${CC}':' \ - Makefile || die } src_compile() { - make WARN="" all prefix=/usr mandir=/usr/share/man || die "make failed" + tc-export CC + emake WARN="" all prefix=/usr mandir=/usr/share/man || die "make failed" } src_install () { |