patch-cli_Makefile_am 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. $OpenBSD: patch-cli_Makefile_am,v 1.1 2017/05/15 16:39:58 sthen Exp $
  2. Defer to libc's md5 functions, the internal version fails on
  3. strict-alignment architectures.
  4. Index: cli/Makefile.am
  5. --- cli/Makefile.am.orig
  6. +++ cli/Makefile.am
  7. @@ -1,6 +1,6 @@
  8. bin_PROGRAMS = wavpack wvunpack wvgain wvtag
  9. -wavpack_SOURCES = wavpack.c riff.c wave64.c caff.c dsdiff.c dsf.c utils.c md5.c import_id3.c
  10. +wavpack_SOURCES = wavpack.c riff.c wave64.c caff.c dsdiff.c dsf.c utils.c import_id3.c
  11. if WINDOWS_HOST
  12. wavpack_SOURCES += win32_unicode_support.c
  13. endif
  14. @@ -10,7 +10,7 @@ wavpack_LDFLAGS = -rpath $(libdir)
  15. endif
  16. wavpack_LDADD = $(AM_LDADD) $(top_builddir)/src/.libs/libwavpack.la $(LIBM) $(ICONV_LIBS)
  17. -wvunpack_SOURCES = wvunpack.c riff.c wave64.c caff.c dsdiff.c dsf.c utils.c md5.c
  18. +wvunpack_SOURCES = wvunpack.c riff.c wave64.c caff.c dsdiff.c dsf.c utils.c
  19. if WINDOWS_HOST
  20. wvunpack_SOURCES += win32_unicode_support.c
  21. endif
  22. @@ -42,7 +42,7 @@ wvtag_LDADD = $(AM_LDADD) $(top_builddir)/src/.libs/li
  23. if ENABLE_TESTS
  24. bin_PROGRAMS += wvtest
  25. -wvtest_SOURCES = wvtest.c md5.c
  26. +wvtest_SOURCES = wvtest.c
  27. wvtest_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/include
  28. if ENABLE_RPATH
  29. wvtest_LDFLAGS = -rpath $(libdir)