empty: bump to version 0.6.20b

Drop upstream patch.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017.05.x
Baruch Siach 2017-05-03 15:01:03 +03:00 committed by Peter Korsgaard
parent 077ee247af
commit 920c7f4706
3 changed files with 2 additions and 51 deletions

View File

@ -1,49 +0,0 @@
empty uses SysV semaphores, so the ifdef is wrong here.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
--- empty-0.6.19b.orig/empty.c 2012-09-19 13:24:05.000000000 +0200
+++ empty-0.6.19b/empty.c 2015-07-09 02:00:09.000000000 +0200
@@ -179,25 +179,23 @@ int main (int argc, char *argv[]) {
2 - unknown */
/* semaphores */
-#ifdef _POSIX_SEMAPHORES
- #if defined(__linux__) && defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
- /* union semun is defined by including <sys/sem.h> */
- #else
- union semun {
- int val;
- struct semid_ds *buf;
- #ifdef __SVR4
- ushort_t *array;
- #endif
- #ifdef __hpux__
- ushort *array;
- #endif
- #ifdef __linux__
- unsigned short *array;
- struct seminfo *__buf; /* buffer for IPC_INFO */
- #endif
- };
- #endif
+#if defined(__linux__) && defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
+ /* union semun is defined by including <sys/sem.h> */
+#else
+ union semun {
+ int val;
+ struct semid_ds *buf;
+ #ifdef __SVR4
+ ushort_t *array;
+ #endif
+ #ifdef __hpux__
+ ushort *array;
+ #endif
+ #ifdef __linux__
+ unsigned short *array;
+ struct seminfo *__buf; /* buffer for IPC_INFO */
+ #endif
+ };
#endif
union semun semu;

View File

@ -1,2 +1,2 @@
# Locally computed:
sha256 05b7cb361ef815774abda325c09c573f8c9039ccbb71eedc743439e4637c314a empty-0.6.19b.tgz
sha256 7e6636e400856984c4405ce7bd0843aaa3329fa3efd20c58df8400a9eaa35f09 empty-0.6.20b.tgz

View File

@ -4,7 +4,7 @@
#
################################################################################
EMPTY_VERSION = 0.6.19b
EMPTY_VERSION = 0.6.20b
EMPTY_SOURCE = empty-$(EMPTY_VERSION).tgz
EMPTY_SITE = http://downloads.sourceforge.net/project/empty/empty/empty-$(EMPTY_VERSION)
EMPTY_LICENSE = BSD-3-Clause