update ttf-mkfontdir

svn path=/nixpkgs/trunk/; revision=23134

+3 -15
-12
pkgs/tools/misc/ttmkfdir/cstring.patch
··· 1 - diff --git a/directory.cpp b/directory.cpp 2 - index 5f0d78a..b94cbe5 100644 3 - --- a/directory.cpp 4 - +++ b/directory.cpp 5 - @@ -2,6 +2,7 @@ 6 - #include <dirent.h> 7 - #include <sys/stat.h> 8 - #include <unistd.h> 9 - +#include <cstring> 10 - 11 - #include "directory.h" 12 - 13 1 diff --git a/Makefile b/Makefile 14 2 index e65b64c..52af5ed 100644 15 3 --- a/Makefile
+3 -3
pkgs/tools/misc/ttmkfdir/default.nix
··· 1 1 { stdenv, fetchurl, freetype, fontconfig, libunwind, libtool, flex, bison }: 2 2 3 3 stdenv.mkDerivation { 4 - name = "ttf-mkfontdir-3.0.9-5.1"; 4 + name = "ttf-mkfontdir-3.0.9-6"; 5 5 6 6 src = fetchurl { 7 7 url = http://ftp.de.debian.org/debian/pool/main/t/ttmkfdir/ttmkfdir_3.0.9.orig.tar.gz; ··· 12 12 # who knows more about C/C++ .. 13 13 patches = 14 14 [ (fetchurl { 15 - url = http://ftp.de.debian.org/debian/pool/main/t/ttmkfdir/ttmkfdir_3.0.9-5.1.diff.gz; 16 - sha256 = "1500kwvhxfq85zg7nwnn9dlvjxyg2ni7as17gdfm67pl9a45q3w4"; 15 + url = http://ftp.de.debian.org/debian/pool/main/t/ttmkfdir/ttmkfdir_3.0.9-6.diff.gz; 16 + sha256 = "141kxaf2by8nf87hqyszaxi0n7nnmswr1nh2i5r5bsvxxmaj9633"; 17 17 }) 18 18 19 19 ./cstring.patch # also fixes some other compilation issues (freetype includes)