muscle: recreate broken patch

The muscle patch fails due to line ending issues. So recreate it.

Fixes Homebrew/homebrew#16159
Closes Homebrew/homebrew#16171

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
nibbles 2bits 2012-11-20 16:12:06 -08:00 committed by Adam Vandenberg
parent 288502d191
commit f9a4a34307
1 changed files with 13 additions and 14 deletions

View File

@ -6,7 +6,7 @@ class Muscle < Formula
version '3.8.31'
sha1 '2fe55db73ff4e7ac6d4ca692f8f213d1c5071dac'
# This patch makes 3.8.31 build on Lion.
# This patch makes 3.8.31 build on OSX >= Lion.
# It has been reported upstream but not fixed yet.
def patches
DATA
@ -21,18 +21,17 @@ class Muscle < Formula
end
__END__
diff -Naur muscle3.8.31/src/globalsosx.cpp muscle3.8.31-patch/src/globalsosx.cpp
--- muscle3.8.31/src/globalsosx.cpp 2010-04-29 01:43:42.000000000 +0200
+++ muscle3.8.31-patch/src/globalsosx.cpp 2012-05-07 21:17:57.000000000 +0200
--- a/src/globalsosx.cpp 2010-04-28 16:43:42.000000000 -0700
+++ b/src/globalsosx.cpp 2012-11-20 15:53:14.000000000 -0800
@@ -13,10 +13,10 @@
#include <netinet/icmp6.h>
#include <sys/vmmeter.h>
#include <sys/proc.h>
#include <netinet/icmp6.h>
#include <sys/vmmeter.h>
#include <sys/proc.h>
+#include <mach/vm_statistics.h>
#include <mach/task_info.h>
#include <mach/task.h>
#include <mach/mach_init.h>
-#include <mach/vm_statistics.h>
const double DEFAULT_RAM = 1e9;
const double DEFAULT_MEM_USE = 1e6;
#include <mach/task_info.h>
#include <mach/task.h>
#include <mach/mach_init.h>
-#include <mach/vm_statistics.h>
const double DEFAULT_RAM = 1e9;
const double DEFAULT_MEM_USE = 1e6;