aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libextractor
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2006-03-17 17:28:23 +0800
committervd <vd@FreeBSD.org>2006-03-17 17:28:23 +0800
commitc05ad3daf721229a4ad294048cb927a939844fa7 (patch)
treeaaf70f78c42695d1742b11414bd6387b8cd3ca00 /textproc/libextractor
parentb0b097af463262d229b8363e054e5dfb36549ae5 (diff)
downloadfreebsd-ports-gnome-c05ad3daf721229a4ad294048cb927a939844fa7.tar.gz
freebsd-ports-gnome-c05ad3daf721229a4ad294048cb927a939844fa7.tar.zst
freebsd-ports-gnome-c05ad3daf721229a4ad294048cb927a939844fa7.zip
Update from 0.5.10 to 0.5.11
This release adds support for extracting additional metadata from MS Word (OLE2) streams, including language, document statistics and editing history.
Diffstat (limited to 'textproc/libextractor')
-rw-r--r--textproc/libextractor/Makefile2
-rw-r--r--textproc/libextractor/distinfo6
-rw-r--r--textproc/libextractor/files/patch-src_plugins_wordleaker_wordextractor.cc14
-rw-r--r--textproc/libextractor/pkg-plist2
4 files changed, 20 insertions, 4 deletions
diff --git a/textproc/libextractor/Makefile b/textproc/libextractor/Makefile
index 16b522784664..dd51f83a171c 100644
--- a/textproc/libextractor/Makefile
+++ b/textproc/libextractor/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= libextractor
-PORTVERSION= 0.5.10
+PORTVERSION= 0.5.11
CATEGORIES= textproc
MASTER_SITES= http://gnunet.org/libextractor/download/ \
${MASTER_SITE_GNU}
diff --git a/textproc/libextractor/distinfo b/textproc/libextractor/distinfo
index b0ac4c18a0bf..ade983ee834e 100644
--- a/textproc/libextractor/distinfo
+++ b/textproc/libextractor/distinfo
@@ -1,3 +1,3 @@
-MD5 (libextractor-0.5.10.tar.gz) = a1da675f518d7c6bfff804e0ae0c81d4
-SHA256 (libextractor-0.5.10.tar.gz) = 1a4bb63fc99dde3d6f9e4392400228b5844d61fa3b4b6b5272ec8301eb5b264a
-SIZE (libextractor-0.5.10.tar.gz) = 6149272
+MD5 (libextractor-0.5.11.tar.gz) = ba67e55e20bff3fca9f7a5dbfea7d7ed
+SHA256 (libextractor-0.5.11.tar.gz) = 609b4012996f53b7ddd6e0309366195aedaf1a05ea63114b463a10d6e7d72285
+SIZE (libextractor-0.5.11.tar.gz) = 6175886
diff --git a/textproc/libextractor/files/patch-src_plugins_wordleaker_wordextractor.cc b/textproc/libextractor/files/patch-src_plugins_wordleaker_wordextractor.cc
new file mode 100644
index 000000000000..bb1d94d08a0e
--- /dev/null
+++ b/textproc/libextractor/files/patch-src_plugins_wordleaker_wordextractor.cc
@@ -0,0 +1,14 @@
+--- src/plugins/wordleaker/wordextractor.cc.orig Fri Mar 17 09:11:34 2006
++++ src/plugins/wordleaker/wordextractor.cc Fri Mar 17 09:16:55 2006
+@@ -84,7 +84,10 @@
+ &t))
+ return NULL;
+
+- return strndup(f, 128);
++ // in case strftime() (very old libc (4.4.1)) has returned 128 and
++ // left undefined bulk in f
++ f[sizeof(f) - 1] = '\0';
++ return strdup(f);
+ }
+
+ static const char * idToProduct( unsigned int id ) {
diff --git a/textproc/libextractor/pkg-plist b/textproc/libextractor/pkg-plist
index 3d066c0e2fb8..a97f8255ee99 100644
--- a/textproc/libextractor/pkg-plist
+++ b/textproc/libextractor/pkg-plist
@@ -87,6 +87,8 @@ lib/libextractor/libextractor_translit.la
lib/libextractor/libextractor_translit.so
lib/libextractor/libextractor_wav.la
lib/libextractor/libextractor_wav.so
+lib/libextractor/libextractor_word.la
+lib/libextractor/libextractor_word.so
lib/libextractor/libextractor_zip.la
lib/libextractor/libextractor_zip.so
share/locale/de/LC_MESSAGES/libextractor.mo