summaryrefslogtreecommitdiff
path: root/apt-extra/config.h
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2016-12-28 00:30:34 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2016-12-28 00:30:34 -0800
commit0209cce51675512f80e740ce45d568ed6d0029c0 (patch)
tree5adacf3f52abb1a02af7bd4b8fd682282ec0dfe6 /apt-extra/config.h
parent019bd407df21b38dc22972771fc8557e45a844d3 (diff)
Compile Cydia to arm64 by linking with APT 1.4~b1.
Diffstat (limited to 'apt-extra/config.h')
-rw-r--r--apt-extra/config.h48
1 files changed, 48 insertions, 0 deletions
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