diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-06 02:07:09 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-06-06 02:07:20 +0200 |
commit | afaf39d3d4bd5037cb4869237639e3490b3ad198 (patch) | |
tree | dc87eb0d67c671e082101d04a53e2ef75faeef59 /package | |
parent | 30eeae75b90510af732cfe072efa74aaaeef1a04 (diff) |
lsof: fix glibc compile error, reported by Martin T.
Diffstat (limited to 'package')
6 files changed, 16 insertions, 55 deletions
diff --git a/package/lsof/Makefile b/package/lsof/Makefile index e28bf6d8c..87a5a6997 100644 --- a/package/lsof/Makefile +++ b/package/lsof/Makefile @@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk PKG_NAME:= lsof PKG_VERSION:= 4.89 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_HASH:= 5d08da7ebe049c9d9a6472d6afb81aa5af54c4733a3f8822cbc22b57867633c9 PKG_DESCR:= list open files PKG_SECTION:= sys/utils diff --git a/package/lsof/patches/patch-lsof_4_84_src_Configure b/package/lsof/patches/patch-lsof_4_84_src_Configure deleted file mode 100644 index b1ca02fef..000000000 --- a/package/lsof/patches/patch-lsof_4_84_src_Configure +++ /dev/null @@ -1,17 +0,0 @@ ---- lsof_4.84.orig/lsof_4.84_src/Configure 2010-07-29 17:59:32.000000000 +0200 -+++ lsof_4.84/lsof_4.84_src/Configure 2011-01-15 23:57:34.000000000 +0100 -@@ -5357,12 +5357,12 @@ then - if test "X$LSOF_RANLIB" != "X" # { - then - echo "" >> ${LSOF_LIB}/$LSOF_LIBMKF -- echo "RANLIB= $LSOF_RANLIB \${LIB}" >> ${LSOF_LIB}/$LSOF_LIBMKF -+ echo "RANLIB?= $LSOF_RANLIB" >> ${LSOF_LIB}/$LSOF_LIBMKF - fi # } - echo "" >> ${LSOF_LIB}/$LSOF_LIBMKF - if test "X$LSOF_CFLAGS_OVERRIDE" = "X" # { - then -- echo "CFLAGS= \${CDEFS} \${INCL} \${DEBUG}" >> ${LSOF_LIB}/$LSOF_LIBMKF -+ echo "CFLAGS?= \${CDEFS} \${INCL} \${DEBUG}" >> ${LSOF_LIB}/$LSOF_LIBMKF - else - echo "override CFLAGS=\${CDEFS} \${INCL} \${DEBUG}" >> ${LSOF_LIB}/$LSOF_LIBMKF - fi # } diff --git a/package/lsof/patches/patch-lsof_4_84_src_dialects_linux_dlsof_h b/package/lsof/patches/patch-lsof_4_84_src_dialects_linux_dlsof_h deleted file mode 100644 index b15a001b1..000000000 --- a/package/lsof/patches/patch-lsof_4_84_src_dialects_linux_dlsof_h +++ /dev/null @@ -1,16 +0,0 @@ ---- lsof_4.84.orig/lsof_4.84_src/dialects/linux/dlsof.h 2010-01-18 20:03:19.000000000 +0100 -+++ lsof_4.84/lsof_4.84_src/dialects/linux/dlsof.h 2011-01-16 00:01:43.000000000 +0100 -@@ -49,13 +49,7 @@ - #include <setjmp.h> - #include <unistd.h> - #include <netinet/in.h> -- --# if defined(GLIBCV) || defined(__UCLIBC__) - #include <netinet/tcp.h> --# else /* !defined(GLIBCV) && !defined(__UCLIBC__) */ --#include <linux/tcp.h> --# endif /* defined(GLIBCV) || defined(__UCLIBC__) */ -- - #include <rpc/rpc.h> - #include <rpc/pmap_prot.h> - diff --git a/package/lsof/patches/patch-lsof_4_84_src_dialects_linux_machine_h b/package/lsof/patches/patch-lsof_4_84_src_dialects_linux_machine_h deleted file mode 100644 index 6066b38d8..000000000 --- a/package/lsof/patches/patch-lsof_4_84_src_dialects_linux_machine_h +++ /dev/null @@ -1,10 +0,0 @@ ---- lsof_4.84.orig/lsof_4.84_src/dialects/linux/machine.h 2010-07-29 18:02:52.000000000 +0200 -+++ lsof_4.84/lsof_4.84_src/dialects/linux/machine.h 2011-01-16 00:01:48.000000000 +0100 -@@ -632,6 +632,6 @@ - * zeromem is a macro that uses bzero or memset. - */ - --#define zeromem(a, l) bzero(a, l) -+#define zeromem(a, l) memset(a, 0, l) - - #endif /* !defined(LSOF_MACHINE_H) */ diff --git a/package/lsof/patches/patch-lsof_4_84_src_lib_Makefile_skel b/package/lsof/patches/patch-lsof_4_84_src_lib_Makefile_skel deleted file mode 100644 index 8cada0635..000000000 --- a/package/lsof/patches/patch-lsof_4_84_src_lib_Makefile_skel +++ /dev/null @@ -1,11 +0,0 @@ ---- lsof_4.84.orig/lsof_4.84_src/lib/Makefile.skel 2001-02-13 03:12:22.000000000 +0100 -+++ lsof_4.84/lsof_4.84_src/lib/Makefile.skel 2011-01-15 23:58:50.000000000 +0100 -@@ -22,7 +22,7 @@ all: ${LIB} - - ${LIB}: ${OBJ} - ${AR} -- ${RANLIB} -+ ${RANLIB} ${LIB} - - clean: FRC - rm -f ${LIB} ${OBJ} errs Makefile.bak a.out core diff --git a/package/lsof/patches/patch-lsof_4_89_src_dialects_linux_dlsof_h b/package/lsof/patches/patch-lsof_4_89_src_dialects_linux_dlsof_h new file mode 100644 index 000000000..52e87b77e --- /dev/null +++ b/package/lsof/patches/patch-lsof_4_89_src_dialects_linux_dlsof_h @@ -0,0 +1,15 @@ +--- lsof_4.89.orig/lsof_4.89_src/dialects/linux/dlsof.h 2015-07-07 21:47:05.000000000 +0200 ++++ lsof_4.89/lsof_4.89_src/dialects/linux/dlsof.h 2017-06-06 02:02:34.512010265 +0200 +@@ -49,12 +49,7 @@ + #include <setjmp.h> + #include <unistd.h> + #include <netinet/in.h> +- +-# if defined(GLIBCV) || defined(__UCLIBC__) || defined(NEEDS_NETINET_TCPH) + #include <netinet/tcp.h> +-# else /* !defined(GLIBCV) && !defined(__UCLIBC__) && !defined(NEEDS_NETINET_TCPH) */ +-#include <linux/tcp.h> +-# endif /* defined(GLIBCV) || defined(__UCLIBC__) || defined(NEEDS_NETINET_TCPH) */ + + # if !defined(HASNORPC_H) + #include <rpc/rpc.h> |