From ad765d7a815ec6e20842480251da49c31c563981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98rjan=20Malde?= Date: Mon, 26 Jun 2023 21:31:58 +0200 Subject: groups.d/251.native_packages_lib.group: libflac: bump to v1.4.3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ørjan Malde --- groups.d/251.native_packages_lib.group | 6 +++--- patches/libflac-1.4.3_pre.local.patch | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 patches/libflac-1.4.3_pre.local.patch diff --git a/groups.d/251.native_packages_lib.group b/groups.d/251.native_packages_lib.group index 22764f20..d28535a3 100644 --- a/groups.d/251.native_packages_lib.group +++ b/groups.d/251.native_packages_lib.group @@ -134,10 +134,10 @@ sdl1_image sdl1_ttf sdl2 sdl2_image sdl2_ttf sdl2_net twolame wolfssl"; : ${PKG_LIBFIRM_CONFIGURE:=bfirm/configure}; : ${PKG_LIBFIRM_CONFIGURE_ARGS:="--source-dir=../../libfirm --prefix="}; : ${PKG_LIBFLAC_DEPENDS:="libogg libiconv"}; -: ${PKG_LIBFLAC_SHA256SUM:=e322d58a1f48d23d9dd38f432672865f6f79e73a6f9cc5a5f57fcaa83eb5a8e4}; -: ${PKG_LIBFLAC_VERSION:=1.4.2}; +: ${PKG_LIBFLAC_SHA256SUM:=6c58e69cd22348f441b861092b825e591d0b822e106de6eb0ee4d05d27205b70}; +: ${PKG_LIBFLAC_VERSION:=1.4.3}; : ${PKG_LIBFLAC_URL:=https://ftp.osuosl.org/pub/xiph/releases/flac/flac-${PKG_LIBFLAC_VERSION}.tar.xz}; -: ${PKG_LIBFLAC_CONFIGURE_ARGS_EXTRA:="--with-ogg=yes --disable-xmms-plugin --disable-stack-smash-protection"}; +: ${PKG_LIBFLAC_CONFIGURE_ARGS_EXTRA:="--with-ogg=yes --disable-stack-smash-protection"}; : ${PKG_LIBGLOB_URLS_GIT:=libglob=https://github.com/void-linux/libglob.git@master}; : ${PKG_LIBGLOB_BUILD_DIR:=libglob}; : ${PKG_LIBGCRYPT_DEPENDS:="libgpg_error"}; diff --git a/patches/libflac-1.4.3_pre.local.patch b/patches/libflac-1.4.3_pre.local.patch new file mode 100644 index 00000000..b0aee98f --- /dev/null +++ b/patches/libflac-1.4.3_pre.local.patch @@ -0,0 +1,17 @@ +diff -ru flac-1.4.3.orig/configure flac-1.4.3/configure +--- flac-1.4.3.orig/configure 2023-06-22 10:50:43.581743622 +0200 ++++ flac-1.4.3/configure 2023-06-26 21:27:46.664311640 +0200 +@@ -21401,13 +21401,6 @@ + + + if test x$ac_cv_c_compiler_gnu = xyes -o x$xiph_cv_c_compiler_clang = xyes ; then +- if test "x${ax_enable_debug}" = "xno" +-then : +- +- CFLAGS="-O3 -funroll-loops $CFLAGS" +- CXXFLAGS="-O3 $CXXFLAGS" +- +-fi + + CFLAGS="$CFLAGS -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Waggregate-return -Wcast-align -Wnested-externs -Wshadow -Wundef -Wmissing-declarations -Winline " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Wconversion + CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wcast-align -Wshadow -Wwrite-strings -Wctor-dtor-privacy -Wnon-virtual-dtor -Wreorder -Wsign-promo -Wundef " # -Wcast-qual -Wbad-function-cast -Wwrite-strings -Woverloaded-virtual -Wmissing-declarations -- cgit v1.2.3