Blob Blame History Raw
diff -up texmaker-5.1.3/pdfium/core/fxcodec/codec/fx_codec_flate.cpp.zlib texmaker-5.1.3/pdfium/core/fxcodec/codec/fx_codec_flate.cpp
--- texmaker-5.1.3/pdfium/core/fxcodec/codec/fx_codec_flate.cpp.zlib	2022-04-27 11:30:17.000000000 -0600
+++ texmaker-5.1.3/pdfium/core/fxcodec/codec/fx_codec_flate.cpp	2023-04-22 10:44:47.644293219 -0600
@@ -11,7 +11,7 @@
 
 #include "core/fxcodec/fx_codec.h"
 #include "core/fxcrt/fx_ext.h"
-#include "third_party/zlib_v128/zlib.h"
+#include <zlib.h>
 
 extern "C" {
 static void* my_alloc_func(void* opaque,
diff -up texmaker-5.1.3/texmaker.pro.zlib texmaker-5.1.3/texmaker.pro
--- texmaker-5.1.3/texmaker.pro.zlib	2023-04-22 10:37:12.433425040 -0600
+++ texmaker-5.1.3/texmaker.pro	2023-04-22 10:37:12.447425160 -0600
@@ -1,3 +1,5 @@
+PKGCONFIG += freetype2 zlib
+PKGCONFIG += freetype2 zlib
 COMPILEUSB=no
 INTERNALBROWSER=no
 AUTHORIZELINUXQSTYLES=yes
@@ -56,8 +58,7 @@ INCLUDEPATH += \
     pdfium/third_party/ \
     pdfium/third_party/freetype/include \
     pdfium/third_party/freetype/include/freetype \
-    pdfium/fpdfsdk \
-    pdfium/third_party/zlib_v128
+    pdfium/fpdfsdk
 
 ###############################
 
@@ -667,21 +668,6 @@ SOURCES	+= main.cpp \
     pdfium/third_party/libopenjpeg20/t2.c \
     pdfium/third_party/libopenjpeg20/tcd.c \
     pdfium/third_party/libopenjpeg20/tgt.c \
-    pdfium/third_party/zlib_v128/adler32.c \
-    pdfium/third_party/zlib_v128/compress.c \
-    pdfium/third_party/zlib_v128/crc32.c \
-    pdfium/third_party/zlib_v128/deflate.c \
-    pdfium/third_party/zlib_v128/gzclose.c \
-    pdfium/third_party/zlib_v128/gzlib.c \
-    pdfium/third_party/zlib_v128/gzread.c \
-    pdfium/third_party/zlib_v128/gzwrite.c \
-    pdfium/third_party/zlib_v128/infback.c \
-    pdfium/third_party/zlib_v128/inffast.c \
-    pdfium/third_party/zlib_v128/inflate.c \
-    pdfium/third_party/zlib_v128/inftrees.c \
-    pdfium/third_party/zlib_v128/trees.c \
-    pdfium/third_party/zlib_v128/uncompr.c \
-    pdfium/third_party/zlib_v128/zutil.c \
     pdfium/third_party/agg23/agg_curves.cpp \
     pdfium/third_party/agg23/agg_path_storage.cpp \
     pdfium/third_party/agg23/agg_rasterizer_scanline_aa.cpp \