Externals - Add pkgconfig (builds for host) and glib (not working, builds for target)
authorJohn Hodge <[email protected]>
Thu, 11 Dec 2014 09:40:04 +0000 (17:40 +0800)
committerJohn Hodge <[email protected]>
Thu, 11 Dec 2014 09:40:04 +0000 (17:40 +0800)
Externals/glib/Makefile [new file with mode: 0644]
Externals/glib/patches/config.sub.patch [new file with mode: 0644]
Externals/pkgconfig/patches/config.sub.patch [new file with mode: 0644]
Externals/pkgconfig/patches/glib/config.sub.patch [new file with mode: 0644]

diff --git a/Externals/glib/Makefile b/Externals/glib/Makefile
new file mode 100644 (file)
index 0000000..953ef03
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# Acess2 Externals - glib
+# - Patches and Makefile by John Hodge (thePowersGang)
+#
+
+DEPS := libffi
+_NAME := glib
+TARBALL_PATTERN := $(_NAME)-*.tar.xz
+TARBALL_TO_DIR_L := $(_NAME)-%.tar.xz
+TARBALL_TO_DIR_R := $(_NAME)-%
+PATCHES := config.sub
+CONFIGURE_ARGS := glib_cv_stack_grows=no ac_cv_func_posix_getpwuid_r=no ac_cv_func_posix_getgrgid_r=no
+CONFIGURE_ARGS += LDFLAGS=-lpsocket
+
+include ../common_automake.mk
+
+
diff --git a/Externals/glib/patches/config.sub.patch b/Externals/glib/patches/config.sub.patch
new file mode 100644 (file)
index 0000000..f600ad4
--- /dev/null
@@ -0,0 +1,8 @@
+--- glib/config.sub
++++ glib/config.sub
+@@ -1335,2 +1335,5 @@
+               ;;
++      -acess2)
++              os=-acess2
++              ;;
+       -solaris)
diff --git a/Externals/pkgconfig/patches/config.sub.patch b/Externals/pkgconfig/patches/config.sub.patch
new file mode 100644 (file)
index 0000000..b2d7389
--- /dev/null
@@ -0,0 +1,7 @@
+--- bochs-2.6.2_orig/config.sub        2013-06-17 11:39:39.670720710 +0800
++++ bochs-2.6.2/config.sub     2013-06-17 11:48:09.149384231 +0800
+@@ -1344,2 +1344,3 @@
+             | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
++            | -acess2 \
+             | -aos* | -aros* \
+
diff --git a/Externals/pkgconfig/patches/glib/config.sub.patch b/Externals/pkgconfig/patches/glib/config.sub.patch
new file mode 100644 (file)
index 0000000..f600ad4
--- /dev/null
@@ -0,0 +1,8 @@
+--- glib/config.sub
++++ glib/config.sub
+@@ -1335,2 +1335,5 @@
+               ;;
++      -acess2)
++              os=-acess2
++              ;;
+       -solaris)

UCC git Repository :: git.ucc.asn.au