Ticket #36312: mdbtools-svn-complete.diff
File mdbtools-svn-complete.diff, 4.5 KB (added by me@…, 12 years ago) |
---|
-
Portfile
1 1 # $Id$ 2 2 PortSystem 1.0 3 3 name mdbtools 4 version 0. 6pre15 revision 14 version 0.7 5 revision 0 6 6 description libraries and programs to help using MSAccess databases 7 7 long_description \ 8 8 MDB Tools is a suite of libraries and programs to facilitate the use of \ … … 13 13 maintainers and.damore openmaintainer 14 14 categories databases devel 15 15 platforms darwin 16 homepage http ://mdbtools.sourceforge.net16 homepage https://github.com/brianb/mdbtools 17 17 18 18 depends_build port:pkgconfig \ 19 19 port:flex \ … … 21 21 22 22 depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 23 23 24 master_sites sourceforge:mdbtools 25 checksums md5 246e8f38b2a1af1bcff60ee0da59300b \ 26 sha1 37a50d623a444ec690d2677b12b59c2f11e497c0 \ 27 rmd160 e6a89d6984ba84aa9895ab0b6e6b68ac86881be3 24 master_sites https://github.com/brianb/mdbtools/tarball/${version} 25 checksums sha256 6d49c52ee578dc7209865873a5715ff2adc6cab214faae6b5c2b91ee058c5c6f \ 26 rmd160 3dfa263f73eb65e3e2899810c10fa55f0bd5d804 28 27 29 post-extract { 30 # https://bugs.gentoo.org/227257?id=227257 31 delete ${worksrcpath}/acinclude.m4 32 } 28 worksrcdir brianb-mdbtools-004cc9f 33 29 34 # fix universal variant and build_arch 35 use_autoreconf yes 30 patchfiles patch-configure_in \ 31 patch-src_libmdb_makefile_am \ 32 patch-src_sql_makefile_am 36 33 37 patchfiles patch-mdbtools.diff 34 configure.cmd ./autogen.sh 38 35 configure.args-append --mandir=${prefix}/share/man -
files/patch-configure_in
1 --- configure.in.orig 2012-09-24 16:12:41.000000000 -0400 2 +++ configure.in 2012-09-24 16:14:30.000000000 -0400 3 @@ -61,7 +61,7 @@ 4 AC_SUBST(SQL) 5 AC_SUBST(LFLAGS) 6 7 -LDFLAGS="$LDFLAGS -Wl,--as-needed" 8 +LDFLAGS="$LDFLAGS -Wl," 9 10 dnl check for iODBC 11 -
files/patch-mdbtools.diff
1 diff -ru ./src/libmdb/backend.c ../mdbtools-0.6pre1/src/libmdb/backend.c2 --- ./src/libmdb/backend.c 2004-06-11 15:56:41.000000000 +02003 +++ ../mdbtools-0.6pre1/src/libmdb/backend.c 2009-02-26 21:06:17.000000000 +01004 @@ -28,7 +28,7 @@5 #endif6 7 static int is_init;8 -static GHashTable *mdb_backends;9 +GHashTable *mdb_backends;10 11 /* Access data types */12 static MdbBackendType mdb_access_types[] = { -
files/patch-src_libmdb_makefile_am
1 --- src/libmdb/Makefile.am.orig 2012-09-24 16:13:08.000000000 -0400 2 +++ src/libmdb/Makefile.am 2012-09-24 16:14:57.000000000 -0400 3 @@ -1,5 +1,5 @@ 4 lib_LTLIBRARIES = libmdb.la 5 libmdb_la_SOURCES= catalog.c mem.c file.c table.c data.c dump.c backend.c money.c sargs.c index.c like.c write.c stats.c map.c props.c worktable.c options.c iconv.c 6 -libmdb_la_LDFLAGS = -version-info 2:0:0 -Wl,--version-script=$(srcdir)/libmdb.map 7 +libmdb_la_LDFLAGS = -version-info 2:0:0 -Wl 8 AM_CPPFLAGS = -I$(top_srcdir)/include $(GLIB_CFLAGS) 9 LIBS = $(GLIB_LIBS) @LIBS@ -
files/patch-src_sql_makefile_am
1 --- src/sql/Makefile.am.orig 2012-09-24 16:13:29.000000000 -0400 2 +++ src/sql/Makefile.am 2012-09-24 16:15:05.000000000 -0400 3 @@ -1,6 +1,6 @@ 4 lib_LTLIBRARIES = libmdbsql.la 5 libmdbsql_la_SOURCES= mdbsql.c parser.y lexer.l 6 -libmdbsql_la_LDFLAGS = -version-info 2:0:0 -Wl,--version-script=$(srcdir)/libmdbsql.map 7 +libmdbsql_la_LDFLAGS = -version-info 2:0:0 -Wl 8 DISTCLEANFILES = parser.c parser.h lexer.c 9 AM_CPPFLAGS = -I$(top_srcdir)/include $(GLIB_CFLAGS) 10 LIBS = $(GLIB_LIBS)