Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Slowroll:Base:1
polybar
cmake.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cmake.patch of Package polybar
diff -rub polybar-3.7.0-orig/cmake/cxx.cmake polybar-3.7.0/cmake/cxx.cmake --- polybar-3.7.0-orig/cmake/cxx.cmake 2023-11-08 13:23:09.843705771 +0100 +++ polybar-3.7.0/cmake/cxx.cmake 2023-11-08 13:23:30.339494620 +0100 @@ -23,7 +23,7 @@ set(POLYBAR_FLAGS "" CACHE STRING "C++ compiler flags used for compiling polybar") -list(APPEND cxx_base -Wall -Wextra -Wpedantic -Wdeprecated-copy-dtor) +list(APPEND cxx_base -Wall -Wextra -Wpedantic -Wduplicated-cond) list(APPEND cxx_debug -DDEBUG -g2 -Og) list(APPEND cxx_minsizerel "") list(APPEND cxx_sanitize ${cxx_debug} -O0 -fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer -fno-optimize-sibling-calls) diff -rub polybar-3.7.0-orig/CMakeLists.txt polybar-3.7.0/CMakeLists.txt --- polybar-3.7.0-orig/CMakeLists.txt 2023-11-08 13:23:09.831705895 +0100 +++ polybar-3.7.0/CMakeLists.txt 2023-11-08 13:24:22.538956833 +0100 @@ -4,6 +4,13 @@ cmake_minimum_required(VERSION 3.5.0 FATAL_ERROR) project(polybar CXX) +# For openSUSE 15.4 and 15.5 +set(CMAKE_THREAD_LIBS_INIT "-lpthread") +set(CMAKE_HAVE_THREADS_LIBRARY 1) +set(CMAKE_USE_WIN32_THREADS_INIT 0) +set(CMAKE_USE_PTHREADS_INIT 1) +set(THREADS_PREFER_PTHREAD_FLAG ON) + # Extract version information from version.txt. The first line that looks like # a version string is used, so the file supports comments file(STRINGS version.txt version_txt REGEX "^[0-9]+\\.[0-9]+\\.[0-9]+.*$" LIMIT_COUNT 1)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor