Browse Source

glib: Update from 2.58.1 to 2.58.2

android-5
Fredrik Fornwall 6 years ago
parent
commit
9030f12635
  1. 4
      packages/glib/build.sh
  2. 10
      packages/glib/glib-gspawn.c.patch

4
packages/glib/build.sh

@ -1,7 +1,7 @@
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_VERSION=2.58.1
TERMUX_PKG_SHA256=97d6a9d926b6aa3dfaadad3077cfb43eec74432ab455dff14250c769d526d7d6
TERMUX_PKG_VERSION=2.58.2
TERMUX_PKG_SHA256=c7b24ed6536f1a10fc9bce7994e55c427b727602e78342821f1f07fb48753d4b
TERMUX_PKG_SRCURL=https://ftp.gnome.org/pub/gnome/sources/glib/${TERMUX_PKG_VERSION:0:4}/glib-${TERMUX_PKG_VERSION}.tar.xz
# libandroid-support to get langinfo.h in include path.
TERMUX_PKG_DEPENDS="libffi, pcre, libandroid-support"

10
packages/glib/glib-gspawn.c.patch

@ -1,16 +1,6 @@
diff -u -r ../glib-2.58.1/glib/gspawn.c ./glib/gspawn.c
--- ../glib-2.58.1/glib/gspawn.c 2018-09-21 14:23:53.000000000 +0000
+++ ./glib/gspawn.c 2018-10-07 18:17:08.394012273 +0000
@@ -30,7 +30,9 @@
#include <string.h>
#include <stdlib.h> /* for fdwalk */
#include <dirent.h>
+#ifdef HAVE_POSIX_SPAWN
#include <spawn.h>
+#endif
#ifdef HAVE_CRT_EXTERNS_H
#include <crt_externs.h> /* for _NSGetEnviron */
@@ -2020,7 +2022,7 @@
new_argv = g_new0 (gchar*, argc + 2); /* /bin/sh and NULL */

Loading…
Cancel
Save