Merge pull request #176192 from trofi/fix-fno-common-for-gravit
gravit: pull fix pending upstream inclusion for -fno-common toolchains
This commit is contained in:
commit
10d4489f86
|
@ -1,4 +1,4 @@
|
|||
{ lib, stdenv, fetchFromGitHub, SDL, SDL_ttf, SDL_image, libSM, libICE, libGLU, libGL, libpng, lua5, autoconf, automake }:
|
||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, SDL, SDL_ttf, SDL_image, libSM, libICE, libGLU, libGL, libpng, lua5, autoconf, automake }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "gravit";
|
||||
|
@ -11,6 +11,16 @@ stdenv.mkDerivation rec {
|
|||
hash = "sha256-JuqnLLD5+Ec8kQI0SK98V1O6TTbGM6+yKn5KCHe85eM=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# Pull fix pending upstream inclusion for -fno-common toolchains:
|
||||
# https://github.com/gak/gravit/pull/100
|
||||
(fetchpatch {
|
||||
name = "fno-common.patch";
|
||||
url = "https://github.com/gak/gravit/commit/0f848834889212f16201fd404d2d5b9bb5b47d23.patch";
|
||||
hash = "sha256-k1aMIg7idMt53o6dFgIKJflOMp0Jp5NwgWEijcIwXrQ=";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ libGLU libGL SDL SDL_ttf SDL_image lua5 libpng libSM libICE ];
|
||||
|
||||
nativeBuildInputs = [ autoconf automake ];
|
||||
|
|
Loading…
Reference in a new issue