summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-05-13 10:23:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-05-13 10:23:04 +0200
commit01bce5dd1536459c415efbd489da86632c32a3fc (patch)
tree62036505829faa42c049c4bdf3c2f17079b2b8a2
parente00a421e51b5747696f89b6611eba1d0010dd501 (diff)
Release version 1.6.3+6v1.6.3+6
Tweak config.h to support for OpenBSD.
-rw-r--r--libpkgconf/libpkgconf/config.h.in7
-rw-r--r--libpkgconf/manifest2
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.