From 96f53676ce082888f08e63879214f7e14ec5d653 Mon Sep 17 00:00:00 2001 From: bsiegert Date: Tue, 27 Nov 2018 14:29:27 +0000 Subject: Port artha to enchant2, bump revision. --- textproc/artha/Makefile | 6 +++--- textproc/artha/distinfo | 3 ++- textproc/artha/patches/patch-src_suggestions.c | 15 +++++++++++++++ 3 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 textproc/artha/patches/patch-src_suggestions.c (limited to 'textproc') diff --git a/textproc/artha/Makefile b/textproc/artha/Makefile index b5adf5b8cae..69ef2711329 100644 --- a/textproc/artha/Makefile +++ b/textproc/artha/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.8 2018/11/14 22:22:30 kleink Exp $ +# $NetBSD: Makefile,v 1.9 2018/11/27 14:29:27 bsiegert Exp $ DISTNAME= artha-1.0.3 -PKGREVISION= 7 +PKGREVISION= 8 CATEGORIES= textproc MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=artha/} EXTRACT_SUFX= .tar.bz2 @@ -19,7 +19,7 @@ USE_LANGUAGES= c .include "options.mk" .include "../../devel/glib2/buildlink3.mk" -.include "../../textproc/enchant/buildlink3.mk" +.include "../../textproc/enchant2/buildlink3.mk" .include "../../textproc/WordNet/buildlink3.mk" .include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../sysutils/dbus-glib/buildlink3.mk" diff --git a/textproc/artha/distinfo b/textproc/artha/distinfo index 0563ad6cd4b..cfe63264bf8 100644 --- a/textproc/artha/distinfo +++ b/textproc/artha/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2015/11/04 01:59:18 agc Exp $ +$NetBSD: distinfo,v 1.3 2018/11/27 14:29:27 bsiegert Exp $ SHA1 (artha-1.0.3.tar.bz2) = 8bced6357b425f74d4b13ec6d35b8a50236fae94 RMD160 (artha-1.0.3.tar.bz2) = 22c6e454cb647a97be6ca06bd1980959f389926b SHA512 (artha-1.0.3.tar.bz2) = de8379a0c2f79b7e2aeb582887f9346c9f56e83bacc5b47746f6f922ac1a5404edf4f5187e7273581366183a2c59d94258322bf52fb6bf51a02f9b7d12732c4b Size (artha-1.0.3.tar.bz2) = 363674 bytes +SHA1 (patch-src_suggestions.c) = ab26e38803c9169dfa4cd6ab3a7cad6c7c2ab7cd diff --git a/textproc/artha/patches/patch-src_suggestions.c b/textproc/artha/patches/patch-src_suggestions.c new file mode 100644 index 00000000000..a2d22505496 --- /dev/null +++ b/textproc/artha/patches/patch-src_suggestions.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_suggestions.c,v 1.1 2018/11/27 14:29:27 bsiegert Exp $ + +Use new soname for enchant2. + +--- src/suggestions.c.orig 2012-10-06 18:25:42.000000000 +0000 ++++ src/suggestions.c +@@ -32,7 +32,7 @@ + #ifdef _WIN32 + # define ENCHANT_FILE "libenchant.dll" + #else +-# define ENCHANT_FILE "libenchant.so.1" ++# define ENCHANT_FILE "libenchant-2.so.2" + #endif + #define DICT_TAG_MAX_LENGTH 7 + -- cgit v1.2.3