Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Step:15-SP4
jurand
jurand-cxx20.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jurand-cxx20.patch of Package jurand
diff -auNr jurand-1.3.2-orig/Makefile jurand-1.3.2/Makefile --- jurand-1.3.2-orig/Makefile 2023-12-14 16:27:32.535474016 +0800 +++ jurand-1.3.2/Makefile 2023-12-14 16:28:45.112770530 +0800 @@ -12,6 +12,9 @@ test: test.sh test-compile @./$< +CXXFLAGS += -g -std=gnu++2a -Isrc -Wall -Wextra -Wpedantic -D_GLIBCXX_USE_CXX11_ABI=1 +LDFLAGS += -pthread + $(call Executable_file,jurand): $(call Object_file,jurand.cpp) $(call Executable_file,jurand_test): $(call Object_file,jurand_test.cpp) diff -auNr jurand-1.3.2-orig/src/java_symbols.hpp jurand-1.3.2/src/java_symbols.hpp --- jurand-1.3.2-orig/src/java_symbols.hpp 2023-12-14 16:27:32.535474016 +0800 +++ jurand-1.3.2/src/java_symbols.hpp 2023-12-14 16:30:01.613434431 +0800 @@ -636,14 +636,14 @@ if (not parameters.in_place_) { - auto osyncstream = std::osyncstream(std::cout); + auto oss = std::osyncstream(std::cout); if (not path.empty()) { - osyncstream << path.native() << ":\n"; + oss << path.native() << ":\n"; } - osyncstream.write(content.c_str(), content.size()); + oss.write(content.c_str(), content.size()); } else if (content.size() < original_content.size()) {
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