From 0abb4e6e612fb3f29fd4bc79fdbfbde438bb20bb Mon Sep 17 00:00:00 2001 From: John Hodge Date: Thu, 11 Dec 2014 17:40:04 +0800 Subject: [PATCH] Externals - Add pkgconfig (builds for host) and glib (not working, builds for target) --- Externals/glib/Makefile | 17 +++++++++++++++++ Externals/glib/patches/config.sub.patch | 8 ++++++++ Externals/pkgconfig/patches/config.sub.patch | 7 +++++++ .../pkgconfig/patches/glib/config.sub.patch | 8 ++++++++ 4 files changed, 40 insertions(+) create mode 100644 Externals/glib/Makefile create mode 100644 Externals/glib/patches/config.sub.patch create mode 100644 Externals/pkgconfig/patches/config.sub.patch create mode 100644 Externals/pkgconfig/patches/glib/config.sub.patch diff --git a/Externals/glib/Makefile b/Externals/glib/Makefile new file mode 100644 index 00000000..953ef038 --- /dev/null +++ b/Externals/glib/Makefile @@ -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 index 00000000..f600ad4b --- /dev/null +++ b/Externals/glib/patches/config.sub.patch @@ -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 index 00000000..b2d73891 --- /dev/null +++ b/Externals/pkgconfig/patches/config.sub.patch @@ -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 index 00000000..f600ad4b --- /dev/null +++ b/Externals/pkgconfig/patches/glib/config.sub.patch @@ -0,0 +1,8 @@ +--- glib/config.sub ++++ glib/config.sub +@@ -1335,2 +1335,5 @@ + ;; ++ -acess2) ++ os=-acess2 ++ ;; + -solaris) -- 2.20.1