Revert "xbps: fix build with gcc8"

This reverts commit f0a1f7e026.
This commit is contained in:
Franz Pletz 2019-09-03 22:07:06 +02:00
parent be9901afe2
commit d512362e77
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, fetchpatch, pkgconfig, which, zlib, openssl, libarchive }:
{ stdenv, fetchFromGitHub, pkgconfig, which, zlib, openssl, libarchive }:
stdenv.mkDerivation rec {
pname = "xbps";
@ -15,13 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib openssl libarchive ];
patches = [
./cert-paths.patch
(fetchpatch {
url = "https://patch-diff.githubusercontent.com/raw/void-linux/xbps/pull/38.patch";
sha256 = "050a9chw0cxy67nm2phz67mgndarrxrv50d54m3l1s5sx83axww3";
})
];
patches = [ ./cert-paths.patch ];
postPatch = ''
# fix unprefixed ranlib (needed on cross)