db{48,53,60,62}: get gentoo patch for gcc15 and Wno-error=incompatible-pointer-types (#466885)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchpatch,
|
||||
fetchurl,
|
||||
autoreconfHook,
|
||||
...
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchpatch,
|
||||
fetchurl,
|
||||
autoreconfHook,
|
||||
...
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchpatch,
|
||||
fetchurl,
|
||||
autoreconfHook,
|
||||
...
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchpatch,
|
||||
fetchurl,
|
||||
autoreconfHook,
|
||||
...
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
lib,
|
||||
stdenv,
|
||||
fetchpatch,
|
||||
fetchurl,
|
||||
autoreconfHook,
|
||||
cxxSupport ? true,
|
||||
@@ -29,7 +30,14 @@ stdenv.mkDerivation (
|
||||
# configure checks to work incorrectly with clang 16.
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
patches = extraPatches;
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "gcc15.patch";
|
||||
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-libs/db/files/db-4.8.30-tls-configure.patch?id=1ae36006c79ef705252f5f7009e79f6add7dc353";
|
||||
hash = "sha256-OzQL+kgXtcvhvyleDLuH1abhY4Shb/9IXx4ZkeFbHOA=";
|
||||
})
|
||||
]
|
||||
++ extraPatches;
|
||||
|
||||
outputs = [
|
||||
"bin"
|
||||
@@ -75,6 +83,10 @@ stdenv.mkDerivation (
|
||||
popd
|
||||
'';
|
||||
|
||||
NIX_CFLAGS_COMPILE = [
|
||||
"-Wno-error=incompatible-pointer-types"
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
(if cxxSupport then "--enable-cxx" else "--disable-cxx")
|
||||
(if compat185 then "--enable-compat185" else "--disable-compat185")
|
||||
|
||||
Reference in New Issue
Block a user