From e5639bd47aa23448914cd418e66eef8a693f6d3a Mon Sep 17 00:00:00 2001 From: Luigi Scarso <luigi.scarso@gmail.com> Date: Mon, 15 Jan 2018 14:12:35 +0000 Subject: [PATCH] delete missed files --- .../libs/poppler/TLpatches/patch-02-LLONG_MAX | 51 ------------------- .../TLpatches/patch-03-Object-functions | 33 ------------ 2 files changed, 84 deletions(-) delete mode 100644 source/libs/poppler/TLpatches/patch-02-LLONG_MAX delete mode 100644 source/libs/poppler/TLpatches/patch-03-Object-functions diff --git a/source/libs/poppler/TLpatches/patch-02-LLONG_MAX b/source/libs/poppler/TLpatches/patch-02-LLONG_MAX deleted file mode 100644 index 494f6efd2..000000000 --- a/source/libs/poppler/TLpatches/patch-02-LLONG_MAX +++ /dev/null @@ -1,51 +0,0 @@ ---- ../poppler/Lexer.cc.orig 2018-01-06 19:38:38.565366141 +0100 -+++ ../poppler/Lexer.cc 2018-01-06 19:39:04.945365059 +0100 -@@ -39,6 +39,21 @@ - #include "Error.h" - #include "XRef.h" - -+ -+/* <limits.h> and/or the compiler may or may not define these. */ -+/* Minimum and maximum values a `signed long long int' can hold. */ -+#ifndef LLONG_MAX -+# define LLONG_MAX 9223372036854775807LL -+#endif -+#ifndef LLONG_MIN -+# define LLONG_MIN (-LLONG_MAX - 1LL) -+#endif -+ -+/* Maximum value an `unsigned long long int' can hold. (Minimum is 0.) */ -+#ifndef ULLONG_MAX -+# define ULLONG_MAX 18446744073709551615ULL -+#endif -+ - //------------------------------------------------------------------------ - - // A '1' in this array means the character is white space. A '1' or - - ---- ../poppler/PDFDoc.cc.orig 2018-01-06 19:39:54.521363026 +0100 -+++ ../poppler/PDFDoc.cc 2018-01-06 19:40:38.417361226 +0100 -@@ -85,6 +85,20 @@ - #include "Hints.h" - #include "UTF.h" - -+/* <limits.h> and/or the compiler may or may not define these. */ -+/* Minimum and maximum values a `signed long long int' can hold. */ -+#ifndef LLONG_MAX -+# define LLONG_MAX 9223372036854775807LL -+#endif -+#ifndef LLONG_MIN -+# define LLONG_MIN (-LLONG_MAX - 1LL) -+#endif -+ -+/* Maximum value an `unsigned long long int' can hold. (Minimum is 0.) */ -+#ifndef ULLONG_MAX -+# define ULLONG_MAX 18446744073709551615ULL -+#endif -+ - #ifdef MULTITHREADED - # define pdfdocLocker() MutexLocker locker(&mutex) - #else - - diff --git a/source/libs/poppler/TLpatches/patch-03-Object-functions b/source/libs/poppler/TLpatches/patch-03-Object-functions deleted file mode 100644 index 30db6b2aa..000000000 --- a/source/libs/poppler/TLpatches/patch-03-Object-functions +++ /dev/null @@ -1,33 +0,0 @@ ---- ../poppler/Object.h.orig 2018-01-06 19:45:02.045350416 +0100 -+++ ../poppler/Object.h 2018-01-06 20:00:59.721311143 +0100 -@@ -208,7 +208,7 @@ - GBool isName(const char *nameA) const - { return type == objName && !strcmp(cString, nameA); } - GBool isDict(const char *dictType) const; -- GBool isStream(char *dictType) const; -+ GBool isStream(const char *dictType) const; - GBool isCmd(const char *cmdA) const - { return type == objCmd && !strcmp(cString, cmdA); } - -@@ -265,7 +265,7 @@ - Object dictGetValNF(int i) const; - - // Stream accessors. -- GBool streamIs(char *dictType) const; -+ GBool streamIs(const char *dictType) const; - void streamReset(); - void streamClose(); - int streamGetChar() const; -@@ -380,10 +380,10 @@ - - #include "Stream.h" - --inline GBool Object::streamIs(char *dictType) const -+inline GBool Object::streamIs(const char *dictType) const - { OBJECT_TYPE_CHECK(objStream); return stream->getDict()->is(dictType); } - --inline GBool Object::isStream(char *dictType) const -+inline GBool Object::isStream(const char *dictType) const - { return type == objStream && streamIs(dictType); } - - inline void Object::streamReset() -- GitLab