]> git.saurik.com Git - cydia.git/commitdiff
We like it when things compile.
authorJay Freeman (saurik) <saurik@saurk.com>
Wed, 17 Mar 2010 07:06:06 +0000 (07:06 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 30 Sep 2010 07:13:59 +0000 (07:13 +0000)
Cydia.mm
control

index e0bd10a3cd3ebe18b72d9ab9371cbc03a2bab485..593621807572e4c5cd46b55b06f415f106a3ed85 100644 (file)
--- a/Cydia.mm
+++ b/Cydia.mm
@@ -72,6 +72,8 @@
 
 #include <ext/stdio_filebuf.h>
 
+#undef ABS
+
 #include <apt-pkg/acquire.h>
 #include <apt-pkg/acquire-item.h>
 #include <apt-pkg/algorithms.h>
@@ -372,7 +374,7 @@ static const CFStringCompareFlags LaxCompareFlags_ = kCFCompareCaseInsensitive |
 
 #define lprintf(args...) fprintf(stderr, args)
 
-#define ForRelease 1
+#define ForRelease 0
 #define TraceLogging (1 && !ForRelease)
 #define HistogramInsertionSort (0 && !ForRelease)
 #define ProfileTimes (0 && !ForRelease)
@@ -4839,7 +4841,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
 
 - (void) clearSection {
     if (basic_ != nil) {
-        [basic_ release]
+        [basic_ release];
         basic_ = nil;
     }
 
@@ -4901,7 +4903,7 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
         name_ = [UCLocalize("ALL_PACKAGES") retain];
         count_ = nil;
     } else {
-        basic_ = [section name_];
+        basic_ = [section name];
         if (basic_ != nil)
             basic_ = [basic_ retain];
 
diff --git a/control b/control
index 7c9a0fe9cd3afe552df5c6e152fde6b879b8d8ba..9958a4af1764b2413041e6c008988b2165c992f1 100644 (file)
--- a/control
+++ b/control
@@ -3,7 +3,7 @@ Priority: required
 Section: Packaging
 Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
 Architecture: iphoneos-arm
-Version: 1.0.3044-2
+Version: 1.0.3140-1
 Replaces: com.sosiphone.addcydia
 Depends: apr-lib, apt7-lib, apt7-key, darwintools, pcre, shell-cmds, system-cmds, essential
 Pre-Depends: dpkg (>= 1.14.25-8)