summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorbsiegert <bsiegert@pkgsrc.org>2018-11-27 14:29:27 +0000
committerbsiegert <bsiegert@pkgsrc.org>2018-11-27 14:29:27 +0000
commit96f53676ce082888f08e63879214f7e14ec5d653 (patch)
tree164474ae5cdcd3cc9aa5119ef48152365dbfa46c /textproc
parentb714f46446d6690f257c52c4f2aff323b67f2197 (diff)
downloadpkgsrc-96f53676ce082888f08e63879214f7e14ec5d653.tar.gz
Port artha to enchant2, bump revision.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/artha/Makefile6
-rw-r--r--textproc/artha/distinfo3
-rw-r--r--textproc/artha/patches/patch-src_suggestions.c15
3 files changed, 20 insertions, 4 deletions
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
+