Bug 2152303 - libdb: Port to C99
Summary: libdb: Port to C99
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libdb
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Weimer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PortingToModernCNoUpstream
TreeView+ depends on / blocked
 
Reported: 2022-12-10 12:19 UTC by Florian Weimer
Modified: 2024-01-05 16:29 UTC (History)
7 users (show)

Fixed In Version: libdb-5.3.28-59.fc40
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-12-10 14:14:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
libdb-1.85-c99.patch (712 bytes, patch)
2022-12-10 14:12 UTC, Florian Weimer
no flags Details | Diff
libdb-c99.patch (867 bytes, patch)
2022-12-10 14:13 UTC, Florian Weimer
no flags Details | Diff
libdb-configure-c99.patch (6.93 KB, patch)
2022-12-10 14:13 UTC, Florian Weimer
no flags Details | Diff
libdb-sqlite-c99.patch (665 bytes, patch)
2022-12-10 14:14 UTC, Florian Weimer
no flags Details | Diff
libdb-1.85-c99.patch (1.18 KB, text/plain)
2024-01-05 16:28 UTC, Florian Weimer
no flags Details
libdb-configure-c99.patch (6.98 KB, patch)
2024-01-05 16:29 UTC, Florian Weimer
no flags Details | Diff

Description Florian Weimer 2022-12-10 12:19:01 UTC
The Fedora version is based on an earlier Berkeley DB version licensed under the Sleepycat license, and this version is no longer maintained by upstream. Filing this bug here for tracking purposes.

An unusually large amount of changes is required in a configure script. And the package currently FTBFS in rawhide due to the --runstatedir=/run change. I'm going to add a redhat-rpm-config tweak for that and use it.

Comment 1 Florian Weimer 2022-12-10 14:12:57 UTC
Created attachment 1931608 [details]
libdb-1.85-c99.patch

Comment 2 Florian Weimer 2022-12-10 14:13:22 UTC
Created attachment 1931609 [details]
libdb-c99.patch

Comment 3 Florian Weimer 2022-12-10 14:13:43 UTC
Created attachment 1931610 [details]
libdb-configure-c99.patch

Comment 4 Florian Weimer 2022-12-10 14:14:07 UTC
Created attachment 1931611 [details]
libdb-sqlite-c99.patch

Comment 5 Florian Weimer 2024-01-05 16:28:08 UTC
Created attachment 2007368 [details]
libdb-1.85-c99.patch

Additional GCC 14 compatibility fixes.

Comment 6 Florian Weimer 2024-01-05 16:29:12 UTC
Created attachment 2007369 [details]
libdb-configure-c99.patch

Additional GCC 14 compatibility fixes.


Note You need to log in before you can comment on or make changes to this bug.