package/flac: fix powerpc compile failure (missing sys/auxv.h)
authorPeter Seiderer <ps.report@gmx.net>
Sun, 29 Sep 2019 19:49:12 +0000 (21:49 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Mon, 30 Sep 2019 20:30:04 +0000 (22:30 +0200)
commitea6097a2ddb9d4d1f6e5764761f94178b9a18ad1
tree3c7bd85ac716545213a7f3fe1f5dca8dcc59b64f
parent5abe6f2bf7baaa5e3bffc2e6dae22a045a1265bb
package/flac: fix powerpc compile failure (missing sys/auxv.h)

Fixes [1]:

  cpu.c:57:10: fatal error: sys/auxv.h: No such file or directory

>From build/flac-1.3.3/src/libFLAC/cpu.c:

  56 #if defined FLAC__CPU_PPC
  57 #include <sys/auxv.h>
  58 #endif

Fixed by configure.ac patch checking for for sys/auxv.h before defining
FLAC__CPU_PPC (fallback already implemented for ppc_cpu_info method in
case FLAC__CPU_PPC is not defined).

[1] http://autobuild.buildroot.net/results/eb3a59a78dbb0c83cff78aac2384edea890af830

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/flac/0001-configure.ac-check-for-sys-auxv.h-before-defining-FL.patch [new file with mode: 0644]
package/flac/flac.mk