diff options
author | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2022-01-24 13:43:19 +0000 |
---|---|---|
committer | Hironobu Yamashita <h.y.acetaminophen@gmail.com> | 2022-01-24 13:43:19 +0000 |
commit | 9a25c064bb0926efa5de548e92151f1aa6d5e9ae (patch) | |
tree | 30c5ef02c7bace66a51d7a2b9fb0a1946e08af79 | |
parent | 8832e99707958a8c6c03cbc55436029c4d5c835f (diff) |
dvisvgm: support old clang
git-svn-id: svn://tug.org/texlive/trunk@61722 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Build/source/texk/dvisvgm/TLpatches/ChangeLog | 5 | ||||
-rw-r--r-- | Build/source/texk/dvisvgm/TLpatches/patch-11-oldclang | 12 | ||||
-rw-r--r-- | Build/source/texk/dvisvgm/dvisvgm-src/src/PSPattern.cpp | 2 |
3 files changed, 18 insertions, 1 deletions
diff --git a/Build/source/texk/dvisvgm/TLpatches/ChangeLog b/Build/source/texk/dvisvgm/TLpatches/ChangeLog index c64445c335d..fb4d35dfac2 100644 --- a/Build/source/texk/dvisvgm/TLpatches/ChangeLog +++ b/Build/source/texk/dvisvgm/TLpatches/ChangeLog @@ -1,3 +1,8 @@ +2022-01-24 Hironobu Yamashita <h.y.acetaminophen@gmail.com> + + * patch-11-oldclang: new file to support old clang. + https://github.com/mgieseki/dvisvgm/issues/173 + 2021-01-23 TANAKA Takuji <ttk@t-lab.opal.ne.jp> * Import 2.11.1. diff --git a/Build/source/texk/dvisvgm/TLpatches/patch-11-oldclang b/Build/source/texk/dvisvgm/TLpatches/patch-11-oldclang new file mode 100644 index 00000000000..cdb09a972cf --- /dev/null +++ b/Build/source/texk/dvisvgm/TLpatches/patch-11-oldclang @@ -0,0 +1,12 @@ +diff -ur dvisvgm-2.13/src/PSPattern.cpp dvisvgm-src/src/PSPattern.cpp +--- dvisvgm-2.13/src/PSPattern.cpp 2022-01-20 01:52:06.000000000 -0800 ++++ dvisvgm-src/src/PSPattern.cpp 2022-01-24 09:14:30.484086131 -0800 +@@ -108,7 +108,7 @@ + // add all succeeding path elements to this group + auto group = util::make_unique<SVGElement>("g"); + group->setClipPathUrl("pc"+XMLString(psID())); +- return group; ++ return std::move(group); + } + + diff --git a/Build/source/texk/dvisvgm/dvisvgm-src/src/PSPattern.cpp b/Build/source/texk/dvisvgm/dvisvgm-src/src/PSPattern.cpp index 6cebe7844d5..3232c88bbee 100644 --- a/Build/source/texk/dvisvgm/dvisvgm-src/src/PSPattern.cpp +++ b/Build/source/texk/dvisvgm/dvisvgm-src/src/PSPattern.cpp @@ -108,7 +108,7 @@ unique_ptr<XMLElement> PSTilingPattern::createGroupNode () const { // add all succeeding path elements to this group auto group = util::make_unique<SVGElement>("g"); group->setClipPathUrl("pc"+XMLString(psID())); - return group; + return std::move(group); } |