summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-10-14 07:47:44 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-10-14 07:47:44 +0000
commit055268f575519c1307ace4813e62a163845fd6b4 (patch)
treece13babf65f9a66496ae41b42595336020e48730 /net-print
parentEnsure mmc generates .c files before mkinit is run. (diff)
downloadgentoo-2-055268f575519c1307ace4813e62a163845fd6b4.tar.gz
gentoo-2-055268f575519c1307ace4813e62a163845fd6b4.tar.bz2
gentoo-2-055268f575519c1307ace4813e62a163845fd6b4.zip
Apply patch to fix USE=kerberos build thanks to Ryan Hendrickson <rhendric@mit.edu> in bug 151041 and Thomas Pfaff <tpfaff@gmx.net>
(Portage version: 2.1.2_pre2-r9)
Diffstat (limited to 'net-print')
-rw-r--r--net-print/lprng/ChangeLog7
-rw-r--r--net-print/lprng/files/lprng-3.8.28-krb.diff11
-rw-r--r--net-print/lprng/lprng-3.8.28.ebuild3
3 files changed, 19 insertions, 2 deletions
diff --git a/net-print/lprng/ChangeLog b/net-print/lprng/ChangeLog
index ee547df2afea..bff2b4db96b7 100644
--- a/net-print/lprng/ChangeLog
+++ b/net-print/lprng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-print/lprng
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.46 2006/09/08 20:07:10 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/ChangeLog,v 1.47 2006/10/14 07:47:43 genstef Exp $
+
+ 14 Oct 2006; Stefan Schweizer <genstef@gentoo.org>
+ +files/lprng-3.8.28-krb.diff, lprng-3.8.28.ebuild:
+ Apply patch to fix USE=kerberos build thanks to Ryan Hendrickson
+ <rhendric@mit.edu> in bug 151041 and Thomas Pfaff <tpfaff@gmx.net>
08 Sep 2006; Markus Rothe <corsair@gentoo.org> lprng-3.8.28.ebuild:
Added ~ppc64; bug #146851
diff --git a/net-print/lprng/files/lprng-3.8.28-krb.diff b/net-print/lprng/files/lprng-3.8.28-krb.diff
new file mode 100644
index 000000000000..76381e560d06
--- /dev/null
+++ b/net-print/lprng/files/lprng-3.8.28-krb.diff
@@ -0,0 +1,11 @@
+--- LPRng-3.8.28/src/common/krb5_auth.c.org 2004-09-24 22:19:57.000000000 +0200
++++ LPRng-3.8.28/src/common/krb5_auth.c 2006-10-13 09:19:44.000000000 +0200
+@@ -922,7 +922,7 @@
+ nstored = 0;
+ }
+
+- if ((cc = Read_fd_len_timeout(transfer_timeout, fd, len_buf, 4)) != 4) {
++ if ((cc = Read_fd_len_timeout(transfer_timeout, fd, (char*)len_buf, 4)) != 4) {
+ /* XXX can't read enough, pipe must have closed */
+ return(0);
+ }
diff --git a/net-print/lprng/lprng-3.8.28.ebuild b/net-print/lprng/lprng-3.8.28.ebuild
index 0bdb2ebd9066..51e6c7e70a2c 100644
--- a/net-print/lprng/lprng-3.8.28.ebuild
+++ b/net-print/lprng/lprng-3.8.28.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/lprng-3.8.28.ebuild,v 1.8 2006/09/08 20:07:10 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/lprng/lprng-3.8.28.ebuild,v 1.9 2006/10/14 07:47:43 genstef Exp $
inherit eutils flag-o-matic
@@ -35,6 +35,7 @@ src_unpack() {
epatch ${FILESDIR}/${PN}-3.8.27-certs.diff
epatch ${FILESDIR}/${P}-lpq.diff
epatch ${FILESDIR}/${P}-make.diff
+ epatch ${FILESDIR}/${P}-krb.diff
}
src_compile() {