From 7ba18fc1e6b5517d4be74fbcbbd83bc8260d54ba Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Mon, 12 Dec 2022 16:57:44 +0100 Subject: [PATCH] libmpc: add missing include --- srcpkgs/libmpc/patches/missing-include.patch | 10 ++++++++++ srcpkgs/libmpc/template | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/libmpc/patches/missing-include.patch diff --git a/srcpkgs/libmpc/patches/missing-include.patch b/srcpkgs/libmpc/patches/missing-include.patch new file mode 100644 index 00000000000..fd540809a04 --- /dev/null +++ b/srcpkgs/libmpc/patches/missing-include.patch @@ -0,0 +1,10 @@ +--- a/src/mpc.h ++++ b/src/mpc.h +@@ -22,6 +22,7 @@ along with this program. If not, see http://www.gnu.org/licenses/ . + #define __MPC_H + + #include ++#include + #include "gmp.h" + #include "mpfr.h" + diff --git a/srcpkgs/libmpc/template b/srcpkgs/libmpc/template index 15e73019a75..8af608c5b2f 100644 --- a/srcpkgs/libmpc/template +++ b/srcpkgs/libmpc/template @@ -1,7 +1,7 @@ # Template file for 'libmpc' pkgname=libmpc version=1.3.0 -revision=1 +revision=2 bootstrap=yes build_style=gnu-configure makedepends="gmp-devel mpfr-devel"