From 0f570aa49c724a505c11a42e3234a2ae206b9b59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Sat, 5 Sep 2020 07:04:49 +0200 Subject: [PATCH] pgadmin3: fix build w/ gcc10 --- srcpkgs/pgadmin3/template | 2 ++ 1 file changed, 2 insertions(+) diff --git a/srcpkgs/pgadmin3/template b/srcpkgs/pgadmin3/template index 65d634973de..30c047edf7e 100644 --- a/srcpkgs/pgadmin3/template +++ b/srcpkgs/pgadmin3/template @@ -13,6 +13,8 @@ distfiles="https://ftp.postgresql.org/pub/pgadmin/pgadmin3/v${version}/src/pgadm checksum=9b68b0e3d3f0a261344fb8196825967d1e7acaca1d8cc82c42e12368ca5844ac nocross=yes +CXXFLAGS="-Wno-narrowing" + post_extract() { sed -i 's/wxrc/&-3.0/' pgadmin/ui/embed-xrc sed -i 's,${WX_HOME}/bin/wx-config,&-gtk3,g' configure