From daea7aa11b97b154711d29976e38d8691a02dafc Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 5 Mar 2020 10:58:04 +0100 Subject: community/lbzip2: removed patch, fixed upstream --- .../4af4a4a71827c0bc5e0ec67af23edef4f15cee8e.patch | 30 ---------------------- community/lbzip2/PKGBUILD | 14 ---------- 2 files changed, 44 deletions(-) delete mode 100644 community/lbzip2/4af4a4a71827c0bc5e0ec67af23edef4f15cee8e.patch delete mode 100644 community/lbzip2/PKGBUILD (limited to 'community') diff --git a/community/lbzip2/4af4a4a71827c0bc5e0ec67af23edef4f15cee8e.patch b/community/lbzip2/4af4a4a71827c0bc5e0ec67af23edef4f15cee8e.patch deleted file mode 100644 index bfcc13b0..00000000 --- a/community/lbzip2/4af4a4a71827c0bc5e0ec67af23edef4f15cee8e.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/lib/fseterr.c b/lib/fseterr.c -index 82649c3ac..adb637256 100644 ---- a/lib/fseterr.c -+++ b/lib/fseterr.c -@@ -29,7 +29,7 @@ fseterr (FILE *fp) - /* Most systems provide FILE as a struct and the necessary bitmask in - , because they need it for implementing getc() and putc() as - fast macros. */ --#if defined _IO_ftrylockfile || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ -+#if defined _IO_EOF_SEEN || __GNU_LIBRARY__ == 1 /* GNU libc, BeOS, Haiku, Linux libc5 */ - fp->_flags |= _IO_ERR_SEEN; - #elif defined __sferror || defined __DragonFly__ || defined __ANDROID__ - /* FreeBSD, NetBSD, OpenBSD, DragonFly, Mac OS X, Cygwin, Minix 3, Android */ -diff --git a/lib/stdio-impl.h b/lib/stdio-impl.h -index 78d896e9f..05c5752a2 100644 ---- a/lib/stdio-impl.h -+++ b/lib/stdio-impl.h -@@ -18,6 +18,12 @@ - the same implementation of stdio extension API, except that some fields - have different naming conventions, or their access requires some casts. */ - -+/* Glibc 2.28 made _IO_IN_BACKUP private. For now, work around this -+ problem by defining it ourselves. FIXME: Do not rely on glibc -+ internals. */ -+#if !defined _IO_IN_BACKUP && defined _IO_EOF_SEEN -+# define _IO_IN_BACKUP 0x100 -+#endif - - /* BSD stdio derived implementations. */ - diff --git a/community/lbzip2/PKGBUILD b/community/lbzip2/PKGBUILD deleted file mode 100644 index 1bb52877..00000000 --- a/community/lbzip2/PKGBUILD +++ /dev/null @@ -1,14 +0,0 @@ -# hotfix for FS#60455 -source+=('4af4a4a71827c0bc5e0ec67af23edef4f15cee8e.patch') -sha256sums+=('5eca4665b147655ce99f9ae5eff50e7db2714ba957e41e20b50d80533aeb6bef') - -eval "$( - { - declare -f prepare || \ - printf 'prepare() {\n}\n' - } \ - | sed ' - $i cd "${srcdir}"/$pkgname-$pkgver \ - patch -p1 -i ../4af4a4a71827c0bc5e0ec67af23edef4f15cee8e.patch - ' -)" -- cgit v1.2.3-70-g09d2