require 'formula' class Libunistring < Formula homepage 'http://www.gnu.org/software/libunistring/' url 'http://ftpmirror.gnu.org/libunistring/libunistring-0.9.3.tar.gz' mirror 'http://ftp.gnu.org/gnu/libunistring/libunistring-0.9.3.tar.gz' sha1 'e1ea13c24a30bc93932d19eb5ad0704a618506dd' bottle do cellar :any sha1 "fd93c4c18b2b526b77d9dfeefd11ff89a6effc02" => :mavericks sha1 "4bbf7ca720de8b13e2ebac7b5bb88ef2057b21a4" => :mountain_lion sha1 "ed2d278f23e772a0401897a579deff47606b5d03" => :lion end # http://git.savannah.gnu.org/gitweb/?p=libunistring.git;a=commitdiff;h=c8337fee8bd30207245f67201a9b4559f10ca91c patch :DATA def install system "./configure", "--disable-dependency-tracking", "--disable-silent-rules", "--prefix=#{prefix}" system "make" system "make", "check" system "make", "install" end end __END__ diff --git a/lib/stdint.mini.h b/lib/stdint.mini.h index d6f2cb0..80a439e 100644 --- a/lib/stdint.mini.h +++ b/lib/stdint.mini.h @@ -121,7 +121,6 @@ typedef unsigned int unistring_uint32_t; /* Avoid collision with Solaris 2.5.1 etc. */ #define _UINT8_T #define _UINT32_T -#define _UINT64_T #endif /* _UNISTRING_STDINT_H */