summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSantiago M. Mola <coldwind@gentoo.org>2007-08-22 16:42:24 +0000
committerSantiago M. Mola <coldwind@gentoo.org>2007-08-22 16:42:24 +0000
commit541c0c064c68cbf651aacfd58c34b89aa86f4660 (patch)
treeae769eb1a5a9fcc23771fff91c1b83ac0ee74a72 /x11-libs/fltk
parentPunt unused versions, including ones still depending on GTK+-1.2. Another vic... (diff)
downloadgentoo-2-541c0c064c68cbf651aacfd58c34b89aa86f4660.tar.gz
gentoo-2-541c0c064c68cbf651aacfd58c34b89aa86f4660.tar.bz2
gentoo-2-541c0c064c68cbf651aacfd58c34b89aa86f4660.zip
Fix typo in FL/Fl_Spinner.H. Thanks to Ferris McCormick.
(Portage version: 2.1.2.11)
Diffstat (limited to 'x11-libs/fltk')
-rw-r--r--x11-libs/fltk/ChangeLog6
-rw-r--r--x11-libs/fltk/files/fltk-1.1.7-maxmin-typo.patch14
-rw-r--r--x11-libs/fltk/fltk-1.1.7-r2.ebuild3
3 files changed, 21 insertions, 2 deletions
diff --git a/x11-libs/fltk/ChangeLog b/x11-libs/fltk/ChangeLog
index 3b93c0071886..aecd8abe2e99 100644
--- a/x11-libs/fltk/ChangeLog
+++ b/x11-libs/fltk/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/fltk
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/ChangeLog,v 1.85 2007/08/22 15:42:05 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/ChangeLog,v 1.86 2007/08/22 16:42:24 coldwind Exp $
+
+ 22 Aug 2007; Santiago M. Mola <coldwind@gentoo.org>
+ +files/fltk-1.1.7-maxmin-typo.patch, fltk-1.1.7-r2.ebuild:
+ Fix typo in FL/Fl_Spinner.H. Thanks to Ferris McCormick.
22 Aug 2007; Gustavo Zacarias <gustavoz@gentoo.org> fltk-1.1.7-r2.ebuild:
Stable on sparc wrt #189786
diff --git a/x11-libs/fltk/files/fltk-1.1.7-maxmin-typo.patch b/x11-libs/fltk/files/fltk-1.1.7-maxmin-typo.patch
new file mode 100644
index 000000000000..0edf839f1220
--- /dev/null
+++ b/x11-libs/fltk/files/fltk-1.1.7-maxmin-typo.patch
@@ -0,0 +1,14 @@
+diff -ur fltk-1.1.7.orig/FL/Fl_Spinner.H fltk-1.1.7/FL/Fl_Spinner.H
+--- fltk-1.1.7.orig/FL/Fl_Spinner.H 2007-08-22 18:29:38.000000000 +0200
++++ fltk-1.1.7/FL/Fl_Spinner.H 2007-08-22 18:33:02.000000000 +0200
+@@ -128,8 +128,10 @@
+ const char *format() { return (format_); }
+ void format(const char *f) { format_ = f; update(); }
+ double maxinum() const { return (maximum_); }
++ double maximum() const { return (maximum_); }
+ void maximum(double m) { maximum_ = m; }
+ double mininum() const { return (minimum_); }
++ double minimum() const { return (minimum_); }
+ void minimum(double m) { minimum_ = m; }
+ void range(double a, double b) { minimum_ = a; maximum_ = b; }
+ void resize(int X, int Y, int W, int H) {
diff --git a/x11-libs/fltk/fltk-1.1.7-r2.ebuild b/x11-libs/fltk/fltk-1.1.7-r2.ebuild
index 556a80f3fa85..b1776dbde29e 100644
--- a/x11-libs/fltk/fltk-1.1.7-r2.ebuild
+++ b/x11-libs/fltk/fltk-1.1.7-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/fltk-1.1.7-r2.ebuild,v 1.7 2007/08/22 15:42:05 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/fltk/fltk-1.1.7-r2.ebuild,v 1.8 2007/08/22 16:42:24 coldwind Exp $
inherit eutils toolchain-funcs multilib
@@ -39,6 +39,7 @@ src_unpack() {
epatch "${FILESDIR}/${P}-amd64.patch"
epatch "${FILESDIR}/${P}-as-needed.patch"
epatch "${FILESDIR}/${P}-dieonerrors.patch"
+ epatch "${FILESDIR}/${P}-maxmin-typo.patch"
sed -i -e '/C\(XX\)\?FLAGS=/s:@C\(XX\)\?FLAGS@::' \
"${S}/fltk-config.in" || die "unable to sed out compile flags"