libqxp: pulled patch from libreoffice

This commit is contained in:
Tim Biermann 2023-01-28 15:04:16 +01:00
parent f278caaa42
commit 759fe5534e
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 20 additions and 4 deletions

View File

@ -1,5 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF30Rcbl6MyiLLYDF5Wpxlo46ceLgrlOOW6JmmQ77e5dR5IEWTekrnnMa6OiEWrVRw9CdaDqOEjjzBvLInh/0lOQo=
SHA256 (Pkgfile) = d928e6d2f4e74ba942228e2db2672a7f9a09896dbb7633cc8f298bcbd75e62d1
RWSagIOpLGJF3xmcso50W82+ZIjIEAQGhZbwKLiKys56RvtbESZjwDNCIRbqLRz7qj9tpNuzbk+xwt3F14brA0L32OLxOeb0YQc=
SHA256 (Pkgfile) = 97ad21007b1340528b1f05ee6de84a9b539bf60da04c488bf8416ea0f234e226
SHA256 (.footprint) = 7d4afec9ac0f4d1cbcbc333485cf173f915c5ee53bec70407e153443b2913c08
SHA256 (libqxp-0.0.2.tar.xz) = e137b6b110120a52c98edd02ebdc4095ee08d0d5295a94316a981750095a945c
SHA256 (ax_gcc_func_attribute.m4.patch) = 3b981e8acd7db18985e490d130ac2a032870a7e52a3a458933d8b221366c4e89

View File

@ -5,11 +5,15 @@
name=libqxp
version=0.0.2
release=1
source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz)
release=2
source=(https://dev-www.libreoffice.org/src/$name/$name-$version.tar.xz
ax_gcc_func_attribute.m4.patch)
build() {
cd $name-$version
patch -Np0 -i $SRC/ax_gcc_func_attribute.m4.patch
./configure --prefix=/usr \
--without-docs
make

View File

@ -0,0 +1,11 @@
--- configure
+++ configure
@@ -18136,7 +18136,7 @@
_ACEOF
if ac_fn_cxx_try_link "$LINENO"; then :
- if test -s conftest.err; then :
+ if grep -- -Wattributes conftest.err; then :
ax_cv_have_func_attribute_visibility=no
else
ax_cv_have_func_attribute_visibility=yes