aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/tinyxml.rb
diff options
context:
space:
mode:
authorJack Nagel2014-03-14 10:03:26 -0500
committerJack Nagel2014-03-14 12:59:52 -0500
commit59e5bcef3cd17fb6e71f3f401a8c7a66185c5a0d (patch)
treefb5cb78ca535ed24b3c6aa2fcdf4b34566299197 /Library/Formula/tinyxml.rb
parentca30ad0dc18ccbce44296cbf2c4f1282db796473 (diff)
downloadhomebrew-59e5bcef3cd17fb6e71f3f401a8c7a66185c5a0d.tar.bz2
tinyxml: use checksummed patches
Diffstat (limited to 'Library/Formula/tinyxml.rb')
-rw-r--r--Library/Formula/tinyxml.rb31
1 files changed, 19 insertions, 12 deletions
diff --git a/Library/Formula/tinyxml.rb b/Library/Formula/tinyxml.rb
index 1dd1e522b..673edae71 100644
--- a/Library/Formula/tinyxml.rb
+++ b/Library/Formula/tinyxml.rb
@@ -9,18 +9,25 @@ class Tinyxml < Formula
depends_on 'cmake' => :build
- def patches
- # The first two patches are taken from the debian packaging of tinyxml.
- # The first patch enforces use of stl strings, rather than a custom string type.
- # The second patch is a fix for incorrect encoding of elements with special characters
- # originally posted at http://sourceforge.net/p/tinyxml/patches/51/
- # The third patch adds a CMakeLists.txt file to build a shared library and provide an install target
- # submitted upstream as https://sourceforge.net/p/tinyxml/patches/66/
- [
- 'http://patch-tracker.debian.org/patch/series/dl/tinyxml/2.6.2-2/enforce-use-stl.patch',
- 'http://patch-tracker.debian.org/patch/series/dl/tinyxml/2.6.2-2/entity-encoding.patch',
- 'https://gist.github.com/scpeters/6325123/raw/cfb079be67997cb19a1aee60449714a1dedefed5/tinyxml_CMakeLists.patch',
- ]
+ # The first two patches are taken from the debian packaging of tinyxml.
+ # The first patch enforces use of stl strings, rather than a custom string type.
+ # The second patch is a fix for incorrect encoding of elements with special characters
+ # originally posted at http://sourceforge.net/p/tinyxml/patches/51/
+ # The third patch adds a CMakeLists.txt file to build a shared library and provide an install target
+ # submitted upstream as https://sourceforge.net/p/tinyxml/patches/66/
+ patch do
+ url "http://patch-tracker.debian.org/patch/series/dl/tinyxml/2.6.2-2/enforce-use-stl.patch"
+ sha1 "a1e243c0fb2fe3ba0f1138861d781284409116e2"
+ end
+
+ patch do
+ url "http://patch-tracker.debian.org/patch/series/dl/tinyxml/2.6.2-2/entity-encoding.patch"
+ sha1 "a64b7ace370419d36d95452befd82935ef8b0221"
+ end
+
+ patch do
+ url "https://gist.github.com/scpeters/6325123/raw/cfb079be67997cb19a1aee60449714a1dedefed5/tinyxml_CMakeLists.patch"
+ sha1 "90c69322296a4144795aa66a94233a9409ff7ea5"
end
def install