summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVaxry <43317083+vaxerski@users.noreply.github.com>2022-08-22 14:47:17 +0200
committerGitHub <noreply@github.com>2022-08-22 14:47:17 +0200
commit9f5e099cd1e7e065349b02f3239a4ea87b9c9e75 (patch)
treedfee6a99dc026e6522801d2c2e688b5a50737941
parent8b39a1cf9b9781167b6fa2cd60a18b234def5eae (diff)
parente9551731f032677a830eb4ab4ea9bcf30857c494 (diff)
Merge pull request #562 from sp1ritCS/s/ospatches
openSUSE patches
-rw-r--r--hyprctl/main.cpp6
-rw-r--r--meson.build2
2 files changed, 1 insertions, 7 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp
index db8f48a3..820e9fe9 100644
--- a/hyprctl/main.cpp
+++ b/hyprctl/main.cpp
@@ -50,12 +50,6 @@ void request(std::string arg) {
return;
}
- const auto SERVER = gethostbyname("localhost");
-
- if (!SERVER) {
- std::cout << "Couldn't get host (2)";
- return;
- }
// get the instance signature
auto instanceSig = getenv("HYPRLAND_INSTANCE_SIGNATURE");
diff --git a/meson.build b/meson.build
index 94353336..58ef93a6 100644
--- a/meson.build
+++ b/meson.build
@@ -15,7 +15,7 @@ if cpp_compiler.has_argument('-std=c++23')
elif cpp_compiler.has_argument('-std=c++2b')
add_global_arguments('-std=c++2b', language: 'cpp')
else
- error('Could not configure current C++ compiler (' + cpp_compiler.get_id() + ' ' + cpp_compiler.get_version() + ') with required C++ standard (C++23)')
+ error('Could not configure current C++ compiler (' + cpp_compiler.get_id() + ' ' + cpp_compiler.version() + ') with required C++ standard (C++23)')
endif
GIT_BRANCH = run_command('git', 'rev-parse', '--abbrev-ref', 'HEAD', check: false).stdout().strip()