summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/lablgtk/ChangeLog6
-rw-r--r--dev-ml/lablgtk/files/lablgtk-2.4.0-gcc34.patch14
-rw-r--r--dev-ml/lablgtk/lablgtk-2.4.0.ebuild12
3 files changed, 30 insertions, 2 deletions
diff --git a/dev-ml/lablgtk/ChangeLog b/dev-ml/lablgtk/ChangeLog
index f77f2fdc0319..0a4b864fa0c6 100644
--- a/dev-ml/lablgtk/ChangeLog
+++ b/dev-ml/lablgtk/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ml/lablgtk
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.31 2005/07/12 22:35:34 mattam Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/ChangeLog,v 1.32 2005/07/23 19:54:11 sekretarz Exp $
+
+ 23 Jul 2005; <sekretarz@gentoo.org> +files/lablgtk-2.4.0-gcc34.patch,
+ lablgtk-2.4.0.ebuild:
+ Fixed problems with gcc-3.4, bug #94816
13 Jul 2005; Matthieu Sozeau <mattam@gentoo.org> lablgtk-1.2.7.ebuild,
lablgtk-2.4.0.ebuild:
diff --git a/dev-ml/lablgtk/files/lablgtk-2.4.0-gcc34.patch b/dev-ml/lablgtk/files/lablgtk-2.4.0-gcc34.patch
new file mode 100644
index 000000000000..c0f7d35d58c1
--- /dev/null
+++ b/dev-ml/lablgtk/files/lablgtk-2.4.0-gcc34.patch
@@ -0,0 +1,14 @@
+diff -Naur lablgtk-2.4.0.orig/configure.in lablgtk-2.4.0/configure.in
+--- lablgtk-2.4.0.orig/configure.in 2004-07-08 11:20:01.000000000 +0200
++++ lablgtk-2.4.0/configure.in 2005-07-23 14:40:42.975416096 +0200
+@@ -180,8 +180,8 @@
+ AC_PROG_RANLIB
+ # get the C compiler used by ocamlc
+ if test -z "$CC" ; then
+- touch conftest.c
+- CC=$($CAMLC -verbose -c conftest.c 2>&1 | sed ['s/^+ \([^ ]*\) .*$/\1/'])
++# touch conftest.c
++# CC=$($CAMLC -verbose -c conftest.c 2>&1 | sed ['s/^+ \([^ ]*\) .*$/\1/'])
+ echo [OCaml uses $CC to compile C files]
+ fi
+ AC_PROG_CC
diff --git a/dev-ml/lablgtk/lablgtk-2.4.0.ebuild b/dev-ml/lablgtk/lablgtk-2.4.0.ebuild
index 2f35eb27621a..89aee421ae54 100644
--- a/dev-ml/lablgtk/lablgtk-2.4.0.ebuild
+++ b/dev-ml/lablgtk/lablgtk-2.4.0.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.4.0.ebuild,v 1.8 2005/07/12 22:35:34 mattam Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-2.4.0.ebuild,v 1.9 2005/07/23 19:54:11 sekretarz Exp $
+
+inherit eutils
IUSE="debug doc glade gnome opengl svg"
@@ -22,6 +24,14 @@ DEPEND=">=x11-libs/gtk+-2.4
SLOT="2"
KEYWORDS="amd64 x86 ppc ~alpha ia64 ~sparc"
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-gcc34.patch
+ autoreconf
+}
+
src_compile() {
use debug && myconf="$myconf --enable-debug"