formule: migrate various patches (part 1)
a2ps: migrate patches argp-standalone: migrate patch autotrace: migrate patches avidemux: reference secure link bibtex2html: migrate patches bsdmake: migrate patches cctools: migrate patches cdparanoia: migrate patches cdrdao: reference secure links center-im: migrate patch clisp: migrate patch clucene: migrate patches cvs: migrate to sha256 daemon: migrate patch dvdrtools: migrate patches exim: style nits exim: migrate option ghostscript: migrate patch glib: migrate patch gpsd: migrate patch graphviz: migrate patch gtkglext: migrate patches gupnp: migrate patch hping: migrate patches id3lib: migrate patches jigdo: migrate patch jove: migrate patch ld64: migrate patches libcanberra: migrate patch libgcrypt: migrate patch libinfinity: migrate patch liblinear: migrate patch libmms: migrate patch libnet: migrate patch lsdvd: migrate patches
This commit is contained in:
parent
66f277214c
commit
c4d9c2a99c
34 changed files with 138 additions and 139 deletions
|
@ -12,17 +12,16 @@ class A2ps < Formula
|
|||
sha256 "465f3dca5424aea3d042f759809f59efc6e9605d6fd9dec3e880d0924713574a" => :mountain_lion
|
||||
end
|
||||
|
||||
# Software was last updated in 2007, so take MacPorts patches to get
|
||||
# it working on 10.6. See:
|
||||
# Software was last updated in 2007.
|
||||
# https://svn.macports.org/ticket/20867
|
||||
# https://trac.macports.org/ticket/18255
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/56498/trunk/dports/print/a2ps/files/patch-contrib_sample_Makefile.in"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/0ae366e6/a2ps/patch-contrib_sample_Makefile.in"
|
||||
sha256 "5a34c101feb00cf52199a28b1ea1bca83608cf0a1cb123e6af2d3d8992c6011f"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/56498/trunk/dports/print/a2ps/files/patch-lib__xstrrpl.c"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/0ae366e6/a2ps/patch-lib__xstrrpl.c"
|
||||
sha256 "89fa3c95c329ec326e2e76493471a7a974c673792725059ef121e6f9efb05bf4"
|
||||
end
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ class ArgpStandalone < Formula
|
|||
|
||||
# This patch fixes compilation with Clang.
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/86556/trunk/dports/devel/argp-standalone/files/patch-argp-fmtstream.h"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/b5f0ad3/argp-standalone/patch-argp-fmtstream.h"
|
||||
sha256 "5656273f622fdb7ca7cf1f98c0c9529bed461d23718bc2a6a85986e4f8ed1cb8"
|
||||
end
|
||||
|
||||
|
|
|
@ -11,12 +11,12 @@ class Autotrace < Formula
|
|||
# Issue 16569: Use MacPorts patch to port input-png.c to libpng 1.5.
|
||||
# Fix underquoted m4
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/100575/trunk/dports/graphics/autotrace/files/patch-libpng-1.5.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/5b41470/autotrace/patch-libpng-1.5.diff"
|
||||
sha256 "9c57a03d907db94956324e9199c7b5431701c51919af6dfcff4793421a1f31fe"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/77101/trunk/dports/graphics/autotrace/files/patch-autotrace.m4.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/5b41470/autotrace/patch-autotrace.m4.diff"
|
||||
sha256 "12d794c99938994f5798779ab268a88aff56af8ab4d509e14383a245ae713720"
|
||||
end
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ class Avidemux < Formula
|
|||
ENV["REV"] = version.to_s
|
||||
|
||||
# For 32-bit compilation under gcc 4.2, see:
|
||||
# http://trac.macports.org/ticket/20938#comment:22
|
||||
# https://trac.macports.org/ticket/20938#comment:22
|
||||
if MacOS.version <= :leopard || (Hardware.is_32_bit? && Hardware::CPU.intel? && ENV.compiler == :clang)
|
||||
inreplace "cmake/admFFmpegBuild.cmake",
|
||||
"${CMAKE_INSTALL_PREFIX})",
|
||||
|
|
|
@ -11,12 +11,12 @@ class Blahtexml < Formula
|
|||
|
||||
# Add missing unistd.h includes, taken from MacPorts
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/119768/trunk/dports/tex/blahtexml/files/patch-mainPng.cpp.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/0632225f/blahtexml/patch-mainPng.cpp.diff"
|
||||
sha256 "7d4bce5630881099b71beedbbc09b64c61849513b4ac00197b349aab2eba1687"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/119768/trunk/dports/tex/blahtexml/files/patch-main.cpp.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/0632225f/blahtexml/patch-main.cpp.diff"
|
||||
sha256 "d696d10931f2c2ded1cef50842b78887dba36679fbb2e0abc373e7b6405b8468"
|
||||
end
|
||||
|
||||
|
|
|
@ -17,22 +17,22 @@ class Bsdmake < Formula
|
|||
# MacPorts patches to make bsdmake play nice with our prefix system
|
||||
# Also a MacPorts patch to circumvent setrlimit error
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/90868/trunk/dports/devel/bsdmake/files/patch-Makefile.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/1fcaddfc/bsdmake/patch-Makefile.diff"
|
||||
sha256 "1e247cb7d8769d50e675e3f66b6f19a1bc7663a7c0800fc29a2489f3f6397242"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/90611/trunk/dports/devel/bsdmake/files/patch-mk.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/1fcaddfc/bsdmake/patch-mk.diff"
|
||||
sha256 "b7146bfe7a28fc422e740e28e56e5bf0166a29ddf47a54632ad106bca2d72559"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/90611/trunk/dports/devel/bsdmake/files/patch-pathnames.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/1fcaddfc/bsdmake/patch-pathnames.diff"
|
||||
sha256 "b24d73e5fe48ac2ecdfbe381e9173f97523eed5b82a78c69dcdf6ce936706ec6"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/105220/trunk/dports/devel/bsdmake/files/patch-setrlimit.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/1fcaddfc/bsdmake/patch-setrlimit.diff"
|
||||
sha256 "cab53527564d775d9bd9a6e4969f116fdd85bcf0ad3f3e57ec2dcc648f7ed448"
|
||||
end
|
||||
|
||||
|
|
|
@ -32,31 +32,31 @@ class Cctools < Formula
|
|||
|
||||
# These patches apply to cctools 855, for newer OSes
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/129741/trunk/dports/devel/cctools/files/cctools-829-lto.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/db27850/cctools/cctools-829-lto.patch"
|
||||
sha256 "8ed90e0eef2a3afc810b375f9d3873d1376e16b17f603466508793647939a868"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/129741/trunk/dports/devel/cctools/files/PR-37520.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/db27850/cctools/PR-37520.patch"
|
||||
sha256 "921cba3546389809500449b08f4275cfd639295ace28661c4f06174b455bf3d4"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/129741/trunk/dports/devel/cctools/files/cctools-839-static-dis_info.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/db27850/cctools/cctools-839-static-dis_info.patch"
|
||||
sha256 "f49162b5c5d2753cf19923ff09e90949f01379f8de5604e86c59f67441a1214c"
|
||||
end
|
||||
|
||||
# Fix building libtool with LTO disabled
|
||||
patch do
|
||||
url "https://gist.githubusercontent.com/mistydemeo/9fc5589d568d2fc45fb5/raw/c752d5c4567809c10b14d623b6c2d7416211b33a/libtool-no-lto.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/db27850/cctools/libtool-no-lto.diff"
|
||||
sha256 "3b687f2b9388ac6c4acac2b7ba28d9fd07f2a16e7d2dad09aa2255d98ec1632b"
|
||||
end
|
||||
|
||||
# strnlen patch only needed on Snow Leopard
|
||||
if MacOS.version == :snow_leopard
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/129741/trunk/dports/devel/cctools/files/snowleopard-strnlen.patch"
|
||||
sha1 "31c083b056d4510702484436fc66f24cc8635060"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/db27850/cctools/snowleopard-strnlen.patch"
|
||||
sha256 "b118f94411ad194596102f230abafa2f20262343ab36f2a578c6bdc1ae83ae12"
|
||||
end
|
||||
end
|
||||
else
|
||||
|
@ -64,34 +64,34 @@ class Cctools < Formula
|
|||
|
||||
# This set of patches only applies to cctools 806, for older OSes
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/103959/trunk/dports/devel/cctools/files/cctools-806-lto.patch"
|
||||
sha1 "f8a2059a4730119687d2ba6a5d9e7b49b66840e8"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/db27850/cctools/cctools-806-lto.patch"
|
||||
sha256 "a92f38f0c34749b0988d4bfec77dec3ce3fc27d50a2cf9f3aaffa4277386470c"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/103959/trunk/dports/devel/cctools/files/PR-9087924.patch"
|
||||
sha1 "1e5040370944a84e06bd983ea9f4e544a2ea7236"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/db27850/cctools/PR-9087924.patch"
|
||||
sha256 "6020933a25196660c2eb09d06f2cc4c2b5d67158fd2d99c221a17b63111ff391"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/103959/trunk/dports/devel/cctools/files/PR-9830754.patch"
|
||||
sha1 "65b8e2f7a877716fec82fcd2cd0c6c34adfdece3"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/db27850/cctools/PR-9830754.patch"
|
||||
sha256 "092e2762328477227f9589adf14c14945ebe6f266567deef16754ccc2ecb352d"
|
||||
end
|
||||
|
||||
# Despite the patch name this is needed on 806 too
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/103985/trunk/dports/devel/cctools/files/cctools-822-no-lto.patch"
|
||||
sha1 "e58ee836dde4693e90a39579c20df45f067d75a1"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/db27850/cctools/cctools-822-no-lto.patch"
|
||||
sha256 "535fe18d8842b03d23b0be057905f4f685d63b9c6436227b623b7aecd8e6ea83"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/103959/trunk/dports/devel/cctools/files/PR-11136237.patch"
|
||||
sha1 "88c045c08161d14241b7d51437b3ba77093d573a"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/db27850/cctools/PR-11136237.patch"
|
||||
sha256 "a19685c8870bdf270ed0fb8240985d87556be07eef14920ea782e2f5ec076759"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/103959/trunk/dports/devel/cctools/files/PR-12475288.patch"
|
||||
sha1 "3d6cb1ff1443b8c1c68c21c9808833537f7ce48d"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/db27850/cctools/PR-12475288.patch"
|
||||
sha256 "2883e782094e05cbe5bc5a9f672aa775bc23ca0c77d2ecaa931be8b39e3525cb"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -11,13 +11,14 @@ class Cdparanoia < Formula
|
|||
cause '"File too small" error while linking'
|
||||
end
|
||||
|
||||
# Patches via MacPorts
|
||||
patch do
|
||||
url "https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/osx_interface.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/2a22152/cdparanoia/osx_interface.patch"
|
||||
sha256 "3eca8ff34d2617c460056f97457b5ac62db1983517525e5c73886a2dea9f06d9"
|
||||
end
|
||||
|
||||
patch do
|
||||
url "https://trac.macports.org/export/70964/trunk/dports/audio/cdparanoia/files/patch-paranoia_paranoia.c.10.4.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/2a22152/cdparanoia/patch-paranoia_paranoia.c.10.4.diff"
|
||||
sha256 "4d6d51909d1b29a3c8ac349f5132a8acd96628355117efb3f192408d2cc4829e"
|
||||
end
|
||||
|
||||
|
|
|
@ -18,12 +18,12 @@ class Cdrdao < Formula
|
|||
# first patch fixes build problems under 10.6
|
||||
# see http://sourceforge.net/p/cdrdao/patches/23/
|
||||
patch do
|
||||
url "http://sourceforge.net/p/cdrdao/patches/_discuss/thread/205354b0/141e/attachment/cdrdao-mac.patch"
|
||||
url "https://sourceforge.net/p/cdrdao/patches/_discuss/thread/205354b0/141e/attachment/cdrdao-mac.patch"
|
||||
sha256 "ee1702dfd9156ebb69f5d84dcab04197e11433dd823e80923fd497812041179e"
|
||||
end
|
||||
|
||||
# second patch fixes device autodetection on OS X
|
||||
# see http://trac.macports.org/ticket/27819
|
||||
# see https://trac.macports.org/ticket/27819
|
||||
# upstream bug report:
|
||||
# http://sourceforge.net/tracker/?func=detail&aid=3381672&group_id=2171&atid=102171
|
||||
patch :p0, :DATA
|
||||
|
|
|
@ -22,7 +22,7 @@ class CenterIm < Formula
|
|||
patch :DATA
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/113135/trunk/dports/net/centerim/files/patch-libjabber_jconn.c.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/677cb38/center-im/patch-libjabber_jconn.c.diff"
|
||||
sha256 "ed8d10075c23c7dec2a782214cb53be05b11c04e617350f6f559f3c3bf803cfe"
|
||||
end
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ class Clisp < Formula
|
|||
patch :DATA
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/89054/trunk/dports/lang/clisp/files/patch-src_lispbibl_d.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/e2cc7c1/clisp/patch-src_lispbibl_d.diff"
|
||||
sha256 "fd4e8a0327e04c224fb14ad6094741034d14cb45da5b56a2f3e7c930f84fd9a0"
|
||||
end
|
||||
|
||||
|
|
|
@ -16,16 +16,14 @@ class Clucene < Formula
|
|||
depends_on "cmake" => :build
|
||||
|
||||
# Portability fixes for 10.9+
|
||||
# Upstream ticket: http://sourceforge.net/p/clucene/bugs/219/
|
||||
# Upstream ticket: https://sourceforge.net/p/clucene/bugs/219/
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/DomT4/scripts/46d9672f7/Homebrew_Resources/MacPorts_Import/clucene/r126047/patch-src-shared-CLucene-LuceneThreads.h.diff"
|
||||
mirror "https://trac.macports.org/export/126047/trunk/dports/devel/clucene/files/patch-src-shared-CLucene-LuceneThreads.h.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/ec8d133/clucene/patch-src-shared-CLucene-LuceneThreads.h.diff"
|
||||
sha256 "42cb23fa6bd66ca8ea1d83a57a650f71e0ad3d827f5d74837b70f7f72b03b490"
|
||||
end
|
||||
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/DomT4/scripts/46d9672f7/Homebrew_Resources/MacPorts_Import/clucene/r126047/patch-src-shared-CLucene-config-repl_tchar.h.diff"
|
||||
mirror "https://trac.macports.org/export/126047/trunk/dports/devel/clucene/files/patch-src-shared-CLucene-config-repl_tchar.h.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/ec8d133/clucene/patch-src-shared-CLucene-config-repl_tchar.h.diff"
|
||||
sha256 "b7dc735f431df409aac63dcfda9737726999eed4fdae494e9cbc1d3309e196ad"
|
||||
end
|
||||
|
||||
|
|
|
@ -21,22 +21,22 @@ class Cvs < Formula
|
|||
keg_only :provided_until_xcode5
|
||||
|
||||
{
|
||||
"PR5178707" => "372385b34a346753249a7808e8d5db0a6cadd3ee",
|
||||
"ea" => "1ffcbe849e138229473e0cd796416dfbe4ad25bb",
|
||||
"endian" => "98fa880e0e2f1edddf123cdfdcc305f01c241f9b",
|
||||
"fixtest-client-20" => "b9277695a611750fc4db063e8929a558658ba90f",
|
||||
"fixtest-recase" => "d546783658257ad1af67cecfd6d5fef66dc63e72",
|
||||
"i18n" => "ec7b44d5d138fd24ac551b880f59fb0351445b98",
|
||||
"initgroups" => "2c0a11ae5af7da75e02b256c5d9f6b88c8bfd6db",
|
||||
"nopic" => "260978aa2318cdc35121b09782f0924661d3cebb",
|
||||
"remove-info" => "7c0c9c406ae8e3d1c81eec5b4ca9e1abe6a8b660",
|
||||
"remove-libcrypto" => "6c83063cb625cd124dcac75527dbaaa2d52d55b6",
|
||||
"tag" => "44374b8601dc7e48cf0f3a558565d28b2d0066ab",
|
||||
"zlib" => "7781dc997c895df8cfa991ab7a04add245169ea4"
|
||||
"PR5178707" => "732495a63f9ef2c12997686df5e7567c2dd4dc0128c4349aadd9e6540cf5e368",
|
||||
"ea" => "54e99f44fde6d1502e03afc33cfced576109697d5d9d734e24296cb45743ad98",
|
||||
"endian" => "9538a7bb6a614b29b171b87df079491b9985ef7b626b8ff6f2afb6656b6fdb52",
|
||||
"fixtest-client-20" => "22f6dddce9f8cc42f275fa297c73025c78738d4ee02c6240bb0a71ee09a38425",
|
||||
"fixtest-recase" => "2485b4b89383120e3a6e8762a8decc29fc5adba8a1fb4cfa0a5f3e43aff60511",
|
||||
"i18n" => "3c8c3e7be584b2f8224570acdba2f6b0a72564c2358deadcf576a6d91e1d99a5",
|
||||
"initgroups" => "22640ec9ddedb21d69c924231a44b6875e9af7b50d848da66ed6b614741bd0d6",
|
||||
"nopic" => "4a3b82984d7738d98d612d6951fded58e5513cb941ec82727c9f4e7786fa879d",
|
||||
"remove-info" => "daa6c899a12ccd7737ddd96c16130d2c65aeb7e79aeee1dd867e9ccb744b650e",
|
||||
"remove-libcrypto" => "7c739b061b892a0a3fd0ce4542257c661713e7fb854a77e2b34b8e192197338d",
|
||||
"tag" => "f44dc8e9406824990b87e46aa4ed6b75c3884a9b376b408ae2ef62fdabf0d929",
|
||||
"zlib" => "15067f80b61f98eee9907fc18c037857f6b949bd7f5faa79ce8b3a822ef01bca",
|
||||
}.each do |name, sha|
|
||||
patch :p0 do
|
||||
url "https://opensource.apple.com/source/cvs/cvs-45/patches/#{name}.diff?txt"
|
||||
sha1 sha
|
||||
sha256 sha
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -5,10 +5,12 @@ class Daemon < Formula
|
|||
sha256 "c4b9ea4aa74d55ea618c34f1e02c080ddf368549037cb239ee60c83191035ca1"
|
||||
|
||||
# fixes for mavericks strlcpy/strlcat: https://trac.macports.org/ticket/42845
|
||||
patch do
|
||||
url "https://gist.githubusercontent.com/jacobsa/b86cf524156ca10c54e1/raw/91dae330611c96ecb55b26e07e905ab2279258f0/daemon-0.6.4-ignore-strlcpy-strlcat.patch"
|
||||
sha256 "a56e16b0801a13045d388ce7e755b2b4e40288c3731ce0f92ea879d0871782c0"
|
||||
end if MacOS.version >= :mavericks
|
||||
if MacOS.version >= :mavericks
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/3323958/daemon/daemon-0.6.4-ignore-strlcpy-strlcat.patch"
|
||||
sha256 "a56e16b0801a13045d388ce7e755b2b4e40288c3731ce0f92ea879d0871782c0"
|
||||
end
|
||||
end
|
||||
|
||||
def install
|
||||
system "./config"
|
||||
|
|
|
@ -14,18 +14,19 @@ class Dvdrtools < Formula
|
|||
conflicts_with "cdrtools",
|
||||
:because => "both cdrtools and dvdrtools install binaries by the same name"
|
||||
|
||||
# Below three patches via MacPorts.
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/89262/trunk/dports/sysutils/dvdrtools/files/patch-cdda2wav-cdda2wav.c"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/8a41dd4/dvdrtools/patch-cdda2wav-cdda2wav.c"
|
||||
sha256 "f792a26af38f63ee1220455da8dba2afc31296136a97c11476d8e3abe94a4a94"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/89262/trunk/dports/sysutils/dvdrtools/files/patch-cdrecord-cdrecord.c"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/8a41dd4/dvdrtools/patch-cdrecord-cdrecord.c"
|
||||
sha256 "c7f182ce154785e19235f30d22d3cf56e60f6c9c8cc953a9d16b58205e29a039"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/89262/trunk/dports/sysutils/dvdrtools/files/patch-scsi-mac-iokit.c"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/8a41dd4/dvdrtools/patch-scsi-mac-iokit.c"
|
||||
sha256 "f31253e021a70cc49e026eed81c5a49166a59cb8da1a7f0695fa2f26c7a3d98f"
|
||||
end
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
require "formula"
|
||||
|
||||
class Exim < Formula
|
||||
desc "Complete replacement for sendmail"
|
||||
homepage "http://exim.org"
|
||||
|
@ -14,7 +12,9 @@ class Exim < Formula
|
|||
sha256 "28f88bffa0447b615552d5a80c31ff8a762afd801a803429cf015af00aafae8b" => :mountain_lion
|
||||
end
|
||||
|
||||
option "support-maildir", "Support delivery in Maildir format"
|
||||
option "with-maildir", "Support delivery in Maildir format"
|
||||
|
||||
deprecated_option "support-maildir" => "with-maildir"
|
||||
|
||||
depends_on "pcre"
|
||||
depends_on "berkeley-db4"
|
||||
|
@ -29,9 +29,9 @@ class Exim < Formula
|
|||
s.gsub! "/usr/exim/configure", etc/"exim.conf"
|
||||
s.gsub! "/usr/exim", prefix
|
||||
s.gsub! "/var/spool/exim", var/"spool/exim"
|
||||
# http://trac.macports.org/ticket/38654
|
||||
# https://trac.macports.org/ticket/38654
|
||||
s.gsub! 'TMPDIR="/tmp"', "TMPDIR=/tmp"
|
||||
s << "SUPPORT_MAILDIR=yes\n" if build.include? "support-maildir"
|
||||
s << "SUPPORT_MAILDIR=yes\n" if build.with? "maildir"
|
||||
s << "AUTH_PLAINTEXT=yes\n"
|
||||
s << "SUPPORT_TLS=yes\n"
|
||||
s << "TLS_LIBS=-lssl -lcrypto\n"
|
||||
|
@ -58,7 +58,7 @@ class Exim < Formula
|
|||
system "make"
|
||||
system "make INSTALL_ARG=-no_chown install"
|
||||
man8.install "doc/exim.8"
|
||||
(bin+"exim_ctl").write startup_script
|
||||
(bin/"exim_ctl").write startup_script
|
||||
end
|
||||
|
||||
# Inspired by MacPorts startup script. Fixes restart issue due to missing setuid.
|
||||
|
|
|
@ -30,7 +30,7 @@ class Ghostscript < Formula
|
|||
|
||||
# Uncomment OS X-specific make vars
|
||||
patch do
|
||||
url "https://gist.githubusercontent.com/jacknagel/9559501/raw/9709b3234cc888d29f717838650d29e7062da917/gs.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/b8863c4/ghostscript/gs.patch"
|
||||
sha256 "b3c8903c00428f1a065ceda04e3377c3a110ec21bc149547615bc2166cde6163"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -26,8 +26,7 @@ class Glib < Formula
|
|||
end
|
||||
|
||||
resource "config.h.ed" do
|
||||
url "https://svn.macports.org/repository/macports/trunk/dports/devel/glib2/files/config.h.ed", :using => :curl
|
||||
mirror "https://trac.macports.org/export/111532/trunk/dports/devel/glib2/files/config.h.ed"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/eb51d82/glib/config.h.ed"
|
||||
version "111532"
|
||||
sha256 "9f1e23a084bc879880e589893c17f01a2f561e20835d6a6f08fcc1dad62388f1"
|
||||
end
|
||||
|
@ -36,7 +35,7 @@ class Glib < Formula
|
|||
# but needed to fix an assumption about the location of the d-bus machine
|
||||
# id file.
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/59e4d327791d4fe3423c2c871adb98e3f3f07633/glib/hardcoded-paths.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/59e4d32/glib/hardcoded-paths.diff"
|
||||
sha256 "a4cb96b5861672ec0750cb30ecebe1d417d38052cac12fbb8a77dbf04a886fcb"
|
||||
end
|
||||
|
||||
|
@ -44,14 +43,16 @@ class Glib < Formula
|
|||
# to unrelated issues in GCC, but improves the situation.
|
||||
# Patch submitted upstream: https://bugzilla.gnome.org/show_bug.cgi?id=672777
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/59e4d327791d4fe3423c2c871adb98e3f3f07633/glib/gio.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/59e4d32/glib/gio.patch"
|
||||
sha256 "cc3f0f6d561d663dfcdd6154b075150f68a36f5a92f94e5163c1c20529bfdf32"
|
||||
end
|
||||
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/59e4d327791d4fe3423c2c871adb98e3f3f07633/glib/universal.patch"
|
||||
sha256 "7e1ad7667c7d89fcd08950c9c32cd66eb9c8e2ee843f023d1fadf09a9ba39fee"
|
||||
end if build.universal?
|
||||
if build.universal?
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/59e4d32/glib/universal.patch"
|
||||
sha256 "7e1ad7667c7d89fcd08950c9c32cd66eb9c8e2ee843f023d1fadf09a9ba39fee"
|
||||
end
|
||||
end
|
||||
|
||||
# Reverts GNotification support on OS X.
|
||||
# This only supports OS X 10.9, and the reverted commits removed the
|
||||
|
@ -62,7 +63,7 @@ class Glib < Formula
|
|||
# also applied to configure and gio/Makefile.in
|
||||
if MacOS.version < :mavericks
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/59e4d327791d4fe3423c2c871adb98e3f3f07633/glib/gnotification-mountain.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/59e4d32/glib/gnotification-mountain.patch"
|
||||
sha256 "723def732304552ca55ae9f5b568ff3e8a59a14d512af72b6c1f0421f8228a68"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -7,8 +7,9 @@ class Gpsd < Formula
|
|||
depends_on "scons" => :build
|
||||
depends_on "libusb" => :optional
|
||||
|
||||
# Patch via MacPorts
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/113474/trunk/dports/net/gpsd/files/string.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/f1d5d5b7/gpsd/string.patch"
|
||||
sha256 "b3c4627cd75fd5869ab692e443bbcd0e8406e6d38f732ad43f1d9ed9952cf3c1"
|
||||
end
|
||||
|
||||
|
|
|
@ -52,18 +52,19 @@ class Graphviz < Formula
|
|||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://raw.githubusercontent.com/DomT4/scripts/46364470b/Homebrew_Resources/MacPorts_Import/graphviz/r103168/patch-project.pbxproj.diff"
|
||||
mirror "https://trac.macports.org/export/103168/trunk/dports/graphics/graphviz/files/patch-project.pbxproj.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/ec8d133/graphviz/patch-project.pbxproj.diff"
|
||||
sha256 "7c8d5c2fd475f07de4ca3a4340d722f472362615a369dd3f8524021306605684"
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.universal_binary if build.universal?
|
||||
args = ["--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--without-qt",
|
||||
"--with-quartz"]
|
||||
args = %W[
|
||||
--disable-debug
|
||||
--disable-dependency-tracking
|
||||
--prefix=#{prefix}
|
||||
--without-qt
|
||||
--with-quartz
|
||||
]
|
||||
args << "--with-gts" if build.with? "gts"
|
||||
args << "--disable-swig" if build.without? "bindings"
|
||||
args << "--without-pangocairo" if build.without? "pango"
|
||||
|
|
|
@ -19,55 +19,55 @@ class Gtkglext < Formula
|
|||
depends_on "gtk+"
|
||||
depends_on "pangox-compat"
|
||||
|
||||
# all these MacPorts patches have already been included upstream. A new release of gtkglext
|
||||
# for gtk+2.0 remains uncertain though.
|
||||
# All these MacPorts patches have already been included upstream. A new release
|
||||
# of gtkglext for gtk+2.0 remains uncertain though.
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/132848/trunk/dports/devel/gtkglext/files/patch-configure.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/21e7e01/gtkglext/patch-configure.diff"
|
||||
sha256 "aca35cd6ae28613b375301068715f82b59bd066a32b2f4d046177478950ab026"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/132848/trunk/dports/devel/gtkglext/files/patch-examples-pixmap-mixed.c.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/21e7e01/gtkglext/patch-examples-pixmap-mixed.c.diff"
|
||||
sha256 "d2fe00bfcf96b3c78dd4b01aa119a7860a34ca6080c57f0ccc7a8e2fc4a3c92b"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/132848/trunk/dports/devel/gtkglext/files/patch-examples-pixmap.c.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/21e7e01/gtkglext/patch-examples-pixmap.c.diff"
|
||||
sha256 "d955b18784d3e83c1f698e63875d98de5bad9eae1e84b66549dfe25d9ff94d51"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/132848/trunk/dports/devel/gtkglext/files/patch-gdk-gdkglglext.h.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/21e7e01/gtkglext/patch-gdk-gdkglglext.h.diff"
|
||||
sha256 "a1b6a97016013d5cda73760bbf2a970bae318153c2810291b81bd49ed67de80b"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/132848/trunk/dports/devel/gtkglext/files/patch-gdk-gdkglquery.c.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/21e7e01/gtkglext/patch-gdk-gdkglquery.c.diff"
|
||||
sha256 "a419b8d523f123d1ab59e4de1105cdfc72bf5a450db8031809dcbc84932b539f"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/132848/trunk/dports/devel/gtkglext/files/patch-gdk-gdkglshapes.c.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/21e7e01/gtkglext/patch-gdk-gdkglshapes.c.diff"
|
||||
sha256 "bc01fccec833f7ede39ee06ecc2a2ad5d2b30cf703dc66d2a40a912104c6e1f5"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/132848/trunk/dports/devel/gtkglext/files/patch-gdk-makefile.in.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/21e7e01/gtkglext/patch-gdk-makefile.in.diff"
|
||||
sha256 "d0bc857f258640bf4f423a79e8475e8cf86e24f9994c0a85475ce87f41bcded6"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/132848/trunk/dports/devel/gtkglext/files/patch-gtk-gtkglwidget.c.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/21e7e01/gtkglext/patch-gtk-gtkglwidget.c.diff"
|
||||
sha256 "7f7918d5a83c8f36186026a92587117a94014e7b21203fe9eb96a1c751c3c317"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/132848/trunk/dports/devel/gtkglext/files/patch-gtk-makefile.in.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/21e7e01/gtkglext/patch-gtk-makefile.in.diff"
|
||||
sha256 "49f58421a12c2badd84ae6677752ba9cc23c249dac81987edf94abaf0d088ff6"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/132848/trunk/dports/devel/gtkglext/files/patch-makefile.in.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/21e7e01/gtkglext/patch-makefile.in.diff"
|
||||
sha256 "0d112b417d6c51022e31701037aa49ea50f270d3a34c263599ac0ef64c2f6743"
|
||||
end
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ class Gupnp < Formula
|
|||
# REVIEW: if patch was applied in the next release
|
||||
# https://github.com/GNOME/gupnp/pull/1
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/136642/users/devans/GNOME-3/stable/dports/net/gupnp/files/patch-osx-uuid.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/51584eb/gupnp/patch-osx-uuid.diff"
|
||||
sha256 "9cca169cc830c331ac4246e0e87f5c0b47a85b045c4a0de7cd4999d89d2ab5ce"
|
||||
end
|
||||
|
||||
|
|
|
@ -9,27 +9,27 @@ class Hping < Formula
|
|||
patch :DATA
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-libpcap_stuff.c.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/fc1d446f/hping/patch-libpcap_stuff.c.diff"
|
||||
sha256 "56d3af80a6385bf93257080233e971726283d6555cc244ebe886ea21133e83ad"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-ars.c.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/fc1d446f/hping/patch-ars.c.diff"
|
||||
sha256 "02138051414e48b9f057a2dd8134c01ccd374aff65593833a799a5aaa36193c4"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-sendip.c.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/fc1d446f/hping/patch-sendip.c.diff"
|
||||
sha256 "e7befff6dd546cdb38b59d9e6d3ef4a4dc09c79af2982f4609b2ea5dadf1a360"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-Makefile.in.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/fc1d446f/hping/patch-Makefile.in.diff"
|
||||
sha256 "18ceb30104bdb906b540bb5f6316678ce85fb55f5c086d2d74417416de3792f8"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/70033/trunk/dports/net/hping3/files/patch-bytesex.h.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/fc1d446f/hping/patch-bytesex.h.diff"
|
||||
sha256 "7bad5e8b4b5441f72f85d50fa3461857a398b87e2d0cb63bb30985c9457be21d"
|
||||
end
|
||||
|
||||
|
|
|
@ -8,14 +8,12 @@ class Id3lib < Formula
|
|||
sha256 "2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079"
|
||||
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/DomT4/scripts/c24f2952/Homebrew_Resources/MacPorts_Import/id3lib/id3lib-vbr-overflow.patch"
|
||||
mirror "https://trac.macports.org/export/112431/trunk/dports/audio/id3lib/files/id3lib-vbr-overflow.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/e223e971/id3lib/id3lib-vbr-overflow.patch"
|
||||
sha256 "0ec91c9d89d80f40983c04147211ced8b4a4d8a5be207fbe631f5eefbbd185c2"
|
||||
end
|
||||
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/DomT4/scripts/c24f2952/Homebrew_Resources/MacPorts_Import/id3lib/id3lib-main.patch"
|
||||
mirror "https://trac.macports.org/export/90780/trunk/dports/audio/id3lib/files/id3lib-main.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/e223e971/id3lib/id3lib-main.patch"
|
||||
sha256 "83c8d2fa54e8f88b682402b2a8730dcbcc8a7578681301a6c034fd53e1275463"
|
||||
end
|
||||
end
|
||||
|
@ -36,26 +34,23 @@ class Id3lib < Formula
|
|||
depends_on "libtool" => :build
|
||||
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/DomT4/scripts/c24f2952/Homebrew_Resources/MacPorts_Import/id3lib/r112430/no-iomanip.h.patch"
|
||||
mirror "https://trac.macports.org/export/112430/trunk/dports/audio/id3lib/files/no-iomanip.h.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/e223e971/id3lib/no-iomanip.h.patch"
|
||||
sha256 "da0bd9f3d17f1dd054720c17dfd15062eabdfc4d38126bb1b2ef5e8f39904925"
|
||||
end
|
||||
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/DomT4/scripts/c24f2952/Homebrew_Resources/MacPorts_Import/id3lib/r112430/automake.patch"
|
||||
mirror "https://trac.macports.org/export/112430/trunk/dports/audio/id3lib/files/automake.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/e223e971/id3lib/automake.patch"
|
||||
sha256 "c1ae2aa04baee7f92301cbed120340682e62e1f839bb61f8f6d3c459a7faf097"
|
||||
end
|
||||
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/DomT4/scripts/c24f2952/Homebrew_Resources/MacPorts_Import/id3lib/r112430/boolcheck.patch"
|
||||
mirror "https://trac.macports.org/export/112430/trunk/dports/audio/id3lib/files/boolcheck.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/e223e971/id3lib/boolcheck.patch"
|
||||
sha256 "a7881dc25665f284798934ba19092d1eb45ca515a34e5c473accd144aa1a215a"
|
||||
end
|
||||
|
||||
# fixes Unicode display problem in easytag: see Homebrew/homebrew-x11#123
|
||||
patch do
|
||||
url "https://git.gnome.org/browse/easytag/plain/src/tags/id3lib/patch_id3lib_3.8.3_UTF16_writing_bug.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/e223e971/id3lib/patch_id3lib_3.8.3_UTF16_writing_bug.diff"
|
||||
sha256 "71c79002d9485965a3a93e87ecbd7fed8f89f64340433b7ccd263d21385ac969"
|
||||
end
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ class Jigdo < Formula
|
|||
|
||||
# Use MacPorts patch for compilation on 10.9; this software is no longer developed.
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/113020/trunk/dports/net/jigdo/files/patch-src-compat.hh.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/e101570/jigdo/patch-src-compat.hh.diff"
|
||||
sha256 "a21aa8bcc5a03a6daf47e0ab4e04f16e611e787a7ada7a6a87c8def738585646"
|
||||
end
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ class Jove < Formula
|
|||
|
||||
# Per MacPorts, avoid clash with libc getline
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/120116/trunk/dports/editors/jove/files/patch-getline.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/3cada68f/jove/patch-getline.diff"
|
||||
sha256 "96e557370d6e8924cc73bda8dbe65e54f4cc902785ffcf0056d8925bb4e77bf6"
|
||||
end
|
||||
|
||||
|
@ -26,6 +26,6 @@ class Jove < Formula
|
|||
end
|
||||
|
||||
test do
|
||||
assert_match /There's nothing to recover./, `#{lib}/jove/recover`
|
||||
assert_match /There's nothing to recover./, shell_output("#{lib}/jove/recover")
|
||||
end
|
||||
end
|
||||
|
|
|
@ -5,12 +5,11 @@ class Ld64 < Formula
|
|||
# 127.2 won't build on Tiger, at least without some patching.
|
||||
# Leopard users: if you like, add a 127.2 option or fix the build
|
||||
# on Tiger.
|
||||
#
|
||||
url "https://opensource.apple.com/tarballs/ld64/ld64-97.17.tar.gz"
|
||||
sha256 "02bd46af0809eaa415d096d7d41c3e8e7d80f7d8d181840866fb87f036b4e089"
|
||||
|
||||
resource "makefile" do
|
||||
url "https://trac.macports.org/export/123511/trunk/dports/devel/ld64/files/Makefile-97", :using => :nounzip
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/3b073fca/ld64/Makefile-97", :using => :nounzip
|
||||
sha256 "48e3475bd73f9501d17b7d334d3bf319f5664f2d5ab9d13378e37c2519ae2a3a"
|
||||
end
|
||||
|
||||
|
@ -21,6 +20,7 @@ class Ld64 < Formula
|
|||
depends_on "cctools-headers" => :build
|
||||
depends_on "dyld-headers" => :build
|
||||
depends_on "libunwind-headers" => :build
|
||||
depends_on "openssl"
|
||||
|
||||
keg_only :provided_by_osx,
|
||||
"ld64 is an updated version of the ld shipped by Apple."
|
||||
|
@ -31,19 +31,19 @@ class Ld64 < Formula
|
|||
|
||||
# Fixes logic on PPC branch islands
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/103948/trunk/dports/devel/ld64/files/ld64-97-ppc-branch-island.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/3b073fca/ld64/ld64-97-ppc-branch-island.patch"
|
||||
sha256 "a6bbf25c6e4fa348eee3d4756ad65f42ba42b78922dc0f75669023cdf9c25d72"
|
||||
end
|
||||
|
||||
# Remove LTO support
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/103949/trunk/dports/devel/ld64/files/ld64-97-no-LTO.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/3b073fca/ld64/ld64-97-no-LTO.patch"
|
||||
sha256 "2596cc25118981cbc31e82ddcb70508057f1946c46c3d6d6845ab7bd01ff1433"
|
||||
end
|
||||
|
||||
# Fix version number
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/103951/trunk/dports/devel/ld64/files/ld64-version.patch"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/3b073fca/ld64/ld64-version.patch"
|
||||
sha256 "3753b6877641648017eab2bb391361840fe887a2b3eb2e5ef689272a28c374fc"
|
||||
end
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
class Libcanberra < Formula
|
||||
desc "Implementation of XDG Sound Theme and Name Specifications"
|
||||
homepage "http://0pointer.de/lennart/projects/libcanberra/"
|
||||
head "git://git.0pointer.de/libcanberra"
|
||||
url "http://0pointer.de/lennart/projects/libcanberra/libcanberra-0.30.tar.xz"
|
||||
sha256 "c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72"
|
||||
|
||||
head "git://git.0pointer.de/libcanberra"
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "libvorbis"
|
||||
depends_on "pulseaudio" => :optional
|
||||
|
@ -14,7 +15,7 @@ class Libcanberra < Formula
|
|||
|
||||
# Remove --as-needed and --gc-sections linker flag as it causes linking to fail
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/104881/trunk/dports/audio/libcanberra/files/patch-configure.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/b2cf078b/libcanberra/patch-configure.diff"
|
||||
sha256 "614084839beb507c705d1b8d32f6ad1fa0c8379d6705fb3c866e6d7c5d3cf0b8"
|
||||
end
|
||||
|
||||
|
|
|
@ -19,8 +19,7 @@ class Libgcrypt < Formula
|
|||
depends_on "libgpg-error"
|
||||
|
||||
resource "config.h.ed" do
|
||||
url "https://raw.githubusercontent.com/DomT4/scripts/4d0517f86/Homebrew_Resources/MacPorts_Import/libgcrypt/r113198/config.h.ed"
|
||||
mirror "https://trac.macports.org/export/113198/trunk/dports/devel/libgcrypt/files/config.h.ed"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/ec8d133/libgcrypt/config.h.ed"
|
||||
version "113198"
|
||||
sha256 "d02340651b18090f3df9eed47a4d84bed703103131378e1e493c26d7d0c7aab1"
|
||||
end
|
||||
|
|
|
@ -19,7 +19,7 @@ class Libinfinity < Formula
|
|||
|
||||
# MacPorts patch to fix pam include. This is still applicable to 0.6.4.
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/92297/trunk/dports/comms/libinfinity/files/patch-infinoted-infinoted-pam.c.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/f8e3d2e4/libinfinity/patch-infinoted-infinoted-pam.c.diff"
|
||||
sha256 "d5924d6ee90c3aa756e52b97e32345dc1d77afdb5e4e0de8eac2a343d95ade00"
|
||||
end
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ class Liblinear < Formula
|
|||
|
||||
# Fix sonames
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/94156/trunk/dports/math/liblinear/files/patch-Makefile.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/941ec0ad/liblinear/patch-Makefile.diff"
|
||||
sha256 "ffb5206f0a6c15832574ec77863cda12eb2012e0f052bacebfe1ad722d31ea22"
|
||||
end
|
||||
|
||||
|
|
|
@ -17,10 +17,12 @@ class Libmms < Formula
|
|||
depends_on "glib"
|
||||
|
||||
# https://trac.macports.org/ticket/27988
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/87883/trunk/dports/multimedia/libmms/files/src_mms-common.h.patch"
|
||||
sha1 "57b526dc9de76cfde236d3331e18eb7ae92f999f"
|
||||
end if MacOS.version <= :leopard
|
||||
if MacOS.version <= :leopard
|
||||
patch :p0 do
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/1fac7062/libmms/src_mms-common.h.patch"
|
||||
sha256 "773193b878b7c061f05fe76f0ea5d331b8ab3e7b348608fae8cb144139e94798"
|
||||
end
|
||||
end
|
||||
|
||||
def install
|
||||
ENV.append "LDFLAGS", "-liconv"
|
||||
|
|
|
@ -13,14 +13,13 @@ class Libnet < Formula
|
|||
sha1 "14f7d1d0c595c08c0bbcc4182ff6eabca6df5c8a" => :mountain_lion
|
||||
end
|
||||
|
||||
# MacPorts does an autoreconf to get raw sockets working
|
||||
depends_on "automake" => :build
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "libtool" => :build
|
||||
|
||||
# Fix raw sockets support
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/95336/trunk/dports/net/libnet11/files/patch-configure.in.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/a689647/libnet/patch-configure.in.diff"
|
||||
sha256 "3c1ca12609d83372cf93223d69e903eb6e137ed7a4749a8ee19c21bd43f97f18"
|
||||
end
|
||||
|
||||
|
@ -32,4 +31,3 @@ class Libnet < Formula
|
|||
system "make", "install"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -8,12 +8,12 @@ class Lsdvd < Formula
|
|||
depends_on "libdvdcss" => :optional
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/89276/trunk/dports/sysutils/lsdvd/files/patch-configure.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/cb1d457/lsdvd/patch-configure.diff"
|
||||
sha256 "3535ad1ad4c8fc2e49287190edcd89cd9d0679682ee94aca200252b9e1d80cd9"
|
||||
end
|
||||
|
||||
patch :p0 do
|
||||
url "https://trac.macports.org/export/89276/trunk/dports/sysutils/lsdvd/files/patch-lsdvd_c.diff"
|
||||
url "https://raw.githubusercontent.com/Homebrew/patches/cb1d457/lsdvd/patch-lsdvd_c.diff"
|
||||
sha256 "33a8f5876a0aa09532424066da71c64d18ab67154ecbebd66f81d98843937079"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue