Fix bug 73639
authorKrzysztof Pawlik <nelchael@gentoo.org>
Sun, 25 Sep 2005 22:02:58 +0000 (22:02 +0000)
committerKrzysztof Pawlik <nelchael@gentoo.org>
Sun, 25 Sep 2005 22:02:58 +0000 (22:02 +0000)
Package-Manager: portage-2.0.52-r1

x11-misc/lineakconfig/ChangeLog
x11-misc/lineakconfig/Manifest
x11-misc/lineakconfig/files/digest-lineakconfig-0.4.1b-r1 [new file with mode: 0644]
x11-misc/lineakconfig/files/lineakconfig-0.4.1b-malloc.patch [new file with mode: 0644]
x11-misc/lineakconfig/lineakconfig-0.4.1b-r1.ebuild [new file with mode: 0644]

index d71755297f2589224ba53b6a3c3cf73c4a5e8d95..2b0ad7428b78e6afcad51965e818d8e31c2e845c 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for x11-misc/lineakconfig
 # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/lineakconfig/ChangeLog,v 1.8 2005/07/26 14:46:15 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lineakconfig/ChangeLog,v 1.9 2005/09/25 22:02:58 nelchael Exp $
+
+*lineakconfig-0.4.1b-r1 (25 Sep 2005)
+
+  25 Sep 2005; Krzysiek Pawlik <nelchael@gentoo.org>
+  +files/lineakconfig-0.4.1b-malloc.patch, +lineakconfig-0.4.1b-r1.ebuild:
+  Fix bug 73639
 
   26 Jul 2005; David Holm <dholm@gentoo.org> lineakconfig-0.4.1b.ebuild:
   Added to ~ppc.
index 78e514f796c0b6ae5ace4f8beeb882397921c5a9..2a8a3d4c1405543849d9cb11647e1fb041bb5a26 100644 (file)
@@ -1,4 +1,7 @@
-MD5 93f4c1df633ea11c5871e917f0ff34ac ChangeLog 1060
-MD5 cdb11033a3fa6525334cecf938961c07 metadata.xml 166
 MD5 01cf6e9f00a740d07874350bbf532a6a lineakconfig-0.4.1b.ebuild 666
+MD5 fd9d49d945a859b490f369527d97ff68 lineakconfig-0.4.1b-r1.ebuild 772
+MD5 769b4daf21431227a9b219a707950fd5 ChangeLog 1247
+MD5 cdb11033a3fa6525334cecf938961c07 metadata.xml 166
+MD5 4257c40688bad65da0e485390ee476b2 files/lineakconfig-0.4.1b-malloc.patch 580
+MD5 6093eda87af975548774aa3db007121a files/digest-lineakconfig-0.4.1b-r1 72
 MD5 6093eda87af975548774aa3db007121a files/digest-lineakconfig-0.4.1b 72
diff --git a/x11-misc/lineakconfig/files/digest-lineakconfig-0.4.1b-r1 b/x11-misc/lineakconfig/files/digest-lineakconfig-0.4.1b-r1
new file mode 100644 (file)
index 0000000..ab1dd18
--- /dev/null
@@ -0,0 +1 @@
+MD5 e74374cca2e88cd42365fdd2f522f163 lineakconfig-0.4.1b.tar.gz 1602782
diff --git a/x11-misc/lineakconfig/files/lineakconfig-0.4.1b-malloc.patch b/x11-misc/lineakconfig/files/lineakconfig-0.4.1b-malloc.patch
new file mode 100644 (file)
index 0000000..ee75eab
--- /dev/null
@@ -0,0 +1,14 @@
+diff -Nru lineakconfig-0.4.1b/src/support.c lineakconfig-0.4.1b.patched/src/support.c
+--- lineakconfig-0.4.1b/src/support.c  2004-04-20 22:42:13.000000000 +0200
++++ lineakconfig-0.4.1b.patched/src/support.c  2005-09-25 23:42:45.000000000 +0200
+@@ -746,8 +746,8 @@
+       }
+   }   
+   if (dfile == NULL) {
+-      dfile = malloc( (strlen(CONFDIR) + 1 + strlen("/etc/") +1) * sizeof(char));
+-      sprintf(dfile,"%s/%s", "/etc/", DEFFILE);
++      dfile = malloc( (strlen(CONFDIR) + 1 + strlen(DEFFILE) +1) * sizeof(char));
++      sprintf(dfile,"%s/%s", CONFDIR, DEFFILE);
+   }
+   \r
+   /* does the file exist? */
diff --git a/x11-misc/lineakconfig/lineakconfig-0.4.1b-r1.ebuild b/x11-misc/lineakconfig/lineakconfig-0.4.1b-r1.ebuild
new file mode 100644 (file)
index 0000000..8ff32e7
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/lineakconfig/lineakconfig-0.4.1b-r1.ebuild,v 1.1 2005/09/25 22:02:58 nelchael Exp $
+
+inherit eutils
+
+IUSE="nls"
+
+DESCRIPTION="Linux support for Easy Access and Internet Keyboards features X11 support"
+HOMEPAGE="http://lineak.sourceforge.net/"
+SRC_URI="mirror://sourceforge/lineak/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+
+RDEPEND="x11-misc/lineakd
+       =x11-libs/gtk+-1.2*"
+
+DEPEND="nls? ( sys-devel/gettext )
+       ${RDEPEND}"
+
+src_unpack() {
+       unpack ${A}
+       epatch ${FILESDIR}/lineakconfig-${PV}-malloc.patch
+}
+
+src_compile() {
+       econf `use_enable nls` || die
+       emake || die
+}
+
+src_install() {
+       einstall || die
+}