3
0
Fork 0
forked from mirrors/nixpkgs

Merge #137492: gpm: upstream fix for -fno-common

This commit is contained in:
Vladimír Čunát 2021-09-24 11:06:43 +02:00
commit b56907aeeb
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA

View file

@ -37,6 +37,11 @@ stdenv.mkDerivation rec {
url = "https://raw.githubusercontent.com/gentoo/musl/5aed405d87dfa92a5cab1596f898e9dea07169b8/sys-libs/gpm/files/gpm-1.20.7-sysmacros.patch"; url = "https://raw.githubusercontent.com/gentoo/musl/5aed405d87dfa92a5cab1596f898e9dea07169b8/sys-libs/gpm/files/gpm-1.20.7-sysmacros.patch";
sha256 = "0lg4l9phvy2n8gy17qsn6zn0qq52vm8g01pgq5kqpr8sd3fb21c2"; sha256 = "0lg4l9phvy2n8gy17qsn6zn0qq52vm8g01pgq5kqpr8sd3fb21c2";
}) })
(fetchpatch {
# upstream build fix against -fno-common compilers like >=gcc-10
url = "https://github.com/telmich/gpm/commit/f04f24dd5ca5c1c13608b144ab66e2ccd47f106a.patch";
sha256 = "1q5hl5m61pci2f0x7r5in99rmqh328v1k0zj2693wdlafk9dabks";
})
]; ];
preConfigure = '' preConfigure = ''
./autogen.sh ./autogen.sh