1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-01 11:39:22 +00:00

Ports/qoi: Update qoi to version 351450e

This commit is contained in:
EWouters 2023-09-02 00:10:54 +02:00 committed by Jelle Raaijmakers
parent dd01c00cd4
commit 58ab96cc95
3 changed files with 6 additions and 6 deletions

View File

@ -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 |

View File

@ -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'

View File

@ -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: