diff --git a/srcpkgs/polybar/patches/d35abc7620c8f06618b4708d9a969dfa2f309e96.patch b/srcpkgs/polybar/patches/d35abc7620c8f06618b4708d9a969dfa2f309e96.patch
deleted file mode 100644
index 6d08b408c34..00000000000
--- a/srcpkgs/polybar/patches/d35abc7620c8f06618b4708d9a969dfa2f309e96.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From d35abc7620c8f06618b4708d9a969dfa2f309e96 Mon Sep 17 00:00:00 2001
-From: patrick96
-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
--#include
- #include
- #include
-
diff --git a/srcpkgs/polybar/template b/srcpkgs/polybar/template
index 695892afafb..66899f5ddb6 100644
--- a/srcpkgs/polybar/template
+++ b/srcpkgs/polybar/template
@@ -1,9 +1,9 @@
# Template file for 'polybar'
pkgname=polybar
-version=3.0.5
-revision=2
-_i3ipcpp_version=0.6.2
-_xpp_version=1.3.6
+version=3.1.0
+revision=1
+_i3ipcpp_version=0.7.0
+_xpp_version=1.4.0
build_style=cmake
configure_args="
-DENABLE_ALSA=$(vopt_if alsa ON OFF)
@@ -27,9 +27,9 @@ distfiles="
https://github.com/jaagr/xpp/archive/${_xpp_version}.tar.gz
$(vopt_if i3 https://github.com/jaagr/i3ipcpp/archive/v${_i3ipcpp_version}.tar.gz)"
checksum="
- 5ce727c240f5fd0aafc5baaa242d3c6583770633b7292cc8152ae3b273baeffe
- b81993893190bf7ba19529e0da6e8b069e13e833f6a62874830b46785bee3349
- $(vopt_if i3 7ad9c0c1e1cb9dfd07ecc2a7769eae9ac962c22db2e07be08b2186b7fd85189d)"
+ cb6f404e1c3e9f0239ecde095c04dcb50a164ce346046f077744b2c53fab7fc4
+ b689d1d66a39a79b9db89e620061e910f9e2a49b9b1c06c58323b926ac61a658
+ $(vopt_if i3 432fb223a52927a32c75cb059ab79d263017918826f941edc9c9166a34832d09)"
build_options="alsa curl i3 mpd network"
build_options_default="$build_options"