summaryrefslogtreecommitdiff
path: root/Build/source/libs/teckit/TLPATCHES/patch-04-pragmas
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-02-13 18:43:14 +0000
committerKarl Berry <karl@freefriends.org>2017-02-13 18:43:14 +0000
commit5ef2fb04a27cd5ef7c85fbefec889b2503259290 (patch)
tree5d213e7091d68bc4226e68d6ad83ffc774dfe370 /Build/source/libs/teckit/TLPATCHES/patch-04-pragmas
parentcdedcff919defc8bac478adf4411c495e08ccd25 (diff)
rename foo/foo-PATCHES to foo/TLPATCHES for better completion
git-svn-id: svn://tug.org/texlive/trunk@43212 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/teckit/TLPATCHES/patch-04-pragmas')
-rw-r--r--Build/source/libs/teckit/TLPATCHES/patch-04-pragmas61
1 files changed, 61 insertions, 0 deletions
diff --git a/Build/source/libs/teckit/TLPATCHES/patch-04-pragmas b/Build/source/libs/teckit/TLPATCHES/patch-04-pragmas
new file mode 100644
index 00000000000..171a2aec59f
--- /dev/null
+++ b/Build/source/libs/teckit/TLPATCHES/patch-04-pragmas
@@ -0,0 +1,61 @@
+ Remove the '#pragma's, they seem to cause problems for MSVC
+ and are certainly not needed otherwise.
+
+diff -ur teckit-2.5.6.orig/source/Engine.cpp teckit-2.5.6/source/Engine.cpp
+--- teckit-2.5.6.orig/source/Engine.cpp Tue May 31 05:37:08 2016
++++ teckit-2.5.6/source/Engine.cpp Fri Dec 30 18:18:57 2016
+@@ -102,10 +96,6 @@
+ #endif
+ }
+
+-#ifndef __GNUC__
+-#pragma mark --- class Stage ---
+-#endif
+-
+ Stage::Stage()
+ : oBuffer(0)
+ , oBufSize(0)
+@@ -127,10 +117,6 @@
+ return 0;
+ }
+
+-#ifndef __GNUC__
+-#pragma mark --- class Normalizer ---
+-#endif
+-
+ #include "NormalizationData.c"
+
+ Normalizer::Normalizer(bool compose)
+@@ -400,10 +386,6 @@
+ return c;
+ }
+
+-#ifndef __GNUC__
+-#pragma mark --- class Pass ---
+-#endif
+-
+ Pass::Pass(const TableHeader* inTable, Converter* cnv)
+ : converter(cnv)
+ , tableHeader(inTable)
+@@ -1288,10 +1270,6 @@
+ return 0;
+ }
+
+-#ifndef __GNUC__
+-#pragma mark --- class Converter ---
+-#endif
+-
+ Converter::Converter(const Byte* inTable, UInt32 inTableSize, bool inForward,
+ UInt16 inForm, UInt16 outForm)
+ : table(0)
+@@ -1942,10 +1920,6 @@
+ return true;
+ }
+
+-#ifndef __GNUC__
+-#pragma mark --- Public "C" API functions ---
+-#endif
+-
+ TECkit_Status
+ WINAPI
+ TECkit_CreateConverter(