summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-03-17 07:06:06 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:13:59 +0000
commite59669fd4c835122cb849fd7cd2d9bfa7c236a9b (patch)
tree9569839e69adffe01c930535bb9007eea2066ac9
parent0010fa772057784c419c57460a0a215d7ef1b237 (diff)
We like it when things compile.
-rw-r--r--Cydia.mm8
-rw-r--r--control2
2 files changed, 6 insertions, 4 deletions
diff --git a/Cydia.mm b/Cydia.mm
index e0bd10a..5936218 100644
--- 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 7c9a0fe..9958a4a 100644
--- 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)