polybar: fix build
This commit is contained in:
parent
f4d6ec498c
commit
3bd3675d66
2 changed files with 29 additions and 0 deletions
|
@ -0,0 +1,27 @@
|
|||
From d35abc7620c8f06618b4708d9a969dfa2f309e96 Mon Sep 17 00:00:00 2001
|
||||
From: patrick96 <p.ziegler96@gmail.com>
|
||||
Date: Wed, 12 Jul 2017 11:22:45 +0200
|
||||
Subject: [PATCH] Remove curlbuild include
|
||||
|
||||
Curl removed that header in 73a2fcea0b4adea6ba342cd7ed1149782c214ae3
|
||||
([1])
|
||||
http.cpp doesn't use anything from that header and compilation works for
|
||||
fine with curl 7.54.1
|
||||
|
||||
Fixes #647
|
||||
Ref:
|
||||
[1]: https://github.com/curl/curl/commit/73a2fcea0b4adea6ba342cd7ed1149782c214ae3
|
||||
---
|
||||
src/utils/http.cpp | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/src/utils/http.cpp b/src/utils/http.cpp
|
||||
index 365dd3be..f6fe6779 100644
|
||||
--- src/utils/http.cpp
|
||||
+++ src/utils/http.cpp
|
||||
@@ -1,5 +1,4 @@
|
||||
#include <curl/curl.h>
|
||||
-#include <curl/curlbuild.h>
|
||||
#include <curl/easy.h>
|
||||
#include <sstream>
|
||||
|
|
@ -40,6 +40,8 @@ desc_option_i3="Enable support for i3"
|
|||
desc_option_mpd="Enable support for MPD"
|
||||
desc_option_network="Enable support for network"
|
||||
|
||||
CXXFLAGS="-Wno-error=deprecated-declarations"
|
||||
|
||||
if [ "$build_option_network" ]; then
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) CXXFLAGS+=" -D_LINUX_IF_ETHER_H" ;;
|
||||
|
|
Loading…
Reference in a new issue