aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2005-11-11 05:09:45 +0000
committerKevin Lo <kevlo@FreeBSD.org>2005-11-11 05:09:45 +0000
commit39a598e3e7fd769b5ff499a23f02a9ed9cc0798a (patch)
treebf3cbff0f7a735657326cce94abc47adb4366644
parenta7afb7e0a72f015eee616eb59b060a32610f2897 (diff)
downloadports-39a598e3e7fd769b5ff499a23f02a9ed9cc0798a.tar.gz
ports-39a598e3e7fd769b5ff499a23f02a9ed9cc0798a.zip
Notes
-rw-r--r--textproc/libextractor/Makefile2
-rw-r--r--textproc/libextractor/files/patch-src::main::extractor.c14
2 files changed, 15 insertions, 1 deletions
diff --git a/textproc/libextractor/Makefile b/textproc/libextractor/Makefile
index ef5dc243dca5..04dfe8915cfd 100644
--- a/textproc/libextractor/Makefile
+++ b/textproc/libextractor/Makefile
@@ -7,7 +7,7 @@
PORTNAME= libextractor
PORTVERSION= 0.5.6a
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://gnunet.org/libextractor/download/ \
${MASTER_SITE_GNU}
diff --git a/textproc/libextractor/files/patch-src::main::extractor.c b/textproc/libextractor/files/patch-src::main::extractor.c
new file mode 100644
index 000000000000..818479c30ce3
--- /dev/null
+++ b/textproc/libextractor/files/patch-src::main::extractor.c
@@ -0,0 +1,14 @@
+--- src/main/extractor.c.orig Fri Nov 11 04:54:19 2005
++++ src/main/extractor.c Fri Nov 11 04:55:27 2005
+@@ -246,8 +246,10 @@
+
+ void __attribute__ ((destructor)) le_ltdl_fini(void) {
+ lt_dlsetsearchpath(old_dlsearchpath);
+- if (old_dlsearchpath != NULL)
++ if (old_dlsearchpath != NULL) {
+ free(old_dlsearchpath);
++ old_dlsearchpath = NULL;
++ }
+ #ifdef MINGW
+ ShutdownWinEnv();
+ #endif