ifstatus: fix build
This commit is contained in:
parent
e96ab62d5d
commit
1985f8ea33
2 changed files with 15 additions and 1 deletions
14
srcpkgs/ifstatus/patches/ifstatus-1.1.0-gcc6.patch
Normal file
14
srcpkgs/ifstatus/patches/ifstatus-1.1.0-gcc6.patch
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
--- 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];
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ifstatus'
|
# Template file for 'ifstatus'
|
||||||
pkgname=ifstatus
|
pkgname=ifstatus
|
||||||
version=1.1.0
|
version=1.1.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=ifstatus
|
wrksrc=ifstatus
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue