aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/libpng/abuild
diff options
context:
space:
mode:
authoremmett1 <emmett1.2miligrams@protonmail.com>2025-02-16 23:49:00 +0800
committeremmett1 <emmett1.2miligrams@protonmail.com>2025-02-16 23:49:00 +0800
commit3340df503b77de75f9f197818c911a7ba9f13049 (patch)
treec61b32b32b245fa4c580fe8a89fdea38dfc09b27 /repos/extra/libpng/abuild
parentfff24af8ba070d1dbb5b6d14b43d470d782ca489 (diff)
downloadalicelinux-3340df503b77de75f9f197818c911a7ba9f13049.tar.gz
alicelinux-3340df503b77de75f9f197818c911a7ba9f13049.zip
libpng: updated to 1.6.46
Diffstat (limited to 'repos/extra/libpng/abuild')
-rw-r--r--repos/extra/libpng/abuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/repos/extra/libpng/abuild b/repos/extra/libpng/abuild
index 415b1817..7e56ab30 100644
--- a/repos/extra/libpng/abuild
+++ b/repos/extra/libpng/abuild
@@ -1,4 +1,9 @@
name=libpng
version=1.6.46
-release=1
-source="https://downloads.sourceforge.net/$name/$name-$version.tar.xz"
+release=2
+source="https://downloads.sourceforge.net/$name/$name-$version.tar.xz
+ https://downloads.sourceforge.net/sourceforge/libpng-apng/libpng-$version-apng.patch.gz"
+
+prebuild() {
+ gzip -cd ../libpng-$version-apng.patch.gz | patch -p1
+}