gtk2: fix missing gdkconfig.h

This commit is contained in:
Leonid Pliushch 2018-12-30 01:11:10 +02:00 committed by Yaksh Bariya
parent e67119e44b
commit 00bea948c8
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
2 changed files with 14 additions and 1 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_HOMEPAGE=https://www.gtk.org/
TERMUX_PKG_DESCRIPTION="GObject-based multi-platform GUI toolkit (legacy)"
TERMUX_PKG_VERSION=2.24.32
TERMUX_PKG_REVISION=7
TERMUX_PKG_REVISION=8
TERMUX_PKG_SRCURL=https://github.com/GNOME/gtk/archive/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=961678c64ad986029befd7bdd8ed3e3849e2c5e54d24affbc7d49758245c87fa
TERMUX_PKG_BUILD_IN_SRC=true

View File

@ -0,0 +1,13 @@
diff -uNr gtk-2.24.32/gdk/Makefile.am gtk-2.24.32.mod/gdk/Makefile.am
--- gtk-2.24.32/gdk/Makefile.am 2018-01-08 23:35:39.000000000 +0200
+++ gtk-2.24.32.mod/gdk/Makefile.am 2018-12-29 03:45:17.280782385 +0200
@@ -328,8 +328,7 @@
install-exec-local: gdkconfig.h
$(mkinstalldirs) $(DESTDIR)$(configexecincludedir)
file=$(DESTDIR)$(configexecincludedir)/gdkconfig.h; \
- if test -r $$file && cmp -s gdkconfig.h $$file; then :; \
- else $(INSTALL_DATA) gdkconfig.h $$file; fi
+ $(INSTALL_DATA) gdkconfig.h $$file
install-exec-hook:
if DISABLE_EXPLICIT_DEPS