Skip to content

Instantly share code, notes, and snippets.

@youtalk
Last active August 29, 2015 14:01
Show Gist options
  • Save youtalk/4ced290bdf3089e78e48 to your computer and use it in GitHub Desktop.
Save youtalk/4ced290bdf3089e78e48 to your computer and use it in GitHub Desktop.
diff tinyxml.rb /usr/local/Library/Formula/tinyxml.rb
diff --git a/Library/Formula/tinyxml.rb b/Library/Formula/tinyxml.rb
index da8a0d6..27a55eb 100644
--- a/Library/Formula/tinyxml.rb
+++ b/Library/Formula/tinyxml.rb
@@ -16,13 +16,13 @@ class Tinyxml < Formula
# 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"
+ url "https://raw.githubusercontent.com/robotology/yarp/master/extern/tinyxml/patches/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"
+ url "https://raw.githubusercontent.com/robotology/yarp/master/extern/tinyxml/patches/entity-encoding.patch"
+ sha1 "a1e243c0fb2fe3ba0f1138861d781284409116e2"
end
patch do
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment