sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (abfe5af2b0d4c0a161039119b7b10df2106757e0)
- From: Pavel Vinogradov <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (abfe5af2b0d4c0a161039119b7b10df2106757e0)
- Date: Thu, 6 Dec 2018 15:51:16 +0000
GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:
graphics-libs/poppler/HISTORY | 5 +++++
graphics-libs/poppler/PRE_BUILD | 4 ++++
graphics-libs/poppler/patches-0.71.0/c_str.patch | 11 +++++++++++
3 files changed, 20 insertions(+)
New commits:
commit abfe5af2b0d4c0a161039119b7b10df2106757e0
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>
graphics-libs/poppler: adapted 0.71.0 GooString to our latest texlive
fixes
diff --git a/graphics-libs/poppler/HISTORY b/graphics-libs/poppler/HISTORY
index d5d89f1..6527b38 100644
--- a/graphics-libs/poppler/HISTORY
+++ b/graphics-libs/poppler/HISTORY
@@ -1,3 +1,8 @@
+2018-12-06 Pavel Vinogradov <public AT sourcemage.org>
+ * PRE_BUILD,, patches-0.71.0/c_str.patch: added patch for 0.71.0 to
+ make GooString class more flexible and work with latest texlive
fixes
+ (kudos to Thomas Orgis for the idea)
+
2018-10-31 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 0.71.0
diff --git a/graphics-libs/poppler/PRE_BUILD b/graphics-libs/poppler/PRE_BUILD
new file mode 100755
index 0000000..167f6bb
--- /dev/null
+++ b/graphics-libs/poppler/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+apply_patch_dir "patches-${VERSION}"
diff --git a/graphics-libs/poppler/patches-0.71.0/c_str.patch
b/graphics-libs/poppler/patches-0.71.0/c_str.patch
new file mode 100644
index 0000000..628ebfe
--- /dev/null
+++ b/graphics-libs/poppler/patches-0.71.0/c_str.patch
@@ -0,0 +1,11 @@
+diff --git a/goo/GooString.h b/goo/GooString.h
+--- a/goo/GooString.h
++++ b/goo/GooString.h
+@@ -129,6 +129,7 @@
+
+ // Get C string.
+ const char *getCString() const { return c_str(); }
++ using std::string::c_str;
+
+ // Get <i>th character.
+ char getChar(int i) const { return (*this)[i]; }
- [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (abfe5af2b0d4c0a161039119b7b10df2106757e0), Pavel Vinogradov, 12/06/2018
Archive powered by MHonArc 2.6.24.