glib: update to glib-2.28.1

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-02-19 12:44:50 +01:00
parent 6995888555
commit 61ef9e9f99
2 changed files with 25 additions and 1 deletions

View File

@ -19,7 +19,7 @@
################################################################################
PKG_NAME="glib"
PKG_VERSION="2.28.0"
PKG_VERSION="2.28.1"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="LGPL"

View File

@ -0,0 +1,24 @@
diff -Naur glib-2.28.1-old/configure.ac glib-2.28.1-new/configure.ac
--- glib-2.28.1-old/configure.ac 2011-02-17 20:33:11.000000000 -0800
+++ glib-2.28.1-new/configure.ac 2011-02-18 09:19:32.000000000 -0800
@@ -858,6 +858,7 @@
AC_CHECK_HEADERS([sys/vfs.h sys/mount.h sys/vmount.h sys/statfs.h sys/statvfs.h])
AC_CHECK_HEADERS([mntent.h sys/mnttab.h sys/vfstab.h sys/mntctl.h sys/sysctl.h fstab.h])
AC_CHECK_HEADERS([sys/uio.h sys/mkdev.h])
+AC_CHECK_HEADERS([linux/magic.h])
# check for structure fields
AC_CHECK_MEMBERS([struct stat.st_mtimensec, struct stat.st_mtim.tv_nsec, struct stat.st_atimensec, struct stat.st_atim.tv_nsec, struct stat.st_ctimensec, struct stat.st_ctim.tv_nsec])
diff -Naur glib-2.28.1-old/glib/gfileutils.c glib-2.28.1-new/glib/gfileutils.c
--- glib-2.28.1-old/glib/gfileutils.c 2011-02-11 07:23:12.000000000 -0800
+++ glib-2.28.1-new/glib/gfileutils.c 2011-02-18 09:19:32.000000000 -0800
@@ -54,7 +54,9 @@
#include "glibintl.h"
#ifdef __linux__ /* for btrfs check */
+#ifdef HAVE_LINUX_MAGIC_H
#include <linux/magic.h>
+#endif
#include <sys/vfs.h>
#endif