3
0
Fork 0
forked from mirrors/nixpkgs

altermime: 0.3.10 -> 0.3.11

This commit is contained in:
Robin Gloster 2017-08-01 11:51:30 +02:00
parent 63b6179f52
commit a434da450b
No known key found for this signature in database
GPG key ID: 5E4C836C632C2882
3 changed files with 3 additions and 25 deletions

View file

@ -1,18 +0,0 @@
# Generated by debian-patches.sh from debian-patches.txt
let
prefix = "http://patch-tracker.debian.org/patch/series/dl/altermime/0.3.10-7";
in
[
{
url = "${prefix}/15_fix_snprintf.diff";
sha256 = "0fbi99s7pc2jvg9s2zldvg18i6g5ca3pcyaxy47kyabnz956dris";
}
{
url = "${prefix}/10_fix_printk_warnings.diff";
sha256 = "1fqsym07r3gv8zllg7c956g5a04gsxnr1ibbgkjr3yx6nm5ci1j7";
}
{
url = "${prefix}/20_fix-unused-but-set-variables.diff";
sha256 = "0ski67k44amrgg2g3gwdjzrlix2gjg60r5rs5wbjingvq1n7255r";
}
]

View file

@ -1,4 +0,0 @@
altermime/0.3.10-7
15_fix_snprintf.diff
10_fix_printk_warnings.diff
20_fix-unused-but-set-variables.diff

View file

@ -3,14 +3,14 @@
stdenv.mkDerivation rec {
baseName = "altermime";
name = "${baseName}-${version}";
version = "0.3.10";
version = "0.3.11";
src = fetchurl {
url = "http://www.pldaniels.com/${baseName}/${name}.tar.gz";
sha256 = "0vn3vmbcimv0n14khxr1782m76983zz9sf4j2kz5v86lammxld43";
sha256 = "15zxg6spcmd35r6xbidq2fgcg2nzyv1sbbqds08lzll70mqx4pj7";
};
patches = map fetchurl (import ./debian-patches.nix);
NIX_CFLAGS_COMPILE = "-Wno-error=format";
postPatch = ''
sed -i Makefile -e "s@/usr/local@$out@"