mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-16 07:01:08 +00:00
use getopt from glibc/musl instead of outdated bundled lib Closes: https://bugs.gentoo.org/945000 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/44685 Signed-off-by: Sam James <sam@gentoo.org>
16 lines
599 B
Diff
16 lines
599 B
Diff
see https://bugs.gentoo.org/945000
|
|
use getopt from glibc/musl instead, getopt.h must be removed too
|
|
--- a/src/Makefile.am
|
|
+++ b/src/Makefile.am
|
|
@@ -2,9 +2,9 @@ AM_CFLAGS = $(DCADEC_CFLAGS)
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
|
|
|
bin_PROGRAMS = dcadec extract_dca
|
|
-dcadec_SOURCES = dcadec.c getopt.h getopt.c gettimeofday.h gettimeofday.c
|
|
+dcadec_SOURCES = dcadec.c gettimeofday.h gettimeofday.c
|
|
dcadec_LDADD = ../libdca/libdca.la ../libao/libao.la
|
|
-extract_dca_SOURCES = extract_dca.c getopt.c
|
|
+extract_dca_SOURCES = extract_dca.c
|
|
|
|
man1_MANS = dcadec.1 extract_dca.1
|
|
EXTRA_DIST = $(man1_MANS)
|