diffutils: update to 3.7

This commit is contained in:
CvH 2020-06-21 22:50:16 +02:00
parent 9e9c1d91ea
commit 38b2e1cb3b
2 changed files with 2 additions and 28 deletions

View File

@ -2,8 +2,8 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="diffutils"
PKG_VERSION="3.6"
PKG_SHA256="d621e8bdd4b573918c8145f7ae61817d1be9deb4c8d2328a65cea8e11d783bd6"
PKG_VERSION="3.7"
PKG_SHA256="b3a7a6221c3dc916085f0d205abf6b8e1ba443d4dd965118da364a1dc1cb3a26"
PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/diffutils/"
PKG_URL="http://ftpmirror.gnu.org/diffutils/$PKG_NAME-$PKG_VERSION.tar.xz"

View File

@ -1,26 +0,0 @@
http://cgit.openembedded.org/openembedded-core/tree/meta/recipes-extended/diffutils/diffutils-3.6
Subject: explicitly disable replacing getopt
Explicitly disable replacing getopt to avoid compilation error like below.
xstrtol-error.c:84:26: error: invalid use of undefined type 'struct rpl_option'
diff --git a/m4/getopt.m4 b/m4/getopt.m4
index 3ebc7b7..8934426 100644
--- a/m4/getopt.m4
+++ b/m4/getopt.m4
@@ -22,8 +22,8 @@ AC_DEFUN([gl_FUNC_GETOPT_POSIX],
fi
])
if test $REPLACE_GETOPT = 1; then
- dnl Arrange for getopt.h to be created.
- gl_GETOPT_SUBSTITUTE_HEADER
+ dnl Explicitly disable replacing getopt
+ :
fi
])
--
2.11.0