|
e49cbdfc
|
2025-03-20T15:32:43
|
|
stdinc: fix -Wformat warning on win64
../libpkgconf/client.c: In function 'pkgconf_trace':
../libpkgconf/client.c:381:47: warning: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'size_t' {aka 'long long unsigned int'} [-Wformat=]
381 | len = snprintf(errbuf, sizeof errbuf, "%s:" SIZE_FMT_SPECIFIER " [%s]: ", filename, lineno, funcname);
| ^~~~~ ~~~~~~
| |
| size_t {aka long long unsigned int}
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
|
|
7502a55d
|
2025-05-08T13:45:33
|
|
libpkgconf: bsdstubs: align pledge and unveil stubs with openbsd-portable
Signed-off-by: Ariadne Conill <ariadne@ariadne.space>
|
|
cf48b61a
|
2022-02-21T04:42:26
|
|
stdinc: include strings.h on POSIX
|
|
ebfcaf50
|
2019-05-25T15:59:55
|
|
normalize include guards. closes #33
|
|
f36ccc1d
|
2018-04-03T12:46:35
|
|
libpkgconf: add support for Haiku
client: use BELIBRARIES
On Haiku, BELIBRARIES is the equivalent to LIBRARY_PATH on many other
systems, while LIBRARY_PATH is instead the LD_LIBRARY_PATH of Haiku.
pkg: bootstrap package search paths with Haiku's find_paths
This commit adds build_default_pkgconfig_path. The function appends
to the list given the default pkgconfig paths, and will supersede
get_default_pkgconfig_path
|
|
4589274c
|
2017-10-16T12:56:19
|
|
libpkgconf: start to remove PKGCONF_BUFSIZE allocations from the stack. (closes #149)
Patch by Karen Arutyunov.
|
|
24c1439d
|
2017-09-22T23:58:40
|
|
libpkgconf: stdinc: fix SIZE_FMT_SPECIFIER on mingw
|
|
b5da424e
|
2017-09-13T14:20:47
|
|
stdinc: drop _GNU_SOURCE definition
|
|
47ce9765
|
2017-09-08T18:44:28
|
|
libpkgconf: define SIZE_FMT_SPECIFIER on POSIX and Windows platforms and use it in place of %zu
The MSVCRT runtime as used on Windows does not support %zu, but instead recommends %Iu. As we want
to remain portable to other runtimes, even on Windows, we do not use %Iu, but instead expand it logically
to either %lu or %llu depending on if it's _WIN32 or _WIN64 headers.
On POSIX, we assume C99 support is available and always use %zu, as pkgconf has never supported anything
earlier than C99 officially.
Closes #125.
|
|
74666bff
|
2017-07-16T21:21:45
|
|
stdinc.h: fix build with mingw (#122)
Fixes this build error with mingw:
...
| compilation terminated.
| In file included from ../pkgconf-1.3.7/libpkgconf/libpkgconf.h:19:0,
| from ../pkgconf-1.3.7/libpkgconf/audit.c:16:
| ../pkgconf-1.3.7/libpkgconf/stdinc.h:36:12: fatal error: BaseTsd.h: No
such file or directory
| # include <BaseTsd.h>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
|
|
4d7b4d7c
|
2017-06-04T19:19:55
|
|
Minimal tweaks to compile with Visual C 2015
|
|
9ece7cd4
|
2017-01-22T23:09:38
|
|
libpkgconf: move sys/stat.h inclusion out of stdinc.h to the only other consumer of sys/stat.h
|
|
be4a002f
|
2016-08-26T01:11:50
|
|
pkg: use bsearch(3) instead of a hardcoded tree of strcmp logic
|
|
b9048646
|
2015-09-06T12:01:12
|
|
libpkgconf: do something better than error_msgout for error logging
|
|
a706b3dc
|
2015-09-06T09:35:08
|
|
initial libtoolization for libpkgconf
|