databases/freetds: Update version 1.4.10=>1.4.11

This commit is contained in:
Muhammad Moinur Rahman 2024-03-30 15:34:25 +01:00
parent 0da25c907b
commit 3a232b2851
No known key found for this signature in database
GPG key ID: BDB9B5A617C0BC91
4 changed files with 46 additions and 8 deletions

View file

@ -1,7 +1,6 @@
PORTNAME= freetds
PORTVERSION= 1.4.10
PORTVERSION= 1.4.11
PORTEPOCH= 1
PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= https://www.freetds.org/files/stable/ \
ftp://ftp.freetds.org/pub/freetds/stable/
@ -18,7 +17,8 @@ USES= cpe gettext gmake iconv libtool:keepla localbase:ldflags \
pkgconfig readline tar:bzip2
USE_LDCONFIG= yes
HAS_CONFIGURE= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
CONFIGURE_ARGS= --enable-msdblib \
--enable-sybase-compat \
--sysconfdir=${ETCDIR} \

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1701770938
SHA256 (freetds-1.4.10.tar.bz2) = c7eaf226bdcb1cdc1b221696532ccd25f4e4e7754265a29777a3400084bde698
SIZE (freetds-1.4.10.tar.bz2) = 2394706
TIMESTAMP = 1711809183
SHA256 (freetds-1.4.11.tar.bz2) = 567f7ce913f222191dda7e1c221d5e272a387152fef6cacbd97767fea68b613e
SIZE (freetds-1.4.11.tar.bz2) = 2394685

View file

@ -0,0 +1,38 @@
--- configure.orig 2023-12-04 09:01:11 UTC
+++ configure
@@ -19020,20 +19020,7 @@ fi
printf "%s\n" "#define HAVE_SQL_H 1" >>confdefs.h
fi
-ac_fn_c_check_header_compile "$LINENO" "odbcss.h" "ac_cv_header_odbcss_h" "#ifdef HAVE_WINDOWS_H
-# include <windows.h>
-#endif
-#ifdef HAVE_SQL_H
-# include <sql.h>
-#endif
-"
-if test "x$ac_cv_header_odbcss_h" = xyes
-then :
- printf "%s\n" "#define HAVE_ODBCSS_H 1" >>confdefs.h
-
-fi
-
if test "$ac_cv_header_odbcss_h" = "yes"; then
HAVE_ODBCSS_H_TRUE=
HAVE_ODBCSS_H_FALSE='#'
@@ -21342,7 +21329,7 @@ elif test "x$with_iodbc" != "x" -a "x$with_iodbc" != "
with_iodbc="$PWD/$with_iodbc"
fi
CPPFLAGS="$CPPFLAGS -DIODBC"
- ODBC_INC="$with_iodbc/include"
+ ODBC_INC="$with_iodbc/include/libiodbc"
test -r "$ODBC_INC/isql.h" || as_fn_error $? "isql.h not found" "$LINENO" 5
test -r "$ODBC_INC/isqlext.h" || as_fn_error $? "isqlext.h not found" "$LINENO" 5
ODBC_INC="-I$ODBC_INC"
@@ -26046,5 +26033,3 @@ fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
-
-

View file

@ -1,4 +1,4 @@
--- src/tds/tls.c.orig 2022-05-31 06:46:53 UTC
--- src/tds/tls.c.orig 2023-11-24 09:00:02 UTC
+++ src/tds/tls.c
@@ -53,6 +53,10 @@
#include <sys/socket.h>
@ -20,7 +20,7 @@
static BIO_METHOD tds_method_login[1] = {
{
BIO_TYPE_MEM,
@@ -664,7 +668,7 @@ tds_deinit_openssl_methods(void)
@@ -665,7 +669,7 @@ tds_deinit_openssl_methods(void)
# endif
#endif