diff options
author | Jay Freeman <saurik@saurik.com> | 2010-02-22 20:57:01 +0000 |
---|---|---|
committer | Jay Freeman <saurik@saurik.com> | 2010-02-22 20:57:01 +0000 |
commit | b4eda46583b6a9c77b29e033dfdef83488f5546f (patch) | |
tree | bdad569c577d83ba7cd407b6e0bf04b67b0fe0fd /data/_apt7/deprecated.diff | |
parent | 6c54e22d2c79a2f644f672ab06c29a060387443a (diff) |
Ported to APT 0.7.25.3.
git-svn-id: http://svn.telesphoreo.org/trunk@700 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/_apt7/deprecated.diff')
-rw-r--r-- | data/_apt7/deprecated.diff | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/data/_apt7/deprecated.diff b/data/_apt7/deprecated.diff new file mode 100644 index 000000000..737aed6f9 --- /dev/null +++ b/data/_apt7/deprecated.diff @@ -0,0 +1,13 @@ +diff -ru apt-0.7.25.3/apt-pkg/contrib/macros.h apt-0.7.25.3+iPhone/apt-pkg/contrib/macros.h +--- apt-0.7.25.3/apt-pkg/contrib/macros.h 2010-02-22 18:11:17.000000000 +0000 ++++ apt-0.7.25.3+iPhone/apt-pkg/contrib/macros.h 2010-02-01 19:44:40.000000000 +0000 +@@ -57,7 +57,9 @@ + // some nice optional GNUC features + #if __GNUC__ >= 3 + #define __must_check __attribute__ ((warn_unused_result)) ++#ifndef __deprecated + #define __deprecated __attribute__ ((deprecated)) ++#endif + /* likely() and unlikely() can be used to mark boolean expressions + as (not) likely true which will help the compiler to optimise */ + #define likely(x) __builtin_expect (!!(x), 1) |