aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominyk Tiller2015-03-11 04:21:46 +0000
committerMike McQuaid2015-03-11 08:16:04 +0000
commit31488184af201bd338cede7e7ca4ee49e4c26b7d (patch)
treeb780e683b97915b05a74a333a543647dc67e4c68
parent842ec2d954ab9e69adb7763f963b6fb05b8c4f91 (diff)
downloadhomebrew-31488184af201bd338cede7e7ca4ee49e4c26b7d.tar.bz2
xar: migrate to dupes
Related: https://github.com/Homebrew/homebrew-dupes/pull/420 Closes #37588. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/xar.rb35
-rw-r--r--Library/Homebrew/tap_migrations.rb1
2 files changed, 1 insertions, 35 deletions
diff --git a/Library/Formula/xar.rb b/Library/Formula/xar.rb
deleted file mode 100644
index 60f01ceeb..000000000
--- a/Library/Formula/xar.rb
+++ /dev/null
@@ -1,35 +0,0 @@
-require 'formula'
-
-class Xar < Formula
- homepage 'http://code.google.com/p/xar/'
- url 'https://xar.googlecode.com/files/xar-1.5.2.tar.gz'
- sha1 'eb411a92167387aa5d06a81970f7e929ec3087c9'
-
- # Known issue upstream:
- # http://code.google.com/p/xar/issues/detail?id=51
- patch :DATA
-
- def install
- system "./configure", "--disable-debug", "--disable-dependency-tracking",
- "--prefix=#{prefix}",
- "--mandir=#{man}"
- system "make"
- system "make install"
- end
-end
-
-
-__END__
-diff -Naur old/lib/archive.c new/lib/archive.c
---- old/lib/archive.c
-+++ new/lib/archive.c
-@@ -79,6 +79,10 @@
- #define LONG_MIN INT32_MIN
- #endif
-
-+#if LIBXML_VERSION < 20618
-+#define xmlDictCleanup() /* function doesn't exist in older API */
-+#endif
-+
- static int32_t xar_unserialize(xar_t x);
- void xar_serialize(xar_t x, const char *file);
diff --git a/Library/Homebrew/tap_migrations.rb b/Library/Homebrew/tap_migrations.rb
index eb3d8844d..e5f58ab49 100644
--- a/Library/Homebrew/tap_migrations.rb
+++ b/Library/Homebrew/tap_migrations.rb
@@ -164,6 +164,7 @@ TAP_MIGRATIONS = {
"wkhtmltopdf" => "homebrew/boneyard",
"wmctrl" => "homebrew/x11",
"x3270" => "homebrew/x11",
+ "xar" => "homebrew/dupes",
"xchat" => "homebrew/x11",
"xclip" => "homebrew/x11",
"xdotool" => "homebrew/x11",