Sat, 06 Oct 2012 16:24:01 +0200
Update to new vendor software version and adjust patch code accordingly.
Unfortunately the vendor has apparently failed to properly test this
release which depends on missing object symbols in libsasl2.a(common.o):
undefined reference to `sasl_randcreate'
undefined reference to `sasl_mkchal'
undefined reference to `sasl_utf8verify'
undefined reference to `sasl_rand'
undefined reference to `sasl_churn'
undefined reference to `sasl_encode64'
undefined reference to `sasl_decode64'
undefined reference to `sasl_erasebuffer'
undefined reference to `sasl_randfree'
undefined reference to `sasl_strlower'
undefined reference to `get_fqhostname'
...yet to be patched.
1 Index: lib/rtapelib.c
2 --- lib/rtapelib.c.orig 2009-03-19 12:47:19 +0100
3 +++ lib/rtapelib.c 2009-06-20 17:36:22 +0200
4 @@ -628,7 +628,7 @@
5 {
6 char command_buffer[COMMAND_BUFFER_SIZE];
7 char operand_buffer[UINTMAX_STRSIZE_BOUND];
8 - uintmax_t u = offset < 0 ? - (uintmax_t) offset : (uintmax_t) offset;
9 + unsigned long u = offset < 0 ? - (unsigned long) offset : (unsigned long) offset;
10 char *p = operand_buffer + sizeof operand_buffer;
12 *--p = 0;
13 @@ -670,9 +670,9 @@
14 {
15 char command_buffer[COMMAND_BUFFER_SIZE];
16 char operand_buffer[UINTMAX_STRSIZE_BOUND];
17 - uintmax_t u = (((struct mtop *) argument)->mt_count < 0
18 - ? - (uintmax_t) ((struct mtop *) argument)->mt_count
19 - : (uintmax_t) ((struct mtop *) argument)->mt_count);
20 + unsigned long u = (((struct mtop *) argument)->mt_count < 0
21 + ? - (unsigned long) ((struct mtop *) argument)->mt_count
22 + : (unsigned long) ((struct mtop *) argument)->mt_count);
23 char *p = operand_buffer + sizeof operand_buffer;
25 *--p = 0;
26 Index: lib/system.h
27 --- lib/system.h.orig 2009-06-20 10:29:22 +0200
28 +++ lib/system.h 2009-06-20 17:36:22 +0200
29 @@ -425,7 +425,7 @@
31 #include <intprops.h>
33 -#define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t)
34 +#define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (unsigned long)
36 /* Prototypes for external functions. */
38 Index: src/userspec.c
39 --- src/userspec.c.orig 2009-02-14 19:15:50 +0100
40 +++ src/userspec.c 2009-06-20 17:41:54 +0200
41 @@ -20,7 +20,6 @@
42 /* Written by David MacKenzie <djm@gnu.ai.mit.edu>. */
44 #include <system.h>
45 -#include <alloca.h>
46 #include <stdio.h>
47 #include <ctype.h>
48 #include <sys/types.h>