[pacman-dev] [PATCH 4/5] common: Add support for systems without asprintf/vasprintf.

2015-02-26 Thread Will Miles
Signed-off-by: Will Miles wmi...@sgl.com --- configure.ac | 2 +- src/common/util-common.c | 27 +++ src/common/util-common.h | 7 +++ 3 files changed, 35 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 359d61b..da1953e 100644

[pacman-dev] Patches for QNX support

2015-02-26 Thread Will Miles
This patch set adds support for the QNX RTOS. The first four patches are essentially workarounds for QNX's libc; the last patch implements the QNX-specific sections in libalpm.

[pacman-dev] [PATCH 5/5] Add QNX operating system specific implementations to libalpm and pacman.

2015-02-26 Thread Will Miles
Signed-off-by: Will Miles wmi...@sgl.com --- lib/libalpm/diskspace.c | 38 +++ lib/libalpm/trans.c | 37 +++ lib/libalpm/util.c | 68 + src/pacman/pacman.c | 4 +++ 4 files changed, 147

[pacman-dev] [PATCH 2/5] common: Avoid errors on systems that define strnlen but not strndup

2015-02-26 Thread Will Miles
Add a configure test for a system library supplied strnlen, and disable the embedded version in common if one is found. Signed-off-by: Will Miles wmi...@sgl.com --- configure.ac | 4 ++-- src/common/util-common.c | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git

[pacman-dev] [PATCH 1/5] util: Use util-common for strndup in pacsort and pactree

2015-02-26 Thread Will Miles
This small refactor reduces the number of replications of the local imeplementation of strndup. Signed-off-by: Will Miles wmi...@sgl.com --- src/util/Makefile.am | 4 ++-- src/util/pacsort.c | 23 +-- src/util/pactree.c | 24 ++--

[pacman-dev] [PATCH 2/2] PKGBUILD.5.txt: Clarify note about variables available

2015-02-26 Thread Johannes Löthberg johannes
From: Johannes Löthberg johan...@kyriasis.com Reported-by: Florian Pritz bluew...@xinu.at Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- doc/PKGBUILD.5.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index

[pacman-dev] [PATCH 1/2] PKGBUILD.5.txt: Add note about functions starting in $srcdir

2015-02-26 Thread Johannes Löthberg johannes
From: Johannes Löthberg johan...@kyriasis.com Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- doc/PKGBUILD.5.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index 10980ab..2dba100 100644 --- a/doc/PKGBUILD.5.txt +++

[pacman-dev] [PATCH 3/5] common: Add support for wcwidth and wcswidth for systems without.

2015-02-26 Thread Will Miles
The specific implementation has been borrowed from glibc-2.21. Signed-off-by: Will Miles wmi...@sgl.com --- src/common/util-common.c | 142 +++ src/common/util-common.h | 6 ++ 2 files changed, 148 insertions(+) diff --git a/src/common/util-common.c

Re: [pacman-dev] [PATCH 2/2] PKGBUILD.5.txt: Clarify note about variables available

2015-02-26 Thread David Macek
On 27. 2. 2015 0:37, =?UTF-8?q?Johannes=20L=C3=B6thberg?= johannes@kyriasis.com wrote: +following ones, are avilable for use in all of the above defined packaging avilable - available -- David Macek smime.p7s Description: S/MIME Cryptographic Signature

[pacman-dev] [PATCH v2] PKGBUILD.5.txt: Clarify note about variables available

2015-02-26 Thread Johannes Löthberg
Reported-by: Florian Pritz bluew...@xinu.at Signed-off-by: Johannes Löthberg johan...@kyriasis.com --- Fix 'available' typo. (Gah, that's embarassing.) doc/PKGBUILD.5.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt index