summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Wegener <swegener@gentoo.org>2005-07-14 20:38:04 +0000
committerSven Wegener <swegener@gentoo.org>2005-07-14 20:38:04 +0000
commiteebb9a7ec8f69056efe2fabd56c1b1d710a30214 (patch)
tree3b6c5de4de082fd290703fa1422f8c2d3bcd2bdd
parentRemoved old ebuilds and files. (diff)
downloadhistorical-eebb9a7ec8f69056efe2fabd56c1b1d710a30214.tar.gz
historical-eebb9a7ec8f69056efe2fabd56c1b1d710a30214.tar.bz2
historical-eebb9a7ec8f69056efe2fabd56c1b1d710a30214.zip
That patch is still needed.
Package-Manager: portage-2.0.51.22-r1
-rw-r--r--net-nntp/slrn/Manifest9
-rw-r--r--net-nntp/slrn/files/0.9.8.1-utf8.patch11
-rw-r--r--net-nntp/slrn/slrn-0.9.8.1.ebuild10
3 files changed, 21 insertions, 9 deletions
diff --git a/net-nntp/slrn/Manifest b/net-nntp/slrn/Manifest
index 6f856864e16e..cda261727093 100644
--- a/net-nntp/slrn/Manifest
+++ b/net-nntp/slrn/Manifest
@@ -2,15 +2,16 @@
Hash: SHA1
MD5 2b5efde1aec9c08808519c8fd5c66234 ChangeLog 6690
+MD5 b6ca9be0d72ea5342eaadd2229b22b3e files/0.9.8.1-utf8.patch 322
MD5 969471685aa7412bc60869649312618f files/0.9.8.1/slrn-0.9.8.1-fetch.diff 920
MD5 01717350eabdcda662ff2444d8b3e560 files/0.9.8.1/slrn-0.9.8.1-lastchar2.diff 4732
MD5 ee69dcaa439926ef61572ab61825bf74 files/digest-slrn-0.9.8.1 66
MD5 d4764f5c17f5e0b416f7ddf271c77d71 metadata.xml 161
-MD5 bdc87122fbc4256b12b1c64ea75fa0f6 slrn-0.9.8.1.ebuild 1520
+MD5 846f144c56d6ac669e1444d89b33ae61 slrn-0.9.8.1.ebuild 1516
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFC1sxxI1lqEGTUzyQRAp1lAKCdhzzRn5No4VZ13RykGrOTcRGshACffkou
-f4Bxix3ANRDUTeu7H9KaTkM=
-=sCrr
+iD8DBQFC1s1II1lqEGTUzyQRAqQNAKDWkEQm/rMH3ElyRe0Pfa9CELZQggCgyLlY
+dIbm4SiL3uY8gIYod+6BIwk=
+=Xyan
-----END PGP SIGNATURE-----
diff --git a/net-nntp/slrn/files/0.9.8.1-utf8.patch b/net-nntp/slrn/files/0.9.8.1-utf8.patch
new file mode 100644
index 000000000000..107dd5e2d715
--- /dev/null
+++ b/net-nntp/slrn/files/0.9.8.1-utf8.patch
@@ -0,0 +1,11 @@
+--- src/misc.c
++++ src/misc.c
+@@ -458,7 +458,7 @@
+
+ while (s1 < smax)
+ {
+- if ((*s1 & 0x80) && (eight_bit > (unsigned int) *s1))
++ if ((*s1 & 0x80) && ((eight_bit > (unsigned int) *s1) || (SLsmg_Is_Unicode)))
+ {
+ if (s != (char *) s1)
+ SLsmg_write_nchars (s, (unsigned int) ((char *)s1 - s));
diff --git a/net-nntp/slrn/slrn-0.9.8.1.ebuild b/net-nntp/slrn/slrn-0.9.8.1.ebuild
index 84c40dd06d82..29372e12a65c 100644
--- a/net-nntp/slrn/slrn-0.9.8.1.ebuild
+++ b/net-nntp/slrn/slrn-0.9.8.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/slrn/slrn-0.9.8.1.ebuild,v 1.5 2005/06/20 18:21:46 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/slrn/slrn-0.9.8.1.ebuild,v 1.6 2005/07/14 20:38:04 swegener Exp $
inherit eutils
@@ -36,14 +36,14 @@ pkg_setup() (
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
for i in ${SLRN_PATCHES}
do
- epatch ${FILESDIR}/${PV}/${P}-${i}.diff
+ epatch "${FILESDIR}"/${PV}/${P}-${i}.diff
done
- use unicode && epatch ${FILESDIR}/0.9.8.0/slrn-0.9.8.0-utf8.patch
+ use unicode && epatch "${FILESDIR}"/${PV}-utf8.patch
}
src_compile() {
@@ -58,5 +58,5 @@ src_compile() {
}
src_install () {
- make DESTDIR=${D} install || die "make install failed"
+ make DESTDIR="${D}" install || die "make install failed"
}