diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2012-05-28 12:01:45 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2012-05-28 12:01:45 +0000 |
commit | 607ac61af3ca9dfef229200f2e263c53f153df11 (patch) | |
tree | afc0f24116be12b7aa856b6858073a50c0034b6d /app-text/libwps | |
parent | revbump to fix useflags (diff) | |
download | gentoo-2-607ac61af3ca9dfef229200f2e263c53f153df11.tar.gz gentoo-2-607ac61af3ca9dfef229200f2e263c53f153df11.tar.bz2 gentoo-2-607ac61af3ca9dfef229200f2e263c53f153df11.zip |
Build with debug interface. Fixes bug#417627
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'app-text/libwps')
-rw-r--r-- | app-text/libwps/ChangeLog | 6 | ||||
-rw-r--r-- | app-text/libwps/files/libwps-0.2.6-debug.patch | 13 | ||||
-rw-r--r-- | app-text/libwps/libwps-0.2.6.ebuild | 8 |
3 files changed, 25 insertions, 2 deletions
diff --git a/app-text/libwps/ChangeLog b/app-text/libwps/ChangeLog index e8b0b86d9c21..51c712ffa866 100644 --- a/app-text/libwps/ChangeLog +++ b/app-text/libwps/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-text/libwps # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/libwps/ChangeLog,v 1.26 2012/05/23 08:53:30 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/libwps/ChangeLog,v 1.27 2012/05/28 12:01:45 scarabeus Exp $ + + 28 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> + +files/libwps-0.2.6-debug.patch, libwps-0.2.6.ebuild: + Build with debug interface. Fixes bug#417627 23 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> libwps-0.2.6.ebuild: Really stable on x86 rather than on ppc64. diff --git a/app-text/libwps/files/libwps-0.2.6-debug.patch b/app-text/libwps/files/libwps-0.2.6-debug.patch new file mode 100644 index 000000000000..d085d8f8fe27 --- /dev/null +++ b/app-text/libwps/files/libwps-0.2.6-debug.patch @@ -0,0 +1,13 @@ +diff -urN libwps-0.2.6.old//src/lib/libwps_internal.h libwps-0.2.6/src/lib/libwps_internal.h +--- libwps-0.2.6.old//src/lib/libwps_internal.h 2012-05-28 13:59:43.855727293 +0200 ++++ libwps-0.2.6/src/lib/libwps_internal.h 2012-05-28 14:00:16.373727679 +0200 +@@ -25,6 +25,9 @@ + #include <libwpd-stream/libwpd-stream.h> + #include <libwpd/libwpd.h> + #include <string> ++#ifdef DEBUG ++#include <stdio.h> ++#endif + + #if defined(_MSC_VER) || defined(__DJGPP__) + typedef signed char int8_t; diff --git a/app-text/libwps/libwps-0.2.6.ebuild b/app-text/libwps/libwps-0.2.6.ebuild index 0d86c16cb192..a5182dd65abe 100644 --- a/app-text/libwps/libwps-0.2.6.ebuild +++ b/app-text/libwps/libwps-0.2.6.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/libwps/libwps-0.2.6.ebuild,v 1.3 2012/05/23 08:53:30 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/libwps/libwps-0.2.6.ebuild,v 1.4 2012/05/28 12:01:45 scarabeus Exp $ EAPI=4 +inherit base + DESCRIPTION="Microsoft Works file word processor format import filter library" HOMEPAGE="http://libwps.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz" @@ -22,6 +24,10 @@ DEPEND="${RDEPEND} doc? ( app-doc/doxygen ) " +PATCHES=( + "${FILESDIR}/${P}-debug.patch" +) + src_configure() { econf \ --disable-werror \ |