summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-29 22:20:06 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-29 22:20:06 +0000
commit42c0a72b914cf1e54884e89b40c0fc445505c023 (patch)
tree37855d2d700e6c1b0dae65193801645c547e6ae1 /app-office/koffice-libs
parentInitial import of ebuild written by me. (diff)
downloadgentoo-2-42c0a72b914cf1e54884e89b40c0fc445505c023.tar.gz
gentoo-2-42c0a72b914cf1e54884e89b40c0fc445505c023.tar.bz2
gentoo-2-42c0a72b914cf1e54884e89b40c0fc445505c023.zip
Add patch to use a more suitable check for detecting kspell2 or it will fail.
(Portage version: 2.1_pre7-r2)
Diffstat (limited to 'app-office/koffice-libs')
-rw-r--r--app-office/koffice-libs/ChangeLog6
-rw-r--r--app-office/koffice-libs/files/koffice-libs-1.5_rc1-kspell2.patch16
-rw-r--r--app-office/koffice-libs/koffice-libs-1.5_rc1.ebuild4
3 files changed, 24 insertions, 2 deletions
diff --git a/app-office/koffice-libs/ChangeLog b/app-office/koffice-libs/ChangeLog
index e8641c01eaef..56a640066b58 100644
--- a/app-office/koffice-libs/ChangeLog
+++ b/app-office/koffice-libs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-office/koffice-libs
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/koffice-libs/ChangeLog,v 1.34 2006/03/29 15:13:20 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/koffice-libs/ChangeLog,v 1.35 2006/03/29 22:20:04 flameeyes Exp $
+
+ 29 Mar 2006; Diego Pettenò <flameeyes@gentoo.org>
+ +files/koffice-libs-1.5_rc1-kspell2.patch, koffice-libs-1.5_rc1.ebuild:
+ Add patch to use a more suitable check for detecting kspell2 or it will fail.
*koffice-libs-1.5_rc1 (29 Mar 2006)
diff --git a/app-office/koffice-libs/files/koffice-libs-1.5_rc1-kspell2.patch b/app-office/koffice-libs/files/koffice-libs-1.5_rc1-kspell2.patch
new file mode 100644
index 000000000000..7e347b91448e
--- /dev/null
+++ b/app-office/koffice-libs/files/koffice-libs-1.5_rc1-kspell2.patch
@@ -0,0 +1,16 @@
+Index: koffice-libs-1.5_rc1/lib/kotext/configure.in.in
+===================================================================
+--- koffice-libs-1.5_rc1/lib/kotext/configure.in.in.orig
++++ koffice-libs-1.5_rc1/lib/kotext/configure.in.in
+@@ -1,9 +1,8 @@
+ AC_LANG_SAVE
+ AC_LANG_C
+ dnl Check for aspell library
+- AC_MSG_CHECKING([for kspell2/broker.h (kdelibs>3.2)])
+- AC_FIND_FILE(kspell2/broker.h, $kde_includes, ac_kspell2_includes)
+- if test -n "$ac_kspell2_includes" && test -r "$ac_kspell2_includes/kspell2/broker.h"; then
++ KDE_CHECK_HEADERS([kspell2/broker.h])
++ if test "x$ac_cv_header_kspell2_broker_h" = "xyes"; then
+ dnl the header and the lib exist -> ok
+ dnl this is for config.h
+ AC_DEFINE(HAVE_LIBKSPELL2, 1, [If we are going to use libkspell2 for spell-checking])
diff --git a/app-office/koffice-libs/koffice-libs-1.5_rc1.ebuild b/app-office/koffice-libs/koffice-libs-1.5_rc1.ebuild
index 7967e9fd5fca..341d6f62340e 100644
--- a/app-office/koffice-libs/koffice-libs-1.5_rc1.ebuild
+++ b/app-office/koffice-libs/koffice-libs-1.5_rc1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/koffice-libs/koffice-libs-1.5_rc1.ebuild,v 1.1 2006/03/29 15:13:20 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/koffice-libs/koffice-libs-1.5_rc1.ebuild,v 1.2 2006/03/29 22:20:04 flameeyes Exp $
MAXKOFFICEVER=${PV}
KMNAME=koffice
@@ -37,6 +37,8 @@ KMEXTRA="interfaces/
KMEXTRACTONLY="
kchart/kdchart/"
+PATCHES="${FILESDIR}/${P}-kspell2.patch"
+
need-kde 3.4
src_unpack() {