openpkg/make.patch

Sat, 06 Oct 2012 16:24:01 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 06 Oct 2012 16:24:01 +0200
changeset 727
914043724d20
parent 250
bda4f5eec616
permissions
-rw-r--r--

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.

michael@13 1 Index: glob/glob.c
michael@428 2 --- glob/glob.c.orig 2009-09-28 08:46:03.000000000 +0200
michael@428 3 +++ glob/glob.c 2010-07-29 14:25:40.000000000 +0200
michael@250 4 @@ -217,13 +217,13 @@
michael@13 5 # ifdef HAVE_ALLOCA_H
michael@13 6 # include <alloca.h>
michael@13 7 # else /* Not HAVE_ALLOCA_H. */
michael@13 8 -# ifndef _AIX
michael@13 9 +# if !defined (_AIX) && !defined (__FreeBSD__)
michael@13 10 # ifdef WINDOWS32
michael@13 11 # include <malloc.h>
michael@13 12 # else
michael@13 13 extern char *alloca ();
michael@13 14 # endif /* WINDOWS32 */
michael@13 15 -# endif /* Not _AIX. */
michael@13 16 +# endif /* Not _AIX && not __FreeBSD__. */
michael@13 17 # endif /* sparc or HAVE_ALLOCA_H. */
michael@13 18 # endif /* GCC. */
michael@13 19
michael@13 20 Index: make.h
michael@428 21 --- make.h.orig 2010-07-20 15:12:06.000000000 +0200
michael@428 22 +++ make.h 2010-07-29 14:27:20.000000000 +0200
michael@250 23 @@ -36,7 +36,7 @@
michael@13 24 #pragma alloca
michael@250 25 # else
michael@250 26 # if !defined(__GNUC__) && !defined(WINDOWS32)
michael@13 27 -# ifndef alloca /* predefined by HP cc +Olibcalls */
michael@428 28 +# if !defined(alloca) && !defined(__FreeBSD__) /* predefined by HP cc +Olibcalls, part of stdlib.h on FreeBSD */
michael@13 29 char *alloca ();
michael@13 30 # endif
michael@13 31 # endif

mercurial