diff --git a/0000-replace-gethostbyname-getaddrinfo.patch b/0000-replace-gethostbyname-getaddrinfo.patch index b49ba66..ebb3f7b 100644 --- a/0000-replace-gethostbyname-getaddrinfo.patch +++ b/0000-replace-gethostbyname-getaddrinfo.patch @@ -1,5 +1,5 @@ diff --git a/src/modules/hyprland/backend.cpp b/src/modules/hyprland/backend.cpp -index f110825..33212c7 100644 +index 76c071c..33212c7 100644 --- a/src/modules/hyprland/backend.cpp +++ b/src/modules/hyprland/backend.cpp @@ -132,15 +132,20 @@ void IPC::unregisterForIPC(EventHandler* ev_handler) { @@ -17,7 +17,7 @@ index f110825..33212c7 100644 return ""; } - -- const auto SERVER = getaddrinfo("localhost", NULL, NULL, 0); +- const auto SERVER = gethostbyname("localhost"); + + memset(&ai_hints, 0, sizeof(struct addrinfo)); + ai_hints.ai_family = AF_UNSPEC;