libflac: update to 1.3.2, refresh patches 4080/head
authorIan Leonard <antonlacon@gmail.com>
Sun, 19 Feb 2017 04:46:35 +0000 (20:46 -0800)
committerIan Leonard <antonlacon@gmail.com>
Mon, 20 Feb 2017 00:05:25 +0000 (16:05 -0800)
No mention of sigemptyset seen in source code; dropped patch

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
libs/flac/Makefile
libs/flac/patches/001-no-docs-and-examples.patch
libs/flac/patches/002-no-utility.patch
libs/flac/patches/005-gcc_debug_options.patch
libs/flac/patches/020-fix-musl-sigemptyset-x86.patch [deleted file]

index 01d7d646e3e06b8f272d688d9ae12dd1a373325e..136e03b9cf8e8b30712f314e8dd3aeca968d06ab 100644 (file)
@@ -8,12 +8,13 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=flac
-PKG_VERSION:=1.3.1
-PKG_RELEASE:=3
+PKG_VERSION:=1.3.2
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=http://downloads.xiph.org/releases/flac/
-PKG_MD5SUM:=b9922c9a0378c88d3e901b234f852698
+PKG_MD5SUM:=454f1bfa3f93cc708098d7890d0499bd
+PKG_HASH:=91cfc3ed61dc40f47f050a109b08610667d73477af6ef36dcad31c31a4a8d53f
 PKG_MAINTAINER:=Ted Hess <thess@kitschensync.net>
 
 PKG_INSTALL:=1
index 72b26310e3d5ee56800c15b2c558be97bba0cc6a..7c34288c3060633625e5775d94c4f334813e10ca 100644 (file)
@@ -4,7 +4,7 @@
  
  ACLOCAL_AMFLAGS = -I m4
  
--SUBDIRS = doc include m4 man src examples test build objs
+-SUBDIRS = doc include m4 man src examples test build objs microbench
 +SUBDIRS = include m4 src build objs
  
  EXTRA_DIST = \
index f74460259caeb6597195aebd755ea6e0c91bcdae..17aaf7392e2c8f88498334bd42e6bd2682392c61 100644 (file)
@@ -2,8 +2,8 @@
 +++ b/src/Makefile.am
 @@ -27,10 +27,7 @@ endif
  SUBDIRS = \
-       share \
        libFLAC \
+       share \
 -      flac \
 -      metaflac \
        $(XMMS_DIRS) \
index 80ffff1a689e00591d5755ce303bb6c738f79bb0..ea7db8e148eaba4a9321038e788c4301e483bd41 100644 (file)
@@ -1,16 +1,15 @@
 --- a/configure.ac
 +++ b/configure.ac
-@@ -348,11 +348,11 @@ fi
+@@ -386,10 +386,11 @@ fi
  
  if test "x$debug" = xtrue; then
        CPPFLAGS="-DDEBUG $CPPFLAGS"
--      CFLAGS=$(echo "$CFLAGS" | sed 's/-g//')
 -      CFLAGS="-g $CFLAGS"
 +      CFLAGS=$(echo "$CFLAGS" | sed 's/-g[0-9]*//')
 +      CFLAGS="-g3 $CFLAGS"
  else
        CPPFLAGS="-DNDEBUG $CPPFLAGS"
--      CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g//')
+-      CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//')
 +      CFLAGS=$(echo "$CFLAGS" | sed 's/-O2//;s/-g[0-9]*//')
        CFLAGS="-O3 -funroll-loops $CFLAGS"
  fi
diff --git a/libs/flac/patches/020-fix-musl-sigemptyset-x86.patch b/libs/flac/patches/020-fix-musl-sigemptyset-x86.patch
deleted file mode 100644 (file)
index 0ee3ce5..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/libFLAC/cpu.c
-+++ b/src/libFLAC/cpu.c
-@@ -243,7 +243,7 @@ void FLAC__cpu_info(FLAC__CPUInfo *info)
-               struct sigaction sigill_save;
-               struct sigaction sigill_sse;
-               sigill_sse.sa_sigaction = sigill_handler_sse_os;
--              __sigemptyset(&sigill_sse.sa_mask);
-+              sigemptyset(&sigill_sse.sa_mask);
-               sigill_sse.sa_flags = SA_SIGINFO | SA_RESETHAND; /* SA_RESETHAND just in case our SIGILL return jump breaks, so we don't get stuck in a loop */
-               if(0 == sigaction(SIGILL, &sigill_sse, &sigill_save))
-               {