Move all to deprecated folder.
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
downloaded from
|
||||
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-misc/empty/files/empty-respect-LDFLAGS.patch?view=markup
|
||||
|
||||
Reported on the Gentoo bug tracker
|
||||
https://bugs.gentoo.org/show_bug.cgi?id=429664
|
||||
|
||||
and reported upstream
|
||||
https://sourceforge.net/tracker/?func=detail&aid=3554236&group_id=136798&atid=736886
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
|
||||
|
||||
--- empty-0.6.18b/Makefile
|
||||
+++ empty-0.6.18b/Makefile
|
||||
@@ -16,7 +16,7 @@
|
||||
PREFIX = /usr/local
|
||||
|
||||
all:
|
||||
- ${CC} ${CFLAGS} -Wall ${LIBS} -o empty empty.c
|
||||
+ ${CC} ${CFLAGS} ${LDFLAGS} empty.c ${LIBS} -o empty
|
||||
|
||||
FreeBSD: all
|
||||
NetBSD: all
|
||||
@@ -0,0 +1,49 @@
|
||||
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;
|
||||
|
||||
7
deprecated/firmware/buildroot/package/empty/Config.in
Normal file
7
deprecated/firmware/buildroot/package/empty/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_EMPTY
|
||||
bool "empty"
|
||||
depends on BR2_USE_MMU # uses fork()
|
||||
help
|
||||
Run processes and applications under pseudo-terminal (PTY) sessions.
|
||||
|
||||
http://empty.sourceforge.net/
|
||||
2
deprecated/firmware/buildroot/package/empty/empty.hash
Normal file
2
deprecated/firmware/buildroot/package/empty/empty.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed:
|
||||
sha256 05b7cb361ef815774abda325c09c573f8c9039ccbb71eedc743439e4637c314a empty-0.6.19b.tgz
|
||||
21
deprecated/firmware/buildroot/package/empty/empty.mk
Normal file
21
deprecated/firmware/buildroot/package/empty/empty.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
################################################################################
|
||||
#
|
||||
# empty
|
||||
#
|
||||
################################################################################
|
||||
|
||||
EMPTY_VERSION = 0.6.19b
|
||||
EMPTY_SOURCE = empty-$(EMPTY_VERSION).tgz
|
||||
EMPTY_SITE = http://downloads.sourceforge.net/project/empty/empty/empty-$(EMPTY_VERSION)
|
||||
EMPTY_LICENSE = BSD-3c
|
||||
EMPTY_LICENSE_FILES = COPYRIGHT
|
||||
|
||||
define EMPTY_BUILD_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
|
||||
endef
|
||||
|
||||
define EMPTY_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 -D $(@D)/empty $(TARGET_DIR)/usr/bin/empty
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user