summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/oregano')
-rw-r--r--sci-electronics/oregano/ChangeLog6
-rw-r--r--sci-electronics/oregano/files/oregano-0.40.1-gtk2.6.patch12
-rw-r--r--sci-electronics/oregano/oregano-0.40.1.ebuild8
3 files changed, 24 insertions, 2 deletions
diff --git a/sci-electronics/oregano/ChangeLog b/sci-electronics/oregano/ChangeLog
index 95de7f4d0e78..e9b8d40f8ea6 100644
--- a/sci-electronics/oregano/ChangeLog
+++ b/sci-electronics/oregano/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-electronics/oregano
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-electronics/oregano/ChangeLog,v 1.5 2005/01/25 22:38:39 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/oregano/ChangeLog,v 1.6 2005/01/26 15:27:26 gustavoz Exp $
+
+ 26 Jan 2005; Gustavo Zacarias <gustavoz@gentoo.org>
+ +files/oregano-0.40.1-gtk2.6.patch, oregano-0.40.1.ebuild:
+ GTK+ 2.6 fix wrt #79563
25 Jan 2005; Gustavo Zacarias <gustavoz@gentoo.org> oregano-0.40.1.ebuild:
Keyworded ~ppc
diff --git a/sci-electronics/oregano/files/oregano-0.40.1-gtk2.6.patch b/sci-electronics/oregano/files/oregano-0.40.1-gtk2.6.patch
new file mode 100644
index 000000000000..b34f0d99d708
--- /dev/null
+++ b/sci-electronics/oregano/files/oregano-0.40.1-gtk2.6.patch
@@ -0,0 +1,12 @@
+diff -Nura oregano-0.40.1/src/file.c oregano-0.40.1-gtk2.6/src/file.c
+--- oregano-0.40.1/src/file.c 2004-12-30 11:10:44.000000000 -0300
++++ oregano-0.40.1-gtk2.6/src/file.c 2005-01-26 12:16:01.228267936 -0300
+@@ -39,7 +39,7 @@
+ #include "dialogs.h"
+ #include "save-schematic.h"
+
+-#if (GTK_MINOR_VERSION==4)
++#if (GTK_MINOR_VERSION>=4)
+
+ char *
+ dialog_open_file (SchematicView *sv)
diff --git a/sci-electronics/oregano/oregano-0.40.1.ebuild b/sci-electronics/oregano/oregano-0.40.1.ebuild
index 0910c55aefd3..7a139b52a1c0 100644
--- a/sci-electronics/oregano/oregano-0.40.1.ebuild
+++ b/sci-electronics/oregano/oregano-0.40.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/sci-electronics/oregano/oregano-0.40.1.ebuild,v 1.2 2005/01/25 22:38:39 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-electronics/oregano/oregano-0.40.1.ebuild,v 1.3 2005/01/26 15:27:26 gustavoz Exp $
inherit eutils
@@ -23,6 +23,12 @@ DEPEND=">=dev-libs/libxml2-2.6.0
>=x11-libs/cairo-0.1.23-r1
>=x11-libs/gtksourceview-1.0"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gtk2.6.patch
+}
+
src_compile() {
econf || die "econf failed"
emake || die "emake failed"