Merge pull request from trofi/fix-fno-common-for-matchbox

matchbox: pull upstream fix fo -fno-common toolchains
This commit is contained in:
Sergei Trofimovich 2022-05-19 07:16:09 +00:00 committed by GitHub
commit 08c50d7a1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, pkg-config, libmatchbox, libX11, libXext }:
{ lib, stdenv, fetchurl, fetchpatch, pkg-config, libmatchbox, libX11, libXext }:
stdenv.mkDerivation rec {
pname = "matchbox";
@ -13,6 +13,15 @@ stdenv.mkDerivation rec {
sha256 = "1zyfq438b466ygcz78nvsmnsc5bhg4wcfnpxb43kbkwpyx53m8l1";
};
patches = [
# Pull upstream fix for -fno-common tollchains:
(fetchpatch {
name = "fno-common.patch";
url = "https://git.yoctoproject.org/matchbox-window-manager/patch/?id=844f61069896fe3f549ab425d731c061028f697c";
sha256 = "1md2s7q094hn4gzg21pfyz8d426y07d5rbx2icas9nvc8jj7bwfc";
})
];
meta = {
description = "X window manager for non-desktop embedded systems";
homepage = "https://www.yoctoproject.org/software-item/matchbox/";