diff --git a/srcpkgs/ifstatus/patches/ifstatus-1.1.0-gcc6.patch b/srcpkgs/ifstatus/patches/ifstatus-1.1.0-gcc6.patch new file mode 100644 index 00000000000..760a09fbf2c --- /dev/null +++ b/srcpkgs/ifstatus/patches/ifstatus-1.1.0-gcc6.patch @@ -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]; diff --git a/srcpkgs/ifstatus/template b/srcpkgs/ifstatus/template index a35a6bed80e..4cca59e2339 100644 --- a/srcpkgs/ifstatus/template +++ b/srcpkgs/ifstatus/template @@ -1,7 +1,7 @@ # Template file for 'ifstatus' pkgname=ifstatus version=1.1.0 -revision=1 +revision=2 wrksrc=ifstatus build_style=gnu-makefile patch_args="-Np1"