summaryrefslogtreecommitdiff
path: root/emulators/ppsspp/files/patch-system-libpng16
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/ppsspp/files/patch-system-libpng16')
-rw-r--r--emulators/ppsspp/files/patch-system-libpng1662
1 files changed, 0 insertions, 62 deletions
diff --git a/emulators/ppsspp/files/patch-system-libpng16 b/emulators/ppsspp/files/patch-system-libpng16
deleted file mode 100644
index ea5f2b052150..000000000000
--- a/emulators/ppsspp/files/patch-system-libpng16
+++ /dev/null
@@ -1,62 +0,0 @@
-Make build glue accept libpng 1.6.x and don't hardcode suffix
-
---- CMakeLists.txt.orig 2018-10-27 18:56:20 UTC
-+++ CMakeLists.txt
-@@ -663,9 +663,10 @@ else()
- set(LIBZIP_LIBRARY libzip)
- endif()
-
--# FindPNG does a few things we don't want. So do it ourselves. Fixed to libpng17
--find_path(PNG_PNG_INCLUDE_DIR NAMES "libpng17/png.h")
--find_library(PNG_LIBRARY NAMES png17 libpng17)
-+find_package(PkgConfig)
-+pkg_check_modules(PNG libpng>=1.6)
-+set(PNG_LIBRARY ${PNG_LIBRARIES})
-+set(PNG_PNG_INCLUDE_DIR ${PNG_INCLUDE_DIRS})
- find_package(PackageHandleStandardArgs)
- find_package_handle_standard_args(PNG REQUIRED_VARS PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
- if (PNG_FOUND)
---- Core/Debugger/WebSocket/GPUBufferSubscriber.cpp.orig 2018-10-27 09:29:42 UTC
-+++ Core/Debugger/WebSocket/GPUBufferSubscriber.cpp
-@@ -17,7 +17,7 @@
-
- #include <algorithm>
- #ifndef USING_QT_UI
--#include <libpng17/png.h>
-+#include "png.h"
- #include <zlib.h>
- #endif
- #include "data/base64.h"
---- Core/Screenshot.cpp.orig 2018-10-27 09:29:42 UTC
-+++ Core/Screenshot.cpp
-@@ -21,7 +21,7 @@
- #ifdef USING_QT_UI
- #include <QtGui/QImage>
- #else
--#include <libpng17/png.h>
-+#include "png.h"
- #include "ext/jpge/jpge.h"
- #endif
-
---- Core/TextureReplacer.cpp.orig 2018-10-27 09:29:42 UTC
-+++ Core/TextureReplacer.cpp
-@@ -18,7 +18,7 @@
- #ifdef USING_QT_UI
- #include <QtGui/QImage>
- #else
--#include <libpng17/png.h>
-+#include "png.h"
- #endif
-
- #include <algorithm>
---- ext/native/image/png_load.cpp.orig 2018-10-27 09:29:42 UTC
-+++ ext/native/image/png_load.cpp
-@@ -5,7 +5,7 @@
- #ifdef USING_QT_UI
- #include <QtGui/QImage>
- #else
--#include "libpng17/png.h"
-+#include "png.h"
- #endif
-
- #include "png_load.h"