[packages/cvsnt] Rel 20; more fixes
arekm
arekm at pld-linux.org
Tue Aug 12 00:25:55 CEST 2025
commit 5badb522ea9f6913e0b0964ab24da64b2472c35e
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Mon Aug 11 22:31:31 2025 +0200
Rel 20; more fixes
cvsnt-fixes.patch | 31 +++++++++++++++++++++++++++++++
cvsnt.spec | 2 +-
2 files changed, 32 insertions(+), 1 deletion(-)
---
diff --git a/cvsnt.spec b/cvsnt.spec
index 6b499d1..af26cbe 100644
--- a/cvsnt.spec
+++ b/cvsnt.spec
@@ -23,7 +23,7 @@ Summary(pl.UTF-8): Concurrent Versioning System
Name: cvsnt
# http://www.cvsnt.org/archive/2.5_stable tell which version is stable
Version: 2.5.05.3744
-Release: 19
+Release: 20
License: GPL v2+/LGPL v2+
Group: Development/Version Control
Source0: http://www.cvsnt.org/archive/%{name}-%{version}.tar.gz
diff --git a/cvsnt-fixes.patch b/cvsnt-fixes.patch
index fa1fe87..af63acf 100644
--- a/cvsnt-fixes.patch
+++ b/cvsnt-fixes.patch
@@ -83,3 +83,34 @@
CServerIo::trace(3,"CXmlTree::CreateNewTree() - xmlKeepBlanksDefault(0)");
xmlKeepBlanksDefault(0);
+--- cvsnt-2.5.05.3744/configure.in~ 2025-08-11 22:20:10.000000000 +0200
++++ cvsnt-2.5.05.3744/configure.in 2025-08-11 22:20:42.883837495 +0200
+@@ -582,6 +582,8 @@ if test "$enable_mysql" = "yes"; then
+ fi
+ fi
+
++AC_CHECK_HEADERS(mysql.h)
++
+ saved_libs="$LIBS"
+ LIBS="$MSQ_LDFLAGS"
+ if test "$enable_mysql" = "yes"; then
+@@ -591,9 +593,6 @@ if test "$enable_mysql" = "yes"; then
+ #include <mysql.h>
+ #endif
+
+-#if (defined(MYSQL_VERSION_ID)) && (MYSQL_VERSION_ID >= 40000)
+-generate_an_error!!!
+-#endif
+ ]], [[mysql_init(0);]])],[ac_cv_have_mysql="yes"],[ac_cv_have_mysql="no"
+ LIBS="$saved_libs"])
+ AC_MSG_RESULT($ac_cv_have_mysql)],
+--- cvsnt-2.5.05.3744/configure.in~ 2025-08-11 22:22:54.000000000 +0200
++++ cvsnt-2.5.05.3744/configure.in 2025-08-11 22:29:12.920172628 +0200
+@@ -540,6 +540,7 @@ AC_ARG_ENABLE(sqlite,
+ [enable_sqlite="yes"])
+ AC_MSG_RESULT($enable_sqlite)
+
++AC_CHECK_HEADERS(sqlite3.h)
+ saved_libs="$LIBS"
+ LIBS=""
+ if test "$enable_sqlite" = "yes" ; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/cvsnt.git/commitdiff/5badb522ea9f6913e0b0964ab24da64b2472c35e
More information about the pld-cvs-commit
mailing list