summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitmodules3
-rw-r--r--LICENSE1
-rw-r--r--desktop/expat/expat_config.h22
-rw-r--r--desktop/expat/gen.rc9
m---------desktop/expat/src0
-rw-r--r--desktop/gen.rc1
-rwxr-xr-xfetch.rc1
7 files changed, 37 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index da6dc96f..5a4a71f8 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -61,6 +61,9 @@
[submodule "core/xz/src"]
path = core/xz/src
url = http://git.tukaani.org/xz.git
+[submodule "desktop/expat/src"]
+ path = desktop/expat/src
+ url = git://git.code.sf.net/p/expat/code_git
[submodule "desktop/libpciaccess/src"]
path = desktop/libpciaccess/src
url = https://anongit.freedesktop.org/git/xorg/lib/libpciaccess.git
diff --git a/LICENSE b/LICENSE
index 18958c11..45fd0f31 100644
--- a/LICENSE
+++ b/LICENSE
@@ -27,6 +27,7 @@ core/openssh/config.h
core/sinit/config.h
core/tz/version.h
core/xz/config.h
+desktop/expat/expat_config.h
desktop/libpciaccess/config.h
devel/make/config.h
devel/mc/config.h
diff --git a/desktop/expat/expat_config.h b/desktop/expat/expat_config.h
new file mode 100644
index 00000000..2fb97f3c
--- /dev/null
+++ b/desktop/expat/expat_config.h
@@ -0,0 +1,22 @@
+#include <config-posix.h>
+
+#define BYTEORDER 1234
+#define HAVE_BCOPY 1
+#define HAVE_GETPAGESIZE 1
+#define HAVE_MEMORY_H 1
+#define HAVE_SYS_PARAM_H 1
+#define LT_OBJDIR ".libs/"
+#define PACKAGE_BUGREPORT "expat-bugs@libexpat.org"
+#define PACKAGE_NAME "expat"
+#define PACKAGE_STRING "expat 2.2.0"
+#define PACKAGE_TARNAME "expat"
+#define PACKAGE_URL ""
+#define PACKAGE_VERSION "2.2.0"
+/* #undef WORDS_BIGENDIAN */
+#define XML_CONTEXT_BYTES 1024
+#define XML_DTD 1
+#define XML_NS 1
+/* #undef __func__ */
+/* #undef const */
+/* #undef off_t */
+/* #undef size_t */
diff --git a/desktop/expat/gen.rc b/desktop/expat/gen.rc
new file mode 100644
index 00000000..8d673c24
--- /dev/null
+++ b/desktop/expat/gen.rc
@@ -0,0 +1,9 @@
+cflags\
+ -D HAVE_EXPAT_CONFIG_H\
+ -I include\
+ -I '$dir'
+lib libexpat.a expat/lib/^(xmlparse.c xmltok.c xmlrole.c)
+
+hdrs=(expat.h expat_external.h)
+for(hdr in $hdrs) build '$outdir'/include/$hdr copy '$srcdir'/expat/lib/$hdr
+phony headers include/$hdrs
diff --git a/desktop/expat/src b/desktop/expat/src
new file mode 160000
+Subproject fbc46fa2be307280648147543c053d05910f7a8
diff --git a/desktop/gen.rc b/desktop/gen.rc
index 66821915..28fd43e0 100644
--- a/desktop/gen.rc
+++ b/desktop/gen.rc
@@ -1,2 +1,3 @@
+subgen expat
subgen libpciaccess
subgen plan9fonts
diff --git a/fetch.rc b/fetch.rc
index b3a9e2f0..1e1ee0b9 100755
--- a/fetch.rc
+++ b/fetch.rc
@@ -91,6 +91,7 @@ fetch core/tz git
fetch core/ubase git
fetch core/xz git
fetch core/zlib git
+fetch desktop/expat git
fetch desktop/libpciaccess git
fetch desktop/plan9fonts git
fetch devel/cparser git