From 01bce5dd1536459c415efbd489da86632c32a3fc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 13 May 2022 10:23:04 +0200 Subject: Release version 1.6.3+6 Tweak config.h to support for OpenBSD. --- libpkgconf/libpkgconf/config.h.in | 7 +++++-- libpkgconf/manifest | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/libpkgconf/libpkgconf/config.h.in b/libpkgconf/libpkgconf/config.h.in index 0f5117c..adb6f9c 100644 --- a/libpkgconf/libpkgconf/config.h.in +++ b/libpkgconf/libpkgconf/config.h.in @@ -19,14 +19,17 @@ /* * strndup() is not present on Windows while strl*() are only present on - * FreeBSD and MacOS. + * *BSD and MacOS. * */ #if !defined(_WIN32) # define HAVE_STRNDUP 1 #endif -#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__APPLE__) +#if defined(__FreeBSD__) || \ + defined(__OpenBSD__) || \ + defined(__NetBSD__) || \ + defined(__APPLE__) # define HAVE_STRLCPY 1 # define HAVE_STRLCAT 1 #endif diff --git a/libpkgconf/manifest b/libpkgconf/manifest index 1fc3170..56e8554 100644 --- a/libpkgconf/manifest +++ b/libpkgconf/manifest @@ -1,6 +1,6 @@ : 1 name: libpkgconf -version: 1.6.3+5 +version: 1.6.3+6 project: pkgconf summary: C library for retriving pkg-config compiler and linker flags license: ISC AND MIT ; ISC for the most of original files. -- cgit v1.1