pgadmin3: fix build w/ gcc10

This commit is contained in:
Jürgen Buchmüller 2020-09-05 07:04:49 +02:00
parent fade73d433
commit 0f570aa49c

View file

@ -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