mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
xbase: unbreak
This commit is contained in:
@@ -4,12 +4,12 @@
|
||||
fetchurl,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "xbase";
|
||||
version = "3.1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/xdb/xbase64-${version}.tar.gz";
|
||||
url = "mirror://sourceforge/xdb/xbase64-${finalAttrs.version}.tar.gz";
|
||||
sha256 = "17287kz1nmmm64y7zp9nhhl7slzlba09h6cc83w4mvsqwd9w882r";
|
||||
};
|
||||
|
||||
@@ -30,11 +30,14 @@ stdenv.mkDerivation rec {
|
||||
})
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
sed -i '1i#include <cstdarg>' xbase64/xbstring.cpp
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = "https://sourceforge.net/projects/xdb/";
|
||||
description = "C++ class library formerly known as XDB";
|
||||
platforms = lib.platforms.linux;
|
||||
broken = true; # Fails to build against gcc-14, no upstream activity.
|
||||
license = lib.licenses.lgpl2;
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user