libassuan/libassuan.patch

Sun, 03 Apr 2011 13:34:55 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sun, 03 Apr 2011 13:34:55 +0200
changeset 337
f71e028eb3e2
permissions
-rw-r--r--

Correct and improve several packaging aspects including...
Correct datadir path for python modules, correct jar(1) path for
building libgcj classes, strip libexecdir path of version numbers,
improve name of oblbld build path, clean whitespace from as(1) and
ld(1) GNU detection, remove seemingly discarded '--with-local-prefix'
configure argument, and correct hardcoded lto plugin libtool archive
dependency information.

Most importantly, correct IA32 architecture detection logic in
config.gcc to correctly emit SSE2 instructions conditionally, leading
to the removal of all '-march' bootstrap options and replacement with
unconditional (for IA32/AMD64) '-mtune=native' options. Comments and
buildtime warnings are corrected appropriately. In theory these changes
cause a more portable, orthoganal, and optimal bootstrap to be built.

michael@277 1 Index: libassuan-1.0.5/src/libassuan-config.in
michael@277 2 --- libassuan-1.0.5/src/libassuan-config.in.orig 2006-10-09 12:41:47 +0200
michael@277 3 +++ libassuan-1.0.5/src/libassuan-config.in 2006-11-15 20:25:37 +0100
michael@277 4 @@ -105,6 +105,11 @@
michael@277 5 esac
michael@277 6 shift
michael@277 7 done
michael@277 8 +
michael@277 9 +if test "x${thread_module}" = "x-pth"; then
michael@277 10 + cflags="$cflags `$prefix/bin/pth-config --cflags`"
michael@277 11 + extralibs="$extralibs `$prefix/bin/pth-config --libs`"
michael@277 12 +fi
michael@277 13
michael@277 14 if test "$echo_prefix" = "yes"; then
michael@277 15 echo $prefix
michael@277 16 Index: libassuan-2.0.1/src/libassuan-config.in
michael@277 17 --- libassuan-2.0.1/src/libassuan-config.in.orig 2006-10-09 12:41:47 +0200
michael@277 18 +++ libassuan-2.0.1/src/libassuan-config.in 2006-11-15 20:25:37 +0100
michael@277 19 @@ -105,6 +105,11 @@
michael@277 20 esac
michael@277 21 shift
michael@277 22 done
michael@277 23 +
michael@277 24 +if test "x${thread_module}" = "x-pth"; then
michael@277 25 + cflags="$cflags `$prefix/bin/pth-config --cflags`"
michael@277 26 + extralibs="$extralibs `$prefix/bin/pth-config --libs`"
michael@277 27 +fi
michael@277 28
michael@277 29 if test "$echo_prefix" = "yes"; then
michael@277 30 echo $prefix

mercurial