diff options
author | Tim Biermann <tbier@posteo.de> | 2022-01-03 14:29:26 +0100 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2022-01-03 14:29:26 +0100 |
commit | d2c8747fdee178eb598e8bd396b9948cb5d394ba (patch) | |
tree | 396fb505004fdc625e64887fd6f55ba91fbdf087 /libwpd | |
parent | 560ac428bea639f478e14c88db26be1245681b16 (diff) | |
download | contrib-d2c8747fdee178eb598e8bd396b9948cb5d394ba.tar.gz contrib-d2c8747fdee178eb598e8bd396b9948cb5d394ba.tar.xz |
libwpd: added patch for gcc 11
Diffstat (limited to 'libwpd')
-rw-r--r-- | libwpd/.signature | 5 | ||||
-rw-r--r-- | libwpd/Pkgfile | 6 | ||||
-rw-r--r-- | libwpd/gcc11.patch | 25 |
3 files changed, 33 insertions, 3 deletions
diff --git a/libwpd/.signature b/libwpd/.signature index c9d919e9b..531811901 100644 --- a/libwpd/.signature +++ b/libwpd/.signature @@ -1,5 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF39P5EoXfTKWPXAjp+S1DGxK5pYOcM3seJaOTHwnocvBNKZ8FKRrWEsZ/N8TKTpvAT5OUGAGYLXuXTOCwPZkBLgc= -SHA256 (Pkgfile) = 933769bd594a84e1c09237aa528827d7eed8d3d7823223b27db1d2c748562be2 +RWSagIOpLGJF36gvZOaQ8VzgKoTeRblbHtU85tMkouznqdkkI7OqgVEtWUGiwWkt+tUXS5CKTDtQntLr3Q1kFKIBUzQGnBEhcAI= +SHA256 (Pkgfile) = 01efaad6072f7870b6c64a6f3eed65859a3412355a0bca1ec31a22044cefeb29 SHA256 (.footprint) = f618b3f2517df0f6b5ea1affa828d4a7491ef95541fa3eb7a6e5c8c60e348952 SHA256 (libwpd-0.10.3.tar.xz) = 2465b0b662fdc5d4e3bebcdc9a79027713fb629ca2bff04a3c9251fdec42dd09 +SHA256 (gcc11.patch) = 7612c36e5e16df2b786fc4c905f096a6e7d600aade292e91950607bfbfba6c32 diff --git a/libwpd/Pkgfile b/libwpd/Pkgfile index 80806857f..908870b84 100644 --- a/libwpd/Pkgfile +++ b/libwpd/Pkgfile @@ -6,10 +6,14 @@ name=libwpd version=0.10.3 release=1 -source=(https://downloads.sourceforge.net/project/libwpd/libwpd/$name-$version/$name-$version.tar.xz) +source=(https://downloads.sourceforge.net/project/libwpd/libwpd/$name-$version/$name-$version.tar.xz + gcc11.patch) build() { cd $name-$version + + patch -Np1 -i $SRC/gcc11.patch + ./configure --prefix=/usr \ --without-docs make diff --git a/libwpd/gcc11.patch b/libwpd/gcc11.patch new file mode 100644 index 000000000..6fcad1ea7 --- /dev/null +++ b/libwpd/gcc11.patch @@ -0,0 +1,25 @@ +diff --git a/src/lib/WPXContentListener.cpp b/src/lib/WPXContentListener.cpp +index ab0f9b1..0b559e6 100644 +--- a/src/lib/WPXContentListener.cpp ++++ b/src/lib/WPXContentListener.cpp +@@ -23,6 +23,7 @@ + * Corel Corporation or Corel Corporation Limited." + */ + ++#include <cstddef> + #include "WPXContentListener.h" + #include "WPXPageSpan.h" + #include "libwpd_internal.h" +diff --git a/src/lib/WPXTable.cpp b/src/lib/WPXTable.cpp +index 0ad202a..3ff35e1 100644 +--- a/src/lib/WPXTable.cpp ++++ b/src/lib/WPXTable.cpp +@@ -25,6 +25,8 @@ + * Corel Corporation or Corel Corporation Limited." + */ + ++#include <cstddef> ++ + #include "WPXTable.h" + + #include "libwpd_internal.h" |