sys-libs/db: remove unused patches

Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/29051
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Michael Mair-Keimberger
2023-01-10 17:34:15 +01:00
committed by Sam James
parent 621f1d6f24
commit 69cfcf33d6
5 changed files with 0 additions and 89 deletions

View File

@@ -1,11 +0,0 @@
--- a/dist/aclocal/sql.m4
+++ b/dist/aclocal/sql.m4
@@ -99,7 +99,7 @@
if test "$db_cv_debug" = "yes"; then
CPPFLAGS="$CPPFLAGS -g"
fi
-(cd sql && eval "\$SHELL ../$sqlite_dir/configure --disable-option-checking $ac_sub_configure_args CPPFLAGS=\"-I.. $CPPFLAGS\" --enable-amalgamation=$db_cv_sql_amalgamation --enable-readline=$with_readline --enable-editline=$with_editline" && cat build_config.h >> config.h) || exit 1
+(cd sql && eval "\$SHELL $sqlite_dir/configure --disable-option-checking $ac_sub_configure_args CPPFLAGS=\"-I.. $CPPFLAGS\" --enable-amalgamation=$db_cv_sql_amalgamation --enable-readline=$with_readline --enable-editline=$with_editline" && cat build_config.h >> config.h) || exit 1
# Configure JDBC if --enable-jdbc
if test "$db_cv_jdbc" != "no"; then

View File

@@ -1,38 +0,0 @@
--- a/test/tcl/parallel.tcl
+++ b/test/tcl/parallel.tcl
@@ -296,17 +296,26 @@
[eval glob -nocomplain {$dir/$buildpath/db_{reptest,repsite,replicate}$EXE}] \
$destdir/$buildpath}
}
+ catch {
+ set l [eval glob {$dir/.libs} {$dir/db_{checkpoint,deadlock}$EXE} \
+ {$dir/db_{dump,load,printlog,recover,stat,upgrade}$EXE} \
+ {$dir/db_{archive,verify,hotbackup,log_verify}$EXE}]
+ foreach fn $l {
+ set fbasename [file tail $fn]
+ eval file link {$destdir/$fbasename} $fn
+ }
+ }
+ # we will be modifying this file, so we must copy, not link
catch {eval file copy \
- [eval glob {$dir/{.libs,include.tcl}}] $destdir}
+ [eval glob {$dir/include.tcl}] $destdir}
# catch {eval file copy $dir/$queuedir $destdir}
- catch {eval file copy \
- [eval glob {$dir/db_{checkpoint,deadlock}$EXE} \
- {$dir/db_{dump,load,printlog,recover}$EXE} \
- {$dir/db_{stat,upgrade,archive,verify}$EXE} \
- {$dir/db_{hotbackup,log_verify,tuner}$EXE}] \
- $destdir}
- catch {eval file copy \
- [eval glob -nocomplain {$dir/db_{reptest,repsite,replicate}$EXE}] $destdir}
+ catch {
+ set l [eval glob -nocomplain {$dir/db_{reptest,repsite,replicate}$EXE}]
+ foreach fn $l {
+ set fbasename [file tail $fn]
+ eval file link {$destdir/$fbasename} $fn
+ }
+ }
# Create modified copies of include.tcl in parallel
# directories so paths still work.

View File

@@ -1,19 +0,0 @@
Fixes
cp: cannot stat 'bdb-sql': No such file or directory
cp: cannot stat 'gsg_db_server': No such file or directory
--- a/dist/Makefile.in
+++ b/dist/Makefile.in
@@ -1299,8 +1299,8 @@ uninstall_utilities:
# We install csharp docs even on UNIX so we don't have a
# broken link on the landing page.
-DOCLIST=api_reference articles bdb-sql collections csharp gsg \
- gsg_db_rep gsg_db_server gsg_txn index.html installation \
+DOCLIST=api_reference articles collections csharp gsg \
+ gsg_db_rep gsg_txn index.html installation \
java license porting programmer_reference upgrading
install_docs:

View File

@@ -1,10 +0,0 @@
--- a/dist/aclocal/sql.m4
+++ b/dist/aclocal/sql.m4
@@ -96,6 +96,6 @@
if test "$db_cv_build_cryptography" = "yes"; then
CPPFLAGS="$CPPFLAGS -DSQLITE_HAS_CODEC=1"
fi
-(cd sql && eval "\$SHELL ../$sqlite_dir/configure --disable-option-checking $ac_sub_configure_args CPPFLAGS=\"-I.. $CPPFLAGS\" --enable-amalgamation=$db_cv_sql_amalgamation --enable-readline=$with_readline " && cat build_config.h >> config.h) || exit 1
+(cd sql && eval "\$SHELL $sqlite_dir/configure --disable-option-checking $ac_sub_configure_args CPPFLAGS=\"-I.. $CPPFLAGS\" --enable-amalgamation=$db_cv_sql_amalgamation --enable-readline=$with_readline " && cat build_config.h >> config.h) || exit 1
# Configure JDBC if --enable-jdbc

View File

@@ -1,11 +0,0 @@
--- a/dist/aclocal/types.m4
+++ b/dist/aclocal/types.m4
@@ -188,7 +188,7 @@ AC_SUBST(db_off_t_decl)
AC_CHECK_TYPE(db_off_t,,
[AM_SEARCH_SSIZES(db_off_t_decl, db_off_t, $ac_cv_sizeof_off_t)])
AC_SUBST(db_off_t_max_decl)
-if test "$ac_cv_sizeof_off_t" == "4"; then
+if test "$ac_cv_sizeof_off_t" = "4"; then
db_off_t_max_decl="#define DB_OFF_T_MAX INT32_MAX"
else
db_off_t_max_decl="#define DB_OFF_T_MAX INT64_MAX"