summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2023-06-26 21:31:58 +0200
committerØrjan Malde <red@foxi.me>2023-06-26 21:31:58 +0200
commitad765d7a815ec6e20842480251da49c31c563981 (patch)
tree5574a675fe9839afbe0da3bd5e76116130b52a54
parent51e5db218843291865b3c32a9e15646e37bef5d3 (diff)
downloadmidipix_build-ad765d7a815ec6e20842480251da49c31c563981.tar.bz2
midipix_build-ad765d7a815ec6e20842480251da49c31c563981.tar.xz
groups.d/251.native_packages_lib.group: libflac: bump to v1.4.3
Signed-off-by: Ørjan Malde <red@foxi.me>
-rw-r--r--groups.d/251.native_packages_lib.group6
-rw-r--r--patches/libflac-1.4.3_pre.local.patch17
2 files changed, 20 insertions, 3 deletions
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