Workaround to unbreak build with Qt 5.15

https://github.com/kapitainsky/RcloneBrowser/issues/125

OK solene@
This commit is contained in:
rsadowski 2021-01-19 06:37:52 +00:00
parent dd719e40f5
commit b552932a64
2 changed files with 19 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2020/11/27 14:19:55 solene Exp $
# $OpenBSD: Makefile,v 1.2 2021/01/19 06:37:52 rsadowski Exp $
COMMENT = file browser for rclone-supported remotes
@ -6,6 +6,7 @@ GH_ACCOUNT = kapitainsky
GH_PROJECT = RcloneBrowser
GH_TAGNAME = 1.8.0
PKGNAME = rclone-browser-${GH_TAGNAME}
REVISION = 0
CATEGORIES = sysutils x11
MAINTAINER = Solene Rapenne <solene@perso.pw>

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-src_CMakeLists_txt,v 1.1 2021/01/19 06:37:52 rsadowski Exp $
Workaround to unbreak build with Qt 5.15
https://github.com/kapitainsky/RcloneBrowser/issues/125
Index: src/CMakeLists.txt
--- src/CMakeLists.txt.orig
+++ src/CMakeLists.txt
@@ -10,7 +10,7 @@ endif()
if(WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4 /WX /wd4100 /wd4189")
else()
- add_definitions("-pedantic -Wall -Wextra -Werror -std=c++11")
+ add_definitions("-pedantic -Wall -Wextra -std=c++11")
endif()
if (APPLE)