pkgsrc/graphics/libfpx/patches/patch-configure.ac
nros 63e77e474d Update distfile and fix build on illumos
Update distfile for libfpx, difference from the old one:
our patches are applied in it and it is available at the mastersite.
Fix build on illumos and perhaps other platforms by using autoconf
to look for the endian headers instead of using __sun
(solaris.h is not available on illumos).
bump pkgrevision.
2020-01-19 11:07:56 +00:00

15 lines
473 B
Text

$NetBSD: patch-configure.ac,v 1.1 2020/01/19 11:07:56 nros Exp $
* search for endian headers to make tis package build
on more platforms (illumos)
--- configure.ac.orig 2020-01-19 10:26:49.799775110 +0000
+++ configure.ac
@@ -71,6 +71,7 @@ AC_C_INLINE
AC_C_BIGENDIAN
AC_CHECK_HEADERS([wchar.h sys/statfs.h sys/statvfs.h sys/time.h])
+AC_CHECK_HEADERS([endian.h sys/endian.h solaris.h])
# <sys/mount.h> depends on <sys/param.h>
AC_CHECK_HEADERS([sys/param.h])