mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
libxslt: revision bump to address open CVEs
- Add patches copied from Debian to address open CVEs - Update mail address of maintainer - Fix a typo - Add --disable-silent-rules for verbose build output Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
From: Nick Wellnhofer <wellnhofer@aevum.de>
|
||||
Date: Tue, 30 Jul 2013 11:57:28 +0000
|
||||
Subject: Fix quoting of xlocale test program in configure.in
|
||||
|
||||
Double square brackets aren't needed anymore, probably due to the
|
||||
changes in commit a2cd8a03.
|
||||
---
|
||||
configure.in | 14 +++++++-------
|
||||
1 file changed, 7 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/configure.in b/configure.in
|
||||
index 767e980..ac004fe 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -196,21 +196,21 @@ typedef locale_t xsltLocale;
|
||||
#endif
|
||||
]],[[
|
||||
xsltLocale locale;
|
||||
- const char *src[[2]] = { "\xc3\x84rger", "Zeppelin" };
|
||||
- char *dst[[2]];
|
||||
+ const char *src[2] = { "\xc3\x84rger", "Zeppelin" };
|
||||
+ char *dst[2];
|
||||
size_t len, r;
|
||||
int i;
|
||||
|
||||
locale = newlocale(LC_COLLATE_MASK, "en_US.utf8", NULL);
|
||||
if (locale == NULL) exit(1);
|
||||
for (i=0; i<2; ++i) {
|
||||
- len = strxfrm_l(NULL, src[[i]], 0, locale) + 1;
|
||||
- dst[[i]] = malloc(len);
|
||||
- if(dst[[i]] == NULL) exit(1);
|
||||
- r = strxfrm_l(dst[[i]], src[[i]], len, locale);
|
||||
+ len = strxfrm_l(NULL, src[i], 0, locale) + 1;
|
||||
+ dst[i] = malloc(len);
|
||||
+ if(dst[i] == NULL) exit(1);
|
||||
+ r = strxfrm_l(dst[i], src[i], len, locale);
|
||||
if(r >= len) exit(1);
|
||||
}
|
||||
- if (strcmp(dst[[0]], dst[[1]]) >= 0) exit(1);
|
||||
+ if (strcmp(dst[0], dst[1]) >= 0) exit(1);
|
||||
|
||||
exit(0);
|
||||
return(0);
|
||||
Reference in New Issue
Block a user