From 58ab96cc950610059a31ddce572f4c88c49bd656 Mon Sep 17 00:00:00 2001 From: EWouters <6179932+EWouters@users.noreply.github.com> Date: Sat, 2 Sep 2023 00:10:54 +0200 Subject: [PATCH] Ports/qoi: Update qoi to version 351450e --- Ports/AvailablePorts.md | 2 +- Ports/qoi/package.sh | 4 ++-- Ports/qoi/patches/0001-Use-LibMath-frexp-function.patch | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index b6239df497..4883d2fdef 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -263,7 +263,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n | [`pv`](pv/) | Pipe Viewer | 1.6.20 | http://www.ivarch.com/programs/pv.shtml | | [`python3`](python3/) | Python | 3.12.0 | https://www.python.org/ | | [`qemu`](qemu/) | QEMU | 8.1.0 | https://qemu.org | -| [`qoi`](qoi/) | Quite OK Image Format for fast, lossless image compression | edb8d7b | https://github.com/phoboslab/qoi | +| [`qoi`](qoi/) | Quite OK Image Format for fast, lossless image compression | 351450e | https://github.com/phoboslab/qoi | | [`qt6-qt5compat`](qt6-qt5compat/) | Qt6 Qt5Compat | 6.4.0 | https://doc.qt.io/qt-6/qtcore5-index.html | | [`qt6-qtbase`](qt6-qtbase/) | Qt6 QtBase | 6.4.0 | https://qt.io | | [`qt6-qtsvg`](qt6-qtsvg/) | Qt6 QtSVG | 6.4.0 | https://qt.io | diff --git a/Ports/qoi/package.sh b/Ports/qoi/package.sh index a2c1ec5e27..fc5f338dab 100755 --- a/Ports/qoi/package.sh +++ b/Ports/qoi/package.sh @@ -1,8 +1,8 @@ #!/usr/bin/env -S bash ../.port_include.sh port='qoi' -version='edb8d7b1140be3168cc99ed87edc605c7c1cf31f' +version='351450e00d6d7b062ab028110b72b317a98e03ea' files=( - "https://github.com/phoboslab/qoi/archive/${version}.zip#3d3df95fb0b59aca2113ce45396f887eaba1be914cd54b56804efc241f93f203" + "https://github.com/phoboslab/qoi/archive/${version}.zip#245c0262d64ed49fd3c9f05313d85912b9fcda1095bd492242f4f8130b02c192" ) depends=( 'libpng' diff --git a/Ports/qoi/patches/0001-Use-LibMath-frexp-function.patch b/Ports/qoi/patches/0001-Use-LibMath-frexp-function.patch index 5eafea5ec8..5433090a6e 100644 --- a/Ports/qoi/patches/0001-Use-LibMath-frexp-function.patch +++ b/Ports/qoi/patches/0001-Use-LibMath-frexp-function.patch @@ -8,7 +8,7 @@ Subject: [PATCH] Use LibMath frexp function 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile -index 4d21d41..1096a88 100644 +index 4dc4f9a3b57b19582576cf3bf69f7ef6004b1c2c..ae10548430b7c3f6140c36631cc41f0200a71a95 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ @@ -23,8 +23,8 @@ index 4d21d41..1096a88 100644 conv: $(TARGET_CONV) $(TARGET_CONV):$(TARGET_CONV).c -- $(CC) $(CFLAGS_CONV) $(TARGET_CONV).c -o $(TARGET_CONV) -+ $(CC) $(CFLAGS_CONV) $(TARGET_CONV).c -o $(TARGET_CONV) -lm +- $(CC) $(CFLAGS_CONV) $(CFLAGS) $(TARGET_CONV).c -o $(TARGET_CONV) ++ $(CC) $(CFLAGS_CONV) $(CFLAGS) $(TARGET_CONV).c -o $(TARGET_CONV) -lm .PHONY: clean clean: