ifstatus: update to 2.0.0.
This commit is contained in:
parent
7588abc25c
commit
8550a4b312
|
@ -1,10 +0,0 @@
|
|||
--- a/Main.h
|
||||
+++ b/Main.h
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <curses.h>
|
||||
+#include <stdlib.h>
|
||||
|
||||
#include <sys/time.h>
|
||||
#include <sys/types.h>
|
|
@ -1,14 +0,0 @@
|
|||
--- a/Interface.h
|
||||
+++ b/Interface.h
|
||||
@@ -57,7 +57,11 @@
|
||||
|
||||
InterfaceData & operator=(InterfaceData & rInterfaceData);
|
||||
InterfaceData operator-(InterfaceData & rInterfaceData);
|
||||
|
||||
+#if __cplusplus >= 201103L
|
||||
+ InterfaceData & operator=(InterfaceData && rInterfaceData) = default;
|
||||
+ InterfaceData(const InterfaceData&) = default;
|
||||
+#endif
|
||||
private:
|
||||
|
||||
unsigned long long m_ullReceived[eTotalTypes];
|
|
@ -12,10 +12,11 @@
|
|||
BIN = ifstatus
|
||||
OBJ = BorderDecorator.o\
|
||||
@@ -30,7 +28,7 @@
|
||||
all : ifstatus printdone
|
||||
-all : ifstatus printdone
|
||||
+all : ifstatus
|
||||
|
||||
ifstatus : $(OBJ)
|
||||
- $(GCC) $(CFLAGS) $(LDFLAGS) $^ -o $@
|
||||
- $(GCC) $(CFLAGS) $^ -o $@ $(LDFLAGS)
|
||||
+ $(LINK.cc) $^ $(LDLIBS) -o $@
|
||||
|
||||
printdone:
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
# Template file for 'ifstatus'
|
||||
pkgname=ifstatus
|
||||
version=1.1.0
|
||||
revision=3
|
||||
wrksrc=ifstatus
|
||||
version=2.0.0
|
||||
revision=1
|
||||
wrksrc=ifstatus-v${version}
|
||||
build_style=gnu-makefile
|
||||
patch_args="-Np1"
|
||||
hostmakedepends="pkg-config"
|
||||
|
@ -11,8 +11,8 @@ short_desc="Display network traffic on console"
|
|||
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
||||
license="GPL-2"
|
||||
homepage="http://ifstatus.sourceforge.net/graphic/index.html"
|
||||
distfiles="${SOURCEFORGE_SITE}/ifstatus/ifstatus/ifstatus%20v${version}/ifstatus-v${version}.tar.gz"
|
||||
checksum=0ca8a8655a1edf07698efbd5e1d4adc962dbb1bfb078b4899062e89bb05eac10
|
||||
distfiles="http://ifstatus.sourceforge.net/download/ifstatus-v${version}.tar.gz"
|
||||
checksum=7b4a6124b02e41b4fe532a634bbc66e5749145d1963455190c20f5518513c258
|
||||
|
||||
do_install() {
|
||||
vbin ifstatus
|
||||
|
|
Loading…
Reference in a new issue