libdb-4_8/libdb-4_8-sequence.patch
Angel Yankov 67ecc9868d - Add libdb-4_8-sequence.patch: Fix code to detect/enable 64-bit
integral type support for sequences. The m4 macros were not
  complying with GCC 14's strictness.
- Rebase db-4.8.30.patch and libdb-fix-atomic.patch to also apply
  using -p1 and use the autosetup macro.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libdb-4_8?expand=0&rev=77
2024-11-26 15:14:16 +00:00

16 lines
532 B
Diff

Index: db-4.8.30/dist/aclocal/sequence.m4
===================================================================
--- db-4.8.30.orig/dist/aclocal/sequence.m4
+++ db-4.8.30/dist/aclocal/sequence.m4
@@ -43,7 +43,9 @@ AC_DEFUN(AM_SEQUENCE_CONFIGURE, [
# test, which won't test for the appropriate printf format strings.
if test "$db_cv_build_sequence" = "yes"; then
AC_TRY_RUN([
- main() {
+ #include <stdio.h>
+ #include <string.h>
+ int main() {
$db_cv_seq_type l;
unsigned $db_cv_seq_type u;
char buf@<:@100@:>@;