mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 05:00:19 +00:00
indent: 2.2.12 -> 2.2.13
This commit is contained in:
parent
ffa418a411
commit
4e67f78941
@ -1,15 +0,0 @@
|
||||
diff --git a/config.h.in b/config.h.in
|
||||
index 07e6fce..0c57e2a 100644
|
||||
--- a/config.h.in
|
||||
+++ b/config.h.in
|
||||
@@ -432,8 +432,8 @@
|
||||
# endif
|
||||
# define _GL_EXTERN_INLINE extern
|
||||
#else
|
||||
-# define _GL_INLINE static _GL_UNUSED
|
||||
-# define _GL_EXTERN_INLINE static _GL_UNUSED
|
||||
+# define _GL_INLINE static
|
||||
+# define _GL_EXTERN_INLINE static
|
||||
#endif
|
||||
|
||||
#if 4 < __GNUC__ + (6 <= __GNUC_MINOR__)
|
@ -1,19 +1,27 @@
|
||||
{ lib, stdenv, fetchurl, texinfo, buildPackages, pkgsStatic }:
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, fetchpatch
|
||||
, libintl
|
||||
, texinfo
|
||||
, buildPackages
|
||||
, pkgsStatic
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "indent";
|
||||
version = "2.2.12";
|
||||
version = "2.2.13";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnu/${pname}/${pname}-${version}.tar.gz";
|
||||
sha256 = "12xvcd16cwilzglv9h7sgh4h1qqjd1h8s48ji2dla58m4706hzg7";
|
||||
hash = "sha256-nmRjT8TOZ5eyBLy4iXzhT90KtIyldpb3h2fFnK5XgJU=";
|
||||
};
|
||||
|
||||
patches = [ ./darwin.patch ];
|
||||
makeFlags = [ "AR=${stdenv.cc.targetPrefix}ar" ];
|
||||
|
||||
strictDeps = true;
|
||||
nativeBuildInputs = [ texinfo ];
|
||||
buildInputs = [ libintl ];
|
||||
pkgsBuildBuild = [ buildPackages.stdenv.cc ]; # needed when cross-compiling
|
||||
|
||||
env.NIX_CFLAGS_COMPILE = toString (
|
||||
|
Loading…
Reference in New Issue
Block a user