void-packages/srcpkgs/reiserfsprogs/files/musl-configure_ac.patch
Jürgen Buchmüller 13eb9de30b reiserfsprogs: try to fix musl libc
The modified source based on reiserfscore/prints.c is included in
files/prints.c to make it easily possible to apply fixes and create
a new diff against the original.

First test on a Void Linux musl box seem to indicate success.
There is still a chance of the prints.c conversion missing some aspects.
2015-09-10 19:50:05 +02:00

16 lines
494 B
Diff

Add a library check for musl-obstack package
--- configure.ac 2013-08-26 22:55:43.000000000 +0200
+++ configure.ac 2015-09-10 09:21:53.809280964 +0200
@@ -29,6 +29,11 @@
UUID_LIBS="$LIBS"
AC_SUBST(UUID_LIBS)
+# Check for LIBOBSTACK
+AC_CHECK_LIB(obstack, _obstack_begin, , AC_MSG_WARN(libobstack could not be found))
+OBSTACK_LIBS="$LIBS"
+AC_SUBST(OBSTACK_LIBS)
+
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(fcntl.h limits.h malloc.h sys/ioctl.h unistd.h uuid/uuid.h)