diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/atomicparsley.rb | 27 | ||||
| -rw-r--r-- | Library/Formula/icu4c.rb | 20 | ||||
| -rw-r--r-- | Library/Formula/lua.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/mawk.rb | 19 | ||||
| -rw-r--r-- | Library/Formula/mysql.rb | 16 | ||||
| -rw-r--r-- | Library/Formula/spidermonkey.rb | 15 | ||||
| -rw-r--r-- | Library/Formula/xar.rb | 20 |
7 files changed, 108 insertions, 11 deletions
diff --git a/Library/Formula/atomicparsley.rb b/Library/Formula/atomicparsley.rb index b712f2761..9cdd679cd 100644 --- a/Library/Formula/atomicparsley.rb +++ b/Library/Formula/atomicparsley.rb @@ -6,7 +6,7 @@ class Atomicparsley <Formula @md5='681e6ecec2921c98e07a9262bdcd6cf2' def patches - { :p0 => "http://pastie.org/609011.txt" } + { :p0 => DATA } end def install @@ -15,3 +15,28 @@ class Atomicparsley <Formula bin.install "AtomicParsley" end end + + +__END__ +diff -Naur AtomicParsley-source-0.9.0/AP_NSImage.mm AtomicParsley-source-0.9.0/AP_NSImage.mm +--- AtomicParsley-source-0.9.0/AP_NSImage.mm 2006-09-02 05:25:32.000000000 -0600 ++++ AtomicParsley-source-0.9.0/AP_NSImage.mm 2009-09-07 16:44:05.000000000 -0600 +@@ -26,8 +26,8 @@ + #include <sys/time.h> + #include <string.h> + +-#include "AP_NSImage.h" + #include "AtomicParsley.h" ++#include "AP_NSImage.h" + + bool isJPEG=false; + bool isPNG=false; +@@ -201,7 +201,7 @@ + + NSBitmapImageRep* bitmap = [ [NSBitmapImageRep alloc] + initWithFocusedViewRect: destinationRect ]; +- _NSBitmapImageFileType filetype; ++ NSBitmapImageFileType filetype; + NSDictionary *props; + + if ( (isPNG && !myPicPrefs.allJPEG) || myPicPrefs.allPNG) { diff --git a/Library/Formula/icu4c.rb b/Library/Formula/icu4c.rb index 3122178a2..45e86b80e 100644 --- a/Library/Formula/icu4c.rb +++ b/Library/Formula/icu4c.rb @@ -7,7 +7,7 @@ class Icu4c <Formula @version = "4.3.1" def patches - ["http://pastie.org/603488.txt"] + DATA end def install @@ -24,3 +24,21 @@ class Icu4c <Formula "ICU doesn't like to build on Snow Leopard with all the heavy CFLAG optimizations, primarily -O3. You may need to change your brewkit environment flags to get it to build on Snow Leopard." end end + + +__END__ +--- ./source/configure 2009-07-02 03:51:26.000000000 +0900 ++++ ./source/configure 2009-08-16 16:15:49.000000000 +0900 +@@ -7058,11 +7058,8 @@ + test ! -s conftest.err + } && test -s conftest.$ac_objext; then + +- # Check for potential -arch flags. It is not universal unless +- # there are some -arch flags. Note that *ppc* also matches +- # ppc64. This check is also rather less than ideal. + case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( +- *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; ++ *-arch*ppc*) ac_cv_c_bigendian=yes;; + esac + else + $as_echo "$as_me: failed program was:" >&5 diff --git a/Library/Formula/lua.rb b/Library/Formula/lua.rb index 2937ee5eb..5cbc50424 100644 --- a/Library/Formula/lua.rb +++ b/Library/Formula/lua.rb @@ -117,4 +117,4 @@ diff -Naur lua-5.1.4/src/Makefile lua-5.1.4-2/src/Makefile + $(CC) $(CFLAGS) -o $@ $(MYLDFLAGS) $(LUAC_O) $(LUA_A) $(LIBS) clean: - $(RM) $(ALL_T) $(ALL_O)
\ No newline at end of file + $(RM) $(ALL_T) $(ALL_O) diff --git a/Library/Formula/mawk.rb b/Library/Formula/mawk.rb index 776117d1e..a2079249d 100644 --- a/Library/Formula/mawk.rb +++ b/Library/Formula/mawk.rb @@ -7,9 +7,7 @@ class Mawk <Formula @version='1.3.3' def patches - { - :p1 => ["http://bitbucket.org/0xffea/patches/raw/6402e50a132f/homebrew/mawk-001-shell.diff"] - } + { :p1 => DATA } end def install @@ -17,3 +15,18 @@ class Mawk <Formula system "make install" end end + + +__END__ +diff -r 3358498a60ea Makefile.in +--- a/Makefile.in Mon Sep 14 19:17:51 2009 +0200 ++++ b/Makefile.in Mon Sep 14 19:18:19 2009 +0200 +@@ -118,7 +118,7 @@ + + $(BINDIR) \ + $(MANDIR) : +- sh -c "mkdirs.sh $@" ++ sh -c "./mkdirs.sh $@" + + # output from mawk -f deps.awk *.c + array.o : config.h field.h bi_vars.h mawk.h symtype.h nstd.h memory.h array.h zmalloc.h types.h sizes.h diff --git a/Library/Formula/mysql.rb b/Library/Formula/mysql.rb index 75bfb5539..33793e43f 100644 --- a/Library/Formula/mysql.rb +++ b/Library/Formula/mysql.rb @@ -19,7 +19,7 @@ class Mysql <Formula end def patches - {:p1 => "http://gist.github.com/raw/179616/bcbc9f185bbd353934c9379a253d23269c65170e/Diff"} + {:p1 => DATA} end def install @@ -87,3 +87,17 @@ class Mysql <Formula EOPLIST end end + + +__END__ +--- old/scripts/mysqld_safe.sh 2009-09-02 04:10:39.000000000 -0400 ++++ new/scripts/mysqld_safe.sh 2009-09-02 04:52:55.000000000 -0400 +@@ -383,7 +383,7 @@ + fi + + USER_OPTION="" +-if test -w / -o "$USER" = "root" ++if test -w /sbin -o "$USER" = "root" + then + if test "$user" != "root" -o $SET_USER = 1 + then diff --git a/Library/Formula/spidermonkey.rb b/Library/Formula/spidermonkey.rb index e45420826..d610b0aac 100644 --- a/Library/Formula/spidermonkey.rb +++ b/Library/Formula/spidermonkey.rb @@ -12,7 +12,7 @@ class Spidermonkey <Formula end def patches - ["http://gist.github.com/raw/179415/eed70f1b4bae73fb92995eaf07870d40c0ceb03e/gistfile1.diff"] + DATA end def install @@ -25,3 +25,16 @@ class Spidermonkey <Formula end end + +__END__ +--- src/jsprf.c 2009-07-26 12:32:01.000000000 -0700 ++++ src/jsprf.c 2009-07-26 12:33:12.000000000 -0700 +@@ -58,6 +58,8 @@ + */ + #ifdef HAVE_VA_COPY + #define VARARGS_ASSIGN(foo, bar) VA_COPY(foo,bar) ++#elif defined(va_copy) ++#define VARARGS_ASSIGN(foo, bar) va_copy(foo,bar) + #elif defined(HAVE_VA_LIST_AS_ARRAY) + #define VARARGS_ASSIGN(foo, bar) foo[0] = bar[0] + #else diff --git a/Library/Formula/xar.rb b/Library/Formula/xar.rb index 70e7d888e..439e2e843 100644 --- a/Library/Formula/xar.rb +++ b/Library/Formula/xar.rb @@ -6,9 +6,7 @@ class Xar <Formula @md5='8eabb055d3387b8edc30ecfb08d2e80d' def patches - { - :p1 => ["http://gist.github.com/raw/178912/fe729be5b2572fd8f09eb6b60c9203a35ef1e8c3/gistfile1.diff"] - } + { :p1 => DATA } end def install @@ -17,3 +15,19 @@ class Xar <Formula 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); |
