diff -Nru /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/libextractor/Portfile ./Portfile
old
|
new
|
|
1 | 1 | # $Id: Portfile,v 1.4 2005/11/11 06:57:10 mww Exp $ |
2 | 2 | PortSystem 1.0 |
3 | 3 | name libextractor |
4 | | version 0.5.6a |
| 4 | version 0.5.11 |
5 | 5 | categories devel |
6 | 6 | maintainers darwinports@opendarwin.org |
7 | 7 | description A library for extraction af meta-data. |
… |
… |
|
14 | 14 | homepage http://gnunet.org/libextractor/ |
15 | 15 | master_sites http://gnunet.org/libextractor/download/ |
16 | 16 | platforms darwin |
17 | | checksums md5 1e8022f10d58cc9f83ca3700b6645263 |
18 | | depends_lib port:bzip2 port:zlib port:gettext port:libiconv |
19 | | configure.args --mandir=${prefix}/share/man |
20 | | configure.env CPPFLAGS="-L${prefix}/lib -I${prefix}/include" \ |
21 | | CFLAGS="-no-cpp-precomp -flat_namespace -undefined suppress -L${prefix}/lib -lintl" |
22 | | pre-configure { |
23 | | reinplace "s|'-Bstatic'|''|g" ${worksrcpath}/configure |
24 | | reinplace "s|-Bstatic||g" ${worksrcpath}/src/plugins/ole2/Makefile.in |
25 | | reinplace "s|-Bdynamic||g" ${worksrcpath}/src/plugins/ole2/Makefile.in |
26 | | reinplace "s|-Bsymbolic||g" ${worksrcpath}/src/plugins/ole2/Makefile.in |
27 | | } |
| 17 | checksums md5 ba67e55e20bff3fca9f7a5dbfea7d7ed |
| 18 | patchfiles patch-wordextractor.c |
| 19 | depends_lib port:bzip2 port:zlib port:gettext port:libiconv port:glib2 |
| 20 | configure.args --mandir=${prefix}/share/man \ |
| 21 | --with-libiconv-prefix=${prefix} \ |
| 22 | --with-libintl-prefix=${prefix} |
| 23 | configure.env CPPFLAGS="-I${prefix}/include" \ |
| 24 | LDFLAGS="-L${prefix}/lib" |
diff -Nru /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/libextractor/files/patch-wordextractor.c ./files/patch-wordextractor.c
old
|
new
|
|
| 1 | diff -Nru ../libextractor-0.5.11/src/plugins/wordleaker/wordextractor.cc ./src/plugins/wordleaker/wordextractor.cc |
| 2 | --- ../libextractor-0.5.11/src/plugins/wordleaker/wordextractor.cc 2006-03-11 02:10:50.000000000 +0200 |
| 3 | +++ ./src/plugins/wordleaker/wordextractor.cc 2006-04-17 12:06:04.000000000 +0300 |
| 4 | @@ -84,7 +84,7 @@ |
| 5 | &t)) |
| 6 | return NULL; |
| 7 | |
| 8 | - return strndup(f, 128); |
| 9 | + return strdup(f); |
| 10 | } |
| 11 | |
| 12 | static const char * idToProduct( unsigned int id ) { |