diff options
author | Jelle Raaijmakers <jelle@gmta.nl> | 2022-01-17 18:03:59 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-02-22 23:48:59 +0000 |
commit | 5b593783f393083f3ddcf49a7c2fae2d7fa9ae30 (patch) | |
tree | 2bdc7ae80da34ef60b3756419fff68e6316ddeaf /Ports | |
parent | bed129a69fd1e29808361fba0fa08ed42c8be4d5 (diff) | |
download | serenity-5b593783f393083f3ddcf49a7c2fae2d7fa9ae30.zip |
Ports: Add libmad
Diffstat (limited to 'Ports')
-rw-r--r-- | Ports/AvailablePorts.md | 1 | ||||
-rwxr-xr-x | Ports/libmad/package.sh | 8 | ||||
-rw-r--r-- | Ports/libmad/patches/0001-Remove-fforce-mem-GCC-argument.patch | 26 | ||||
-rw-r--r-- | Ports/libmad/patches/ReadMe.md | 8 |
4 files changed, 43 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index a8e89411bd..f4030b8c78 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -88,6 +88,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^ | [`libicu`](libicu/) | ICU | 69.1 | http://site.icu-project.org/ | | [`libksba`](libksba/) | libksba | 1.5.1 | https://gnupg.org/software/libksba/index.html | | [`libjpeg`](libjpeg/) | libjpeg | 9e | https://ijg.org/ | +| [`libmad`](libmad/) | libmad | 0.15.1b | https://www.underbit.com/products/mad/ | | [`libmodplug`](libmodplug/) | libmodplug | 0.8.8.5 | http://modplug-xmms.sourceforge.net/ | | [`libogg`](libogg/) | libogg | 1.3.5 | https://github.com/xiph/ogg | | [`liboggz`](liboggz/) | liboggz | 1.1.1 | https://www.xiph.org/oggz/ | diff --git a/Ports/libmad/package.sh b/Ports/libmad/package.sh new file mode 100755 index 0000000000..37e940b1ac --- /dev/null +++ b/Ports/libmad/package.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env -S bash ../.port_include.sh +port=libmad +version=0.15.1b +useconfigure=true +use_fresh_config_sub=true +configopts=("--disable-static") +files="https://downloads.sourceforge.net/mad/libmad-${version}.tar.gz libmad-${version}.tar.gz bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690" +auth_type=sha256 diff --git a/Ports/libmad/patches/0001-Remove-fforce-mem-GCC-argument.patch b/Ports/libmad/patches/0001-Remove-fforce-mem-GCC-argument.patch new file mode 100644 index 0000000000..6a66fc1626 --- /dev/null +++ b/Ports/libmad/patches/0001-Remove-fforce-mem-GCC-argument.patch @@ -0,0 +1,26 @@ +From dda7e4b915bfa0d1e93e021c2c9ee050e4390b6e Mon Sep 17 00:00:00 2001 +From: Jelle Raaijmakers <jelle@gmta.nl> +Date: Mon, 17 Jan 2022 17:23:17 +0100 +Subject: [PATCH] Remove `-fforce-mem` GCC argument + +This is no longer supported by GCC. +--- + configure | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure b/configure +index ee421cc..ccb5928 100755 +--- a/configure ++++ b/configure +@@ -19099,7 +19099,7 @@ then + case "$optimize" in + -O|"-O "*) + optimize="-O" +- optimize="$optimize -fforce-mem" ++ #optimize="$optimize -fforce-mem" + optimize="$optimize -fforce-addr" + : #x optimize="$optimize -finline-functions" + : #- optimize="$optimize -fstrength-reduce" +-- +2.32.0 + diff --git a/Ports/libmad/patches/ReadMe.md b/Ports/libmad/patches/ReadMe.md new file mode 100644 index 0000000000..a4fd8f8995 --- /dev/null +++ b/Ports/libmad/patches/ReadMe.md @@ -0,0 +1,8 @@ +# Patches for libmad on SerenityOS + +## `0001-Remove-fforce-mem-GCC-argument.patch` + +Remove `-fforce-mem` GCC argument + +This is no longer supported by GCC. + |