[Bug 247764] databases/mdbtools: Update to 0.8.2
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jul 4 16:56:55 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247764
Bug ID: 247764
Summary: databases/mdbtools: Update to 0.8.2
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: rhurlin at gwdg.de
Created attachment 216199
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216199&action=edit
patch to update databases/mdbtools from 0.7.1 to 0.8.2
mdbtools v0.7.1 [1] is not updated for years and the release is from 2013. For
quite some time now (~ 2017), there is a fork from Cyber Emissary[2] and after
some testing I decided to follow this one.
The fork from Cyber Emissary is at version 0.8.2 ATM and some more pull request
were committed since then.
[1] https://github.com/brjohnsn/mdbtools
[2] https://github.com/cyberemissary
So this PR should update databases/mdbtools from 0.7.1 to 0.8.2 (from
2018-12-28) and brings some improvements and new features. User visible changes
are
- Improved support for Access 2010, 2013, and 2016
- Build script and readme improvements
- Use bigger buffer when reading big blobs for better performance
- Use bulk inserts on supporting platforms for significantly better performance
- Added mdb-count utility to return row count in tables
- Update unknown flag to ddl flag for properties
- Print unknown Jet versions in libmdb
The port itself changes
- from version 0.7.1 to 0.8.2
- add CONFIGURE_ARGS=--enable-gtk-doc
- change GITHUB account
- add USE_GNOME=gdkpixbuf2
- reorder entries in Makefile (USES=, GITHUB=, ...)
- rm files/patch-src__sql__Makefile.am (upstream included)
- add newest fork URL to pkg-descr
- update pkg-plist
The patch is tested on Poudriere (11.4i/a, 12.1i/a, and HEADi/a).
'portlint -AC' suggest to add a NLS knob, but there is no easy way to disable
gettext usage in the sources?
########################################################################
IMPORTANT NOTICE: MDBTools 0.8.2 does not build, if 0.7.1 is installed:
[..snip..]
file.c:232:7: error: use of undeclared identifier 'MDB_VER_ACCDB_2013'; did you
mean 'MDB_VER_ACCDB_2010'?
case MDB_VER_ACCDB_2013:
^~~~~~~~~~~~~~~~~~
MDB_VER_ACCDB_2010
/usr/local/include/mdbtools.h:71:2: note: 'MDB_VER_ACCDB_2010' declared here
MDB_VER_ACCDB_2010 = 0x0103
^
file.c:233:7: error: use of undeclared identifier 'MDB_VER_ACCDB_2016'; did you
mean 'MDB_VER_ACCDB_2010'?
case MDB_VER_ACCDB_2016:
^~~~~~~~~~~~~~~~~~
MDB_VER_ACCDB_2010
/usr/local/include/mdbtools.h:71:2: note: 'MDB_VER_ACCDB_2010' declared here
MDB_VER_ACCDB_2010 = 0x0103
^
file.c:232:7: error: duplicate case value 'MDB_VER_ACCDB_2010'
case MDB_VER_ACCDB_2013:
^
file.c:231:7: note: previous case defined here
case MDB_VER_ACCDB_2010:
^
file.c:233:7: error: duplicate case value 'MDB_VER_ACCDB_2010'
case MDB_VER_ACCDB_2016:
^
file.c:232:7: note: previous case defined here
case MDB_VER_ACCDB_2013:
^
4 errors generated.
*** Error code 1
Stop.
make[4]: stopped in
/usr/ports/databases/mdbtools/work/mdbtools-0.8.2/src/libmdb
As a workaround, one can deinstall 0.7.1 before building 0.8.2.
I could need some help here to get rid of this behaviour.
########################################################################
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list