diff options
author | Matteo Bernardini | 2024-05-11 13:40:22 +0200 |
---|---|---|
committer | Matteo Bernardini | 2024-05-11 13:40:22 +0200 |
commit | 7155627008b9a093d536061c0cbec66d9a787d2f (patch) | |
tree | b2e1a37c269194b861fb2ed26a374bdb13e1653e /development/gambas3 | |
parent | 33c431dfd09850b2df92cafff4f12c11f06079f3 (diff) | |
download | slackbuilds-current.tar.gz |
20240511.1 global branch merge.current-20240511.1current
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/gambas3')
-rw-r--r-- | development/gambas3/gambas-3.19.0-poppler-24.02.0.patch | 13 | ||||
-rw-r--r-- | development/gambas3/gambas3.SlackBuild | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/development/gambas3/gambas-3.19.0-poppler-24.02.0.patch b/development/gambas3/gambas-3.19.0-poppler-24.02.0.patch new file mode 100644 index 0000000000..d97e579696 --- /dev/null +++ b/development/gambas3/gambas-3.19.0-poppler-24.02.0.patch @@ -0,0 +1,13 @@ +diff -Naur gambas-3.19.0.orig/gb.pdf/src/CPdfDocument.cpp gambas-3.19.0/gb.pdf/src/CPdfDocument.cpp +--- gambas-3.19.0.orig/gb.pdf/src/CPdfDocument.cpp 2024-02-16 00:33:51.000000000 +0100 ++++ gambas-3.19.0/gb.pdf/src/CPdfDocument.cpp 2024-02-17 12:14:47.937408267 +0100 +@@ -776,7 +776,8 @@ + BEGIN_PROPERTY(PDFINDEX_title) + + OutlineItem *item = CPDF_index_get(THIS->currindex); +- return_unicode_string(item->getTitle(), item->getTitleLength()); ++ const std::vector<Unicode> &title = item->getTitle(); ++ return_unicode_string(title.data(), title.size()); + + END_PROPERTY + diff --git a/development/gambas3/gambas3.SlackBuild b/development/gambas3/gambas3.SlackBuild index 5073e7b417..9b1548e7fb 100644 --- a/development/gambas3/gambas3.SlackBuild +++ b/development/gambas3/gambas3.SlackBuild @@ -82,6 +82,8 @@ tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 cd $SRCNAM-$VERSION chown -R root:root . +patch -p1 < $CWD/gambas-3.19.0-poppler-24.02.0.patch + ./reconf-all CFLAGS="$SLKCFLAGS" \ |