From a133bd7a83a0771526829ff1570d90b95a9b0c2b Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Wed, 22 Jul 2015 22:45:12 +0200 Subject: [PATCH] qtox: fix compilation --- srcpkgs/qtox/patches/fixcomp.patch | 28 ++++++++++++++++++++++++++++ srcpkgs/qtox/template | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/qtox/patches/fixcomp.patch diff --git a/srcpkgs/qtox/patches/fixcomp.patch b/srcpkgs/qtox/patches/fixcomp.patch new file mode 100644 index 00000000000..7b3cff94b6b --- /dev/null +++ b/srcpkgs/qtox/patches/fixcomp.patch @@ -0,0 +1,28 @@ +From 31f7ded7687c443b8e4570a9364340aace022dea Mon Sep 17 00:00:00 2001 +From: tux3 +Date: Fri, 5 Jun 2015 03:07:42 +0200 +Subject: [PATCH] Fix #1794 + +--- + src/video/videomode.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git src/video/videomode.h src/video/videomode.h +index ec2ffb9..0cbe52f 100644 +--- src/video/videomode.h ++++ src/video/videomode.h +@@ -8,12 +8,12 @@ struct VideoMode + unsigned short FPS; ///< Max frames per second supported by the device at this resolution + + /// All zeros means a default/unspecified mode +- operator bool() ++ operator bool() const + { + return width || height || FPS; + } + +- bool operator==(const VideoMode& other) ++ bool operator==(const VideoMode& other) const + { + return width == other.width + && height == other.height diff --git a/srcpkgs/qtox/template b/srcpkgs/qtox/template index 60c067b0e00..a69f47aae13 100644 --- a/srcpkgs/qtox/template +++ b/srcpkgs/qtox/template @@ -1,7 +1,7 @@ # Template file for 'qtox' pkgname="qtox" version="1.1" -revision=1 +revision=2 short_desc="QT-based TOX instant messenger client" maintainer="Stefan Mühlinghaus " license="GPL-3"