From 0f60236951fb8a174295774a43b6e6481833b50d Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 19 May 2018 00:55:59 +0200 Subject: [PATCH] inotify-tools: Update from 3.14 to 3.20.1 --- packages/inotify-tools/build.sh | 11 ++++++----- packages/inotify-tools/src-Makefile.am.patch | 12 ++++++++++++ 2 files changed, 18 insertions(+), 5 deletions(-) create mode 100644 packages/inotify-tools/src-Makefile.am.patch diff --git a/packages/inotify-tools/build.sh b/packages/inotify-tools/build.sh index 6c17c8d7e..93036679c 100644 --- a/packages/inotify-tools/build.sh +++ b/packages/inotify-tools/build.sh @@ -1,17 +1,18 @@ TERMUX_PKG_HOMEPAGE=https://github.com/rvoicilas/inotify-tools/wiki TERMUX_PKG_DESCRIPTION="Programs providing a simple interface to inotify" -TERMUX_PKG_VERSION=3.14 -TERMUX_PKG_REVISION=1 -TERMUX_PKG_SRCURL=https://github.com/downloads/rvoicilas/inotify-tools/inotify-tools-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=222bcca8893d7bf8a1ce207fb39ceead5233b5015623d099392e95197676c92f +TERMUX_PKG_VERSION=3.20.1 +TERMUX_PKG_SHA256=a433cc1dedba851078276db69b0e97f9fe41e4ba3336d2971adfca4b3a6242ac +TERMUX_PKG_SRCURL=https://github.com/rvoicilas/inotify-tools/archive/${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_BUILD_IN_SRC=yes termux_step_pre_configure() { + ./autogen.sh + LDFLAGS+=" -llog" } termux_step_make () { - continue + : } termux_step_make_install () { diff --git a/packages/inotify-tools/src-Makefile.am.patch b/packages/inotify-tools/src-Makefile.am.patch new file mode 100644 index 000000000..0bafbc731 --- /dev/null +++ b/packages/inotify-tools/src-Makefile.am.patch @@ -0,0 +1,12 @@ +diff -u -r ../inotify-tools-3.20.1/src/Makefile.am ./src/Makefile.am +--- ../inotify-tools-3.20.1/src/Makefile.am 2018-01-06 12:10:51.000000000 +0100 ++++ ./src/Makefile.am 2018-05-19 00:38:08.962826874 +0200 +@@ -2,7 +2,7 @@ + inotifywait_SOURCES = inotifywait.c common.c common.h + inotifywatch_SOURCES = inotifywatch.c common.c common.h + +-AM_CFLAGS = -Wall -Werror -Wpointer-arith -std=c99 -I../libinotifytools/src -L../libinotifytools/src ++AM_CFLAGS = -Wall -Wpointer-arith -std=c99 -I../libinotifytools/src -L../libinotifytools/src + AM_CPPFLAGS = -I$(top_srcdir)/libinotifytools/src + LDADD = ../libinotifytools/src/libinotifytools.la +