File 0001-use-system-pnglite.patch of Package teeworlds

From 8e724f58c324db403ea9db9cab6f500695a91f17 Mon Sep 17 00:00:00 2001
From: derselbst <tom.mbrt@googlemail.com>
Date: Sun, 21 Oct 2018 10:00:58 +0200
Subject: [PATCH] use system pnglite

---
 src/engine/client/graphics.cpp          | 2 +-
 src/engine/client/graphics_threaded.cpp | 2 +-
 src/tools/dilate.cpp                    | 2 +-
 src/tools/tileset_borderadd.cpp         | 2 +-
 src/tools/tileset_borderfix.cpp         | 2 +-
 src/tools/tileset_borderrem.cpp         | 2 +-
 src/tools/tileset_borderset.cpp         | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/engine/client/graphics.cpp b/src/engine/client/graphics.cpp
index 2e8a855dc..97e4fd7c0 100644
--- a/src/engine/client/graphics.cpp
+++ b/src/engine/client/graphics.cpp
@@ -9,7 +9,7 @@
 #include "SDL_opengl.h"
 
 #include <base/system.h>
-#include <engine/external/pnglite/pnglite.h>
+#include <pnglite.h>
 
 #include <engine/shared/config.h>
 #include <engine/graphics.h>
diff --git a/src/engine/client/graphics_threaded.cpp b/src/engine/client/graphics_threaded.cpp
index e34b72595..60246d1d4 100644
--- a/src/engine/client/graphics_threaded.cpp
+++ b/src/engine/client/graphics_threaded.cpp
@@ -6,7 +6,7 @@
 #include <base/tl/threading.h>
 
 #include <base/system.h>
-#include <engine/external/pnglite/pnglite.h>
+#include <pnglite.h>
 
 #include <engine/shared/config.h>
 #include <engine/graphics.h>
diff --git a/src/tools/dilate.cpp b/src/tools/dilate.cpp
index 55094a5b8..42a5b8396 100644
--- a/src/tools/dilate.cpp
+++ b/src/tools/dilate.cpp
@@ -2,7 +2,7 @@
 /* If you are missing that file, acquire a complete release at teeworlds.com.                */
 #include <base/system.h>
 #include <base/math.h>
-#include <engine/external/pnglite/pnglite.h>
+#include <pnglite.h>
 
 typedef struct
 {
diff --git a/src/tools/tileset_borderadd.cpp b/src/tools/tileset_borderadd.cpp
index 25e2fa5e5..88f760aa3 100644
--- a/src/tools/tileset_borderadd.cpp
+++ b/src/tools/tileset_borderadd.cpp
@@ -2,7 +2,7 @@
 /* If you are missing that file, acquire a complete release at teeworlds.com.                */
 #include <base/math.h>
 #include <base/system.h>
-#include <engine/external/pnglite/pnglite.h>
+#include <pnglite.h>
 
 typedef struct
 {
diff --git a/src/tools/tileset_borderfix.cpp b/src/tools/tileset_borderfix.cpp
index 0facb9a3d..ab36292b0 100644
--- a/src/tools/tileset_borderfix.cpp
+++ b/src/tools/tileset_borderfix.cpp
@@ -1,7 +1,7 @@
 /* (c) Magnus Auvinen. See licence.txt in the root of the distribution for more information. */
 /* If you are missing that file, acquire a complete release at teeworlds.com.                */
 #include <base/system.h>
-#include <engine/external/pnglite/pnglite.h>
+#include <pnglite.h>
 
 typedef struct
 {
diff --git a/src/tools/tileset_borderrem.cpp b/src/tools/tileset_borderrem.cpp
index d604ecbd2..8673e41b2 100644
--- a/src/tools/tileset_borderrem.cpp
+++ b/src/tools/tileset_borderrem.cpp
@@ -2,7 +2,7 @@
 /* If you are missing that file, acquire a complete release at teeworlds.com.                */
 #include <base/math.h>
 #include <base/system.h>
-#include <engine/external/pnglite/pnglite.h>
+#include <pnglite.h>
 
 typedef struct
 {
diff --git a/src/tools/tileset_borderset.cpp b/src/tools/tileset_borderset.cpp
index 8b3e29960..c762ee289 100644
--- a/src/tools/tileset_borderset.cpp
+++ b/src/tools/tileset_borderset.cpp
@@ -2,7 +2,7 @@
 /* If you are missing that file, acquire a complete release at teeworlds.com.                */
 #include <base/math.h>
 #include <base/system.h>
-#include <engine/external/pnglite/pnglite.h>
+#include <pnglite.h>
 
 typedef struct
 {
-- 
2.16.4
openSUSE Build Service is sponsored by