Package: popplerkit.framework / 0.0.20051227svn-12

poppler2206.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Fix build for Poppler 22.06
Author: Nathan Pratta Teodosio <nathan.teodosio@canonical.com>

--- a/bindings/poppler_document.cc	2022-06-15 12:25:10.501074922 -0300
+++ b/bindings/poppler_document.cc	2022-06-15 12:25:15.113136267 -0300
@@ -31,8 +31,7 @@
       return NULL;
    }
    
-   GooString* path_g = new GooString(path);
-   PDFDoc* doc = new PDFDoc(path_g, NULL, NULL);
+   PDFDoc* doc = new PDFDoc(std::make_unique<GooString>(path));
    return doc;
 }