diff options
Diffstat (limited to 'apt-extra')
-rw-r--r-- | apt-extra/apti18n.h | 7 | ||||
-rw-r--r-- | apt-extra/config.h | 48 | ||||
-rw-r--r-- | apt-extra/endian.h | 1 |
3 files changed, 56 insertions, 0 deletions
diff --git a/apt-extra/apti18n.h b/apt-extra/apti18n.h new file mode 100644 index 0000000..a425267 --- /dev/null +++ b/apt-extra/apti18n.h @@ -0,0 +1,7 @@ +#define setlocale(a, b) +#define textdomain(a) +#define bindtextdomain(a, b) +#define _(x) x +#define P_(msg,plural,n) (n == 1 ? msg : plural) +#define N_(x) x +#define dgettext(d, m) m diff --git a/apt-extra/config.h b/apt-extra/config.h new file mode 100644 index 0000000..d281ff5 --- /dev/null +++ b/apt-extra/config.h @@ -0,0 +1,48 @@ +#undef WORDS_BIGENDIAN + +#define HAVE_TIMEGM + +//#cmakedefine HAVE_ZLIB +//#cmakedefine HAVE_BZ2 +//#cmakedefine HAVE_LZMA +//#cmakedefine HAVE_LZ4 + +/* These two are used by the statvfs shim for glibc2.0 and bsd */ +/* Define if we have sys/vfs.h */ +//#cmakedefine HAVE_VFS_H +//#cmakedefine HAVE_STRUCT_STATFS_F_TYPE + +#undef HAVE_MOUNT_H + +#undef HAVE_SYS_ENDIAN_H +#define HAVE_MACHINE_ENDIAN_H + +#define HAVE_PTHREAD + +#undef HAVE_GETRESUID +#undef HAVE_GETRESGID +#undef HAVE_SETRESUID +#undef HAVE_SETRESGID + +#undef HAVE_PTSNAME_R + +#define COMMON_ARCH "iphoneos-arm" +#define PACKAGE "cydia" // XXX +#define PACKAGE_VERSION "${PACKAGE_VERSION}" // XXX +#define PACKAGE_MAIL "saurik@saurik.com" + +#define CMAKE_INSTALL_FULL_BINDIR "/usr/bin" +#define STATE_DIR "/var/lib/apt" +#define CACHE_DIR "/var/cache/apt" +#define LOG_DIR "/var/log/apt" +#define CONF_DIR "/etc/apt" +#define LIBEXEC_DIR "/usr/lib/apt" +#define BIN_DIR "/usr/bin" + +#define ROOT_GROUP "wheel" + +#define APT_8_CLEANER_HEADERS +#define APT_9_CLEANER_HEADERS +#define APT_10_CLEANER_HEADERS + +#define SHA2_UNROLL_TRANSFORM diff --git a/apt-extra/endian.h b/apt-extra/endian.h new file mode 100644 index 0000000..0de2c02 --- /dev/null +++ b/apt-extra/endian.h @@ -0,0 +1 @@ +#include <machine/endian.h> |