summaryrefslogtreecommitdiff
path: root/data/odcctools
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-11-21 18:50:54 +0000
committerJay Freeman <saurik@saurik.com>2008-11-21 18:50:54 +0000
commite783b7931deeada96f1748d8c5d32fdc069b11a2 (patch)
treeff3683df0c43b981bd5f878f2f13ef11a665cc9c /data/odcctools
parente54fff2be5aea9105abfb1ca5300d0b90532fcb9 (diff)
Upgraded odcctools to match release, add some random support, you know: stuff.
git-svn-id: http://svn.telesphoreo.org/trunk@508 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/odcctools')
-rw-r--r--data/odcctools/_metadata/depiction1
-rw-r--r--data/odcctools/_metadata/homepage1
-rw-r--r--data/odcctools/_metadata/version2
-rw-r--r--data/odcctools/odcctools-253.tgzbin2249782 -> 0 bytes
-rw-r--r--data/odcctools/odcctools-277.tgzbin0 -> 2284858 bytes
-rw-r--r--data/odcctools/otool.diff85
6 files changed, 88 insertions, 1 deletions
diff --git a/data/odcctools/_metadata/depiction b/data/odcctools/_metadata/depiction
new file mode 100644
index 000000000..6dbd9cc19
--- /dev/null
+++ b/data/odcctools/_metadata/depiction
@@ -0,0 +1 @@
+http://cydia.saurik.com/info/odcctools/
diff --git a/data/odcctools/_metadata/homepage b/data/odcctools/_metadata/homepage
new file mode 100644
index 000000000..db87e60aa
--- /dev/null
+++ b/data/odcctools/_metadata/homepage
@@ -0,0 +1 @@
+http://code.google.com/p/iphone-dev/
diff --git a/data/odcctools/_metadata/version b/data/odcctools/_metadata/version
index 63fe24a5c..268174779 100644
--- a/data/odcctools/_metadata/version
+++ b/data/odcctools/_metadata/version
@@ -1 +1 @@
-253
+277
diff --git a/data/odcctools/odcctools-253.tgz b/data/odcctools/odcctools-253.tgz
deleted file mode 100644
index 588b1e1e3..000000000
--- a/data/odcctools/odcctools-253.tgz
+++ /dev/null
Binary files differ
diff --git a/data/odcctools/odcctools-277.tgz b/data/odcctools/odcctools-277.tgz
new file mode 100644
index 000000000..f7640b1f9
--- /dev/null
+++ b/data/odcctools/odcctools-277.tgz
Binary files differ
diff --git a/data/odcctools/otool.diff b/data/odcctools/otool.diff
new file mode 100644
index 000000000..4097e3473
--- /dev/null
+++ b/data/odcctools/otool.diff
@@ -0,0 +1,85 @@
+diff -ru odcctools-277/include/foreign/objc/objc-api.h odcctools-277+iPhone/include/foreign/objc/objc-api.h
+--- odcctools-277/include/foreign/objc/objc-api.h 2008-08-29 23:05:06.000000000 +0000
++++ odcctools-277+iPhone/include/foreign/objc/objc-api.h 2008-08-30 00:26:47.000000000 +0000
+@@ -45,7 +45,7 @@
+ /* OBJC2_UNAVAILABLE: unavailable in objc 2.0, deprecated in Leopard */
+ #if !defined(OBJC2_UNAVAILABLE)
+ # if __OBJC2__
+-# define OBJC2_UNAVAILABLE UNAVAILABLE_ATTRIBUTE
++# define OBJC2_UNAVAILABLE //UNAVAILABLE_ATTRIBUTE
+ # else
+ # define OBJC2_UNAVAILABLE DEPRECATED_IN_MAC_OS_X_VERSION_10_5_AND_LATER
+ # endif
+diff -ru odcctools-277/include/foreign/objc/runtime.h odcctools-277+iPhone/include/foreign/objc/runtime.h
+--- odcctools-277/include/foreign/objc/runtime.h 2008-08-29 23:05:06.000000000 +0000
++++ odcctools-277+iPhone/include/foreign/objc/runtime.h 2008-08-30 00:25:34.000000000 +0000
+@@ -43,7 +43,7 @@
+ struct objc_class {
+ Class isa;
+
+-#if !__OBJC2__
++#if 1//!__OBJC2__
+ Class super_class OBJC2_UNAVAILABLE;
+ const char *name OBJC2_UNAVAILABLE;
+ long version OBJC2_UNAVAILABLE;
+@@ -303,7 +303,7 @@
+
+ /* Obsolete types */
+
+-#if !__OBJC2__
++#if 1//!__OBJC2__
+
+ #define CLS_GETINFO(cls,infomask) ((cls)->info & (infomask))
+ #define CLS_SETINFO(cls,infomask) ((cls)->info |= (infomask))
+diff -ru odcctools-277/otool/Makefile.in odcctools-277+iPhone/otool/Makefile.in
+--- odcctools-277/otool/Makefile.in 2008-08-29 22:38:32.000000000 +0000
++++ odcctools-277+iPhone/otool/Makefile.in 2008-08-30 00:18:48.000000000 +0000
+@@ -24,8 +24,10 @@
+ INCPRIVEXT = -include $(top_srcdir)/include/extern.h
+ endif
+
++FOREIGN = -I$(top_srcdir)/include/foreign
++
+ ifeq ($(HAVE_FOREIGN_HEADERS),YES)
+-FORHDRS = -I$(top_srcdir)/include/foreign
++FORHDRS = $(FOREIGN)
+ endif
+
+ INSTALL = @INSTALL@
+@@ -77,9 +79,9 @@
+ $(CC) -DOTOOL $(MYCOMPILEFLAGS) -DARCH64 -c -o $@ $<
+
+ $(MOBJS): %.o: %.c
+- $(CC) $(OBJC) $(MYCOMPILEFLAGS) -c -o $@ $<
++ $(CC) $(OBJC) $(MYCOMPILEFLAGS) $(FOREIGN) -c -o $@ $<
+ $(MOBJS64): %.64o: %.c
+- $(CC) $(OBJC) $(MYCOMPILEFLAGS) -DARCH64 -c -o $@ $<
++ $(CC) $(OBJC) $(MYCOMPILEFLAGS) $(FOREIGN) -DARCH64 -c -o $@ $<
+
+ install: otool otool64
+ mkdir -p $(DESTDIR)$(bindir)
+diff -ru odcctools-277/otool/print_objc.c odcctools-277+iPhone/otool/print_objc.c
+--- odcctools-277/otool/print_objc.c 2008-08-29 22:38:32.000000000 +0000
++++ odcctools-277+iPhone/otool/print_objc.c 2008-08-30 00:18:48.000000000 +0000
+@@ -39,7 +39,11 @@
+
+ struct objc_protocol
+ {
+- @defs(Protocol)
++ Class isa;
++ char *protocol_name OBJC2_UNAVAILABLE;
++ struct objc_protocol_list *protocol_list OBJC2_UNAVAILABLE;
++ struct objc_method_description_list *instance_methods OBJC2_UNAVAILABLE;
++ struct objc_method_description_list *class_methods OBJC2_UNAVAILABLE;
+ };
+
+ /*
+@@ -51,7 +55,7 @@
+ char *characters;
+ unsigned int _length;
+ };
+-//typedef struct objc_string_object NXConstantString;
++typedef struct objc_string_object NXConstantString;
+
+ #define SIZEHASHTABLE 821
+ struct _hashEntry {