Browse Source

glib: Update from 2.44.1 to 2.46.2

android-5
Fredrik Fornwall 9 years ago
parent
commit
a5d4e3d674
  1. 4
      packages/glib/build.sh
  2. 12
      packages/glib/gthreadedresolver.c.patch

4
packages/glib/build.sh

@ -1,7 +1,7 @@
TERMUX_PKG_HOMEPAGE=https://developer.gnome.org/glib/ TERMUX_PKG_HOMEPAGE=https://developer.gnome.org/glib/
TERMUX_PKG_DESCRIPTION="Library providing core building blocks for libraries and applications written in C" TERMUX_PKG_DESCRIPTION="Library providing core building blocks for libraries and applications written in C"
_TERMUX_GLIB_MAJOR_VERSION=2.44 _TERMUX_GLIB_MAJOR_VERSION=2.46
TERMUX_PKG_VERSION=${_TERMUX_GLIB_MAJOR_VERSION}.1 TERMUX_PKG_VERSION=${_TERMUX_GLIB_MAJOR_VERSION}.2
TERMUX_PKG_SRCURL=http://ftp.gnome.org/pub/gnome/sources/glib/${_TERMUX_GLIB_MAJOR_VERSION}/glib-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SRCURL=http://ftp.gnome.org/pub/gnome/sources/glib/${_TERMUX_GLIB_MAJOR_VERSION}/glib-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_DEPENDS="libffi, pcre" TERMUX_PKG_DEPENDS="libffi, pcre"

12
packages/glib/gthreadedresolver.c.patch

@ -1,12 +0,0 @@
diff -u -r ../glib-2.42.1/gio/gthreadedresolver.c ./gio/gthreadedresolver.c
--- ../glib-2.42.1/gio/gthreadedresolver.c 2014-07-31 09:36:53.000000000 -0400
+++ ./gio/gthreadedresolver.c 2014-12-21 14:20:34.755658537 -0500
@@ -263,7 +263,7 @@
#if defined(G_OS_UNIX)
-#ifdef __BIONIC__
+#if defined __BIONIC__ && __ANDROID_API__ < 21
/* Copy from bionic/libc/private/arpa_nameser_compat.h
* and bionic/libc/private/arpa_nameser.h */
typedef struct {
Loading…
Cancel
Save