Skip to contentSkip to conversation

package/findutils: bump to version 4.7

PATCH New Fabrice Fontaine 1 participant 1 message Sep 15, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/findutils: bump to version 4.7

- Remove patches (already in version)
- Add hash for license file

---
 ...ntlist-include-sysmacros-h-for-glibc.patch |  81 ----------
 ...adjust-to-glibc-2-28-libio-h-removal.patch | 152 ------------------
 package/findutils/findutils.hash              |   5 +-
 package/findutils/findutils.mk                |   5 +-
 4 files changed, 6 insertions(+), 237 deletions(-)
 delete mode 100644 package/findutils/0001-mountlist-include-sysmacros-h-for-glibc.patch
 delete mode 100644 package/findutils/0002-fflush-adjust-to-glibc-2-28-libio-h-removal.patch
package/findutils/0001-mountlist-include-sysmacros-h-for-glibc.patch deleted +0 -81
deleted file mode 100644
index ebb4d38a5d..0000000000
@@ -1,81 +0,0 @@
-From 4da63c5881f60f71999a943612da9112232b9161 Mon Sep 17 00:00:00 2001
-From: Eric Blake <[email protected]>
-Date: Wed, 14 Sep 2016 19:21:42 -0500
-Subject: [PATCH] mountlist: include sysmacros.h for glibc
-
-On Fedora rawhide (glibc 2.25), './gnulib-tool --test mountlist'
-reports:
-../../gllib/mountlist.c: In function 'read_file_system_list':
-../../gllib/mountlist.c:534:13: warning: '__makedev_from_sys_types' is deprecated:
-  In the GNU C Library, `makedev' is defined by <sys/sysmacros.h>.
-  For historical compatibility, it is currently defined by
-  <sys/types.h> as well, but we plan to remove this soon.
-  To use `makedev', include <sys/sysmacros.h> directly.
-  If you did not intend to use a system-defined macro `makedev',
-  you should #undef it after including <sys/types.h>.
-  [-Wdeprecated-declarations]
-             me->me_dev = makedev (devmaj, devmin);
-             ^~
-In file included from /usr/include/features.h:397:0,
-                 from /usr/include/sys/types.h:25,
-                 from ./sys/types.h:28,
-                 from ../../gllib/mountlist.h:23,
-                 from ../../gllib/mountlist.c:20:
-/usr/include/sys/sysmacros.h:89:1: note: declared here
- __SYSMACROS_DEFINE_MAKEDEV (__SYSMACROS_FST_IMPL_TEMPL)
- ^
-
-Fix it by including the right headers.  We also need a fix to
-autoconf's AC_HEADER_MAJOR, but that's a separate patch.
-
-* m4/mountlist.m4 (gl_PREREQ_MOUTLIST_EXTRA): Include
-AC_HEADER_MAJOR.
-* lib/mountlist.c (includes): Use correct headers.
-
-Signed-off-by: Eric Blake <[email protected]>
-
-Signed-off-by: Fabrice Fontaine <[email protected]>
-[Backported on version 4.6 after being retrieved from
-http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=patch;h=4da63c58]
----
- gl/lib/mountlist.c | 6 ++++++
- m4/mountlist.m4 | 3 ++-
- 2 files changed, 9 insertions(+), 1 deletion(-)
-
-diff --git a/gl/lib/mountlist.c b/lib/mountlist.c
-index bb4e4ee..cf4020e 100644
---- a/gl/lib/mountlist.c
-+++ b/gl/lib/mountlist.c
-@@ -37,6 +37,12 @@
- # include <sys/param.h>
- #endif
- 
-+#if MAJOR_IN_MKDEV
-+# include <sys/mkdev.h>
-+#elif MAJOR_IN_SYSMACROS
-+# include <sys/sysmacros.h>
-+#endif
-+
- #if defined MOUNTED_GETFSSTAT   /* OSF_1 and Darwin1.3.x */
- # if HAVE_SYS_UCRED_H
- #  include <grp.h> /* needed on OSF V4.0 for definition of NGROUPS,
-diff --git a/m4/mountlist.m4 b/m4/mountlist.m4
-index 2e2ca37..b6724fa 100644
---- a/gl/m4/mountlist.m4
-+++ b/gl/m4/mountlist.m4
-@@ -1,4 +1,4 @@
--# serial 11
-+# serial 12
- dnl Copyright (C) 2002-2006, 2009-2015 Free Software Foundation, Inc.
- dnl This file is free software; the Free Software Foundation
- dnl gives unlimited permission to copy and/or distribute it,
-@@ -15,5 +15,6 @@ AC_DEFUN([gl_PREREQ_MOUNTLIST_EXTRA],
- [
-   dnl Note gl_LIST_MOUNTED_FILE_SYSTEMS checks for mntent.h, not sys/mntent.h.
-   AC_CHECK_HEADERS([sys/mntent.h])
-+  AC_HEADER_MAJOR()dnl for use of makedev ()
-   gl_FSTYPENAME
- ])
--- 
-1.9.1
-
package/findutils/0002-fflush-adjust-to-glibc-2-28-libio-h-removal.patch deleted +0 -152

152 lines not on this page · raw message

package/findutils/findutils.hash +4 -1
index d5c5519304..392c62d254 100644
@@ -1,2 +1,5 @@
 # Locally calculated after checking pgp signature
-sha256	ded4c9f73731cd48fec3b6bdaccce896473b6d8e337e9612e16cf1431bb1169d	findutils-4.6.0.tar.gz
+sha256	c5fefbdf9858f7e4feb86f036e1247a54c79fc2d8e4b7064d5aaa1f47dfa789a	findutils-4.7.0.tar.xz
+
+# Hash for license file
+sha256	3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986	COPYING
package/findutils/findutils.mk +2 -3
index b0a2ea8c5f..13d8271e18 100644
@@ -4,7 +4,8 @@
 #
 ################################################################################
 
-FINDUTILS_VERSION = 4.6.0
+FINDUTILS_VERSION = 4.7.0
+FINDUTILS_SOURCE = findutils-$(FINDUTILS_VERSION).tar.xz
 FINDUTILS_SITE = $(BR2_GNU_MIRROR)/findutils
 FINDUTILS_LICENSE = GPL-3.0+
 FINDUTILS_LICENSE_FILES = COPYING
@@ -12,7 +13,5 @@ FINDUTILS_CONF_ENV = \
 	gl_cv_func_stdin=yes \
 	ac_cv_func_working_mktime=yes \
 	gl_cv_func_wcwidth_works=yes
-# 0001-mountlist-include-sysmacros-h-for-glibc.patch
-FINDUTILS_AUTORECONF = YES
 
 $(eval $(autotools-package))
Signature · 1 line
2.23.0.rc1