alpine-repo/sakamoto/qoi/use-system-stb.patch

48 lines
1.1 KiB
Diff

From 88e17506846234f1d50c85ea20f9db1cd11b9c64 Mon Sep 17 00:00:00 2001
From: knuxify <knuxify@gmail.com>
Date: Mon, 4 Apr 2022 17:27:14 +0200
Subject: [PATCH] use system stb
---
qoibench.c | 4 ++--
qoiconv.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/qoibench.c b/qoibench.c
index cca8c14..53fe73f 100644
--- a/qoibench.c
+++ b/qoibench.c
@@ -38,10 +38,10 @@ SOFTWARE.
#define STB_IMAGE_IMPLEMENTATION
#define STBI_ONLY_PNG
#define STBI_NO_LINEAR
-#include "stb_image.h"
+#include <stb/stb_image.h>
#define STB_IMAGE_WRITE_IMPLEMENTATION
-#include "stb_image_write.h"
+#include <stb/stb_image_write.h>
#define QOI_IMPLEMENTATION
#include "qoi.h"
diff --git a/qoiconv.c b/qoiconv.c
index 79aa75c..33c4e6f 100644
--- a/qoiconv.c
+++ b/qoiconv.c
@@ -35,10 +35,10 @@ SOFTWARE.
#define STB_IMAGE_IMPLEMENTATION
#define STBI_ONLY_PNG
#define STBI_NO_LINEAR
-#include "stb_image.h"
+#include <stb/stb_image.h>
#define STB_IMAGE_WRITE_IMPLEMENTATION
-#include "stb_image_write.h"
+#include <stb/stb_image_write.h>
#define QOI_IMPLEMENTATION
#include "qoi.h"
--
2.35.1