3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #177000 from trofi/fix-fno-common-for-alarm-clock-applet

alarm-clock-applet: pull fix pending upstream inclusion for -fno-comm…
This commit is contained in:
Sergei Trofimovich 2022-06-09 17:11:58 +00:00 committed by GitHub
commit 5770bec753
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
{ lib, stdenv, fetchFromGitHub
{ lib, stdenv, fetchFromGitHub, fetchpatch
, pkg-config
, autoconf
, automake111x
@ -28,6 +28,16 @@ stdenv.mkDerivation rec {
sha256 = "18blvgy8hmw3jidz7xrv9yiiilnzcj65m6wxhw58nrnbcqbpydwn";
};
patches = [
# Pull patch pending upstream inclusion for -fno-common toolchain support:
# https://github.com/joh/alarm-clock/pull/209
(fetchpatch {
name = "fno-common.patch";
url = "https://github.com/joh/alarm-clock/commit/969e7ba8225610cce55b14fcb599bc6f7771bd9a.patch";
sha256 = "0ajhir22b5ww9pkmzy9mlc9f2lr1q6wgvm9iqzjf4xsg4gm4jy1k";
})
];
nativeBuildInputs = [
pkg-config
intltool