diff --git a/libqxp/.signature b/libqxp/.signature index 990191b21..74a8793db 100644 --- a/libqxp/.signature +++ b/libqxp/.signature @@ -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 diff --git a/libqxp/Pkgfile b/libqxp/Pkgfile index e39c04146..28ab2aadb 100644 --- a/libqxp/Pkgfile +++ b/libqxp/Pkgfile @@ -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 diff --git a/libqxp/ax_gcc_func_attribute.m4.patch b/libqxp/ax_gcc_func_attribute.m4.patch new file mode 100644 index 000000000..8f7457816 --- /dev/null +++ b/libqxp/ax_gcc_func_attribute.m4.patch @@ -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