FreeBSD Bugzilla – Attachment 255414 Details for
Bug 282938
databases/mdbtools: Build with newer versions of LLMV/Clang and improve port
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for mdbtools
mdbtools-fixup.patch (text/plain), 2.11 KB, created by
Daniel Engberg
on 2024-11-23 20:16:48 UTC
(
hide
)
Description:
Patch for mdbtools
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2024-11-23 20:16:48 UTC
Size:
2.11 KB
patch
obsolete
>diff --git a/databases/mdbtools/Makefile b/databases/mdbtools/Makefile >index e50d3e787889..6d7fe25a7005 100644 >--- a/databases/mdbtools/Makefile >+++ b/databases/mdbtools/Makefile >@@ -21,13 +21,16 @@ USES= bison cpe gnome iconv:wchar_t libtool pathfix \ > CPE_VENDOR= mdbtools_project > USE_GNOME= glib20 > USE_LDCONFIG= yes >+ > GNU_CONFIGURE= yes >-GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share >-CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \ >- --with-unixodbc=${LOCALBASE} >+ >+DOCS= AUTHORS HACKING.md NEWS README.md > > INSTALL_TARGET= install-strip > >+CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG} \ >+ --with-unixodbc=${LOCALBASE} >+ > OPTIONS_DEFINE= DOCS MANPAGES LIBMSWSTR NLS > OPTIONS_DEFAULT= MANPAGES > OPTIONS_SUB= yes >@@ -36,23 +39,10 @@ LIBMSWSTR_DESC= Read and parse JET 4 mdb file indices > > LIBMSWSTR_LIB_DEPENDS= libmswstr.so:databases/libmswstr > LIBMSWSTR_CONFIGURE_ENV_OFF= ac_cv_lib_mswstr_DBLCMapStringW=no >-MANPAGES_CONFIGURE_OFF= --disable-man >-NLS_USES= gettext > >-DOCS= AUTHORS HACKING.md NEWS README.md >- >-.include <bsd.port.pre.mk> >+MANPAGES_CONFIGURE_OFF= --disable-man > >-.if ${LLVM_DEFAULT} >= 15 >-# With LLVM15: parser.c:1053:9: error: >-# variable 'yynerrs' set but not used [-Werror,-Wunused-but-set-variable] >-BUILD_DEPENDS+= llvm-config${LLVM_VER}:devel/llvm${LLVM_VER} >-LLVM_VER= 14 >-#CMAKE_ARGS+= -DLLVM_DIR=${LOCALBASE}/llvm${LLVM_VER}/lib/cmake/llvm >-CC= clang${LLVM_VER} >-CPP= clang-cpp${LLVM_VER} >-CXX= clang++${LLVM_VER} >-.endif >+NLS_USES= gettext > > post-configure: > @${REINPLACE_CMD} -e \ >@@ -63,4 +53,4 @@ post-install-DOCS-on: > @${MKDIR} ${STAGEDIR}${DOCSDIR} > ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >diff --git a/databases/mdbtools/files/patch-configure b/databases/mdbtools/files/patch-configure >new file mode 100644 >index 000000000000..e9336f72ec71 >--- /dev/null >+++ b/databases/mdbtools/files/patch-configure >@@ -0,0 +1,11 @@ >+--- configure.orig 2024-11-23 19:10:22 UTC >++++ configure >+@@ -17896,7 +17896,7 @@ fi >+ >+ >+ >+-CFLAGS="$CFLAGS -Wall -Werror" >++CFLAGS="$CFLAGS -Wall -Wextra" >+ LOCALE_T=locale_t >+ case $host in #( >+ *mingw*) :
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 282938
: 255414