logo

etc_portage

Unnamed repository; edit this file 'description' to name the repository. git clone https://hacktivis.me/git/etc_portage.git

libXfont2-2.0.4_define_have_libbsd.patch (749B)


  1. From 5fceeeb0d1cdccdb2870f65444f2965344f3b8b9 Mon Sep 17 00:00:00 2001
  2. From: Bernd Kuhls <bernd.kuhls@t-online.de>
  3. Date: Sat, 19 Oct 2019 09:32:41 +0200
  4. Subject: [PATCH] configure: define HAVE_LIBBSD when libbsd was found
  5. ---
  6. configure.ac | 3 +++
  7. 1 file changed, 3 insertions(+)
  8. diff --git a/configure.ac b/configure.ac
  9. index f507c28..cc7ca91 100644
  10. --- a/configure.ac
  11. +++ b/configure.ac
  12. @@ -53,6 +53,9 @@ AC_CHECK_HEADERS([endian.h poll.h sys/poll.h])
  13. # Checks for library functions.
  14. AC_CHECK_FUNCS([poll readlink])
  15. AC_SEARCH_LIBS([strlcat], [bsd])
  16. +if test "$ac_cv_search_strlcat" = "-lbsd"; then
  17. + AC_DEFINE(HAVE_LIBBSD,1,[Has libbsd])
  18. +fi
  19. AC_CONFIG_LIBOBJ_DIR([src/util])
  20. AC_REPLACE_FUNCS([reallocarray strlcat strlcpy])
  21. --
  22. 2.26.2