summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-07-10 02:11:41 +0000
committerMike Frysinger <vapier@gentoo.org>2004-07-10 02:11:41 +0000
commit17e82c9761e72bbd13343a24530f4d5eb00f2a4e (patch)
treee0e90595edff39427e606a24f4735959354f2b14 /app-editors/nano
parentAdding a slight tweak to <asm-x86_64/system.h> needed for iptables on AMD64 -... (diff)
downloadgentoo-2-17e82c9761e72bbd13343a24530f4d5eb00f2a4e.tar.gz
gentoo-2-17e82c9761e72bbd13343a24530f4d5eb00f2a4e.tar.bz2
gentoo-2-17e82c9761e72bbd13343a24530f4d5eb00f2a4e.zip
fix building with USE=debug #56494
Diffstat (limited to 'app-editors/nano')
-rw-r--r--app-editors/nano/ChangeLog6
-rw-r--r--app-editors/nano/files/1.3.3-debug-printf-fix.patch12
-rw-r--r--app-editors/nano/nano-1.3.3-r1.ebuild3
3 files changed, 19 insertions, 2 deletions
diff --git a/app-editors/nano/ChangeLog b/app-editors/nano/ChangeLog
index 9e2fca2b77ad..90981a1dcd85 100644
--- a/app-editors/nano/ChangeLog
+++ b/app-editors/nano/ChangeLog
@@ -1,9 +1,13 @@
# ChangeLog for app-editors/nano
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.59 2004/07/07 01:46:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.60 2004/07/10 02:11:41 vapier Exp $
*nano-1.3.3-r1 (06 Jul 2004)
+ 09 Jul 2004; Mike Frysinger <vapier@gentoo.org>
+ +files/1.3.3-debug-printf-fix.patch:
+ Add patch by Jon Oberheide to fix building with USE=debug #56494 by Nanouck.
+
06 Jul 2004; Mike Frysinger <vapier@gentoo.org>
+files/1.3-nanopermsfix.patch, +nano-1.3.2-r1.ebuild, -nano-1.3.2.ebuild,
+nano-1.3.3-r1.ebuild, -nano-1.3.3.ebuild:
diff --git a/app-editors/nano/files/1.3.3-debug-printf-fix.patch b/app-editors/nano/files/1.3.3-debug-printf-fix.patch
new file mode 100644
index 000000000000..89d34b698b69
--- /dev/null
+++ b/app-editors/nano/files/1.3.3-debug-printf-fix.patch
@@ -0,0 +1,12 @@
+diff -urp nano.old/src/winio.c nano.cvs/src/winio.c
+--- nano.old/src/winio.c 2004-06-30 02:22:05.445709560 -0400
++++ nano.cvs/src/winio.c 2004-06-30 02:30:04.854828296 -0400
+@@ -550,7 +550,7 @@ int get_control_kbinput(int kbinput)
+ retval = kbinput;
+
+ #ifdef DEBUG
+- fprintf(stderr, "get_control_kbinput(): kbinput = %d, retval = %d\n", kbinput, ascii_digits, *complete, retval);
++ fprintf(stderr, "get_control_kbinput(): kbinput = %d, retval = %d\n", kbinput, retval);
+ #endif
+
+ return retval;
diff --git a/app-editors/nano/nano-1.3.3-r1.ebuild b/app-editors/nano/nano-1.3.3-r1.ebuild
index bc396361152f..7dbfe8bd8b70 100644
--- a/app-editors/nano/nano-1.3.3-r1.ebuild
+++ b/app-editors/nano/nano-1.3.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.3.3-r1.ebuild,v 1.1 2004/07/07 01:46:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.3.3-r1.ebuild,v 1.2 2004/07/10 02:11:41 vapier Exp $
inherit eutils
@@ -25,6 +25,7 @@ src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/1.3-nanopermsfix.patch
+ epatch ${FILESDIR}/${PV}-debug-printf-fix.patch
epatch ${FILESDIR}/${PV}-ws-default-off.patch
epatch ${FILESDIR}/${PV}-ifdeffix.patch
use nomac && epatch ${FILESDIR}/${PV}-nomac.patch