openpkg/xz.patch

Fri, 07 Sep 2012 19:08:07 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 07 Sep 2012 19:08:07 +0200
changeset 667
9dacbd1d1aa2
permissions
-rw-r--r--

Correct build configuration in Solaris subdir, correct english grammar,
remove irrelevant strip notice, introduce custom CFLAG logic, facilitate
use of Solaris Studio compiler with needed build configuration
adjustments, conditionally build 64 bit position independent code,
and accommodate tun(7) in newer Solaris releases by renaming driver
and module from conflicting 'tun' to 'vtun'. These changes include
some nonstandard 'I give up' logic causing out of tree builds by
manipulating the PATH, for example.

michael@428 1 Index: Makefile.in
michael@428 2 --- Makefile.in.orig 2012-06-22 13:56:07.000000000 +0200
michael@428 3 +++ Makefile.in 2012-06-27 10:11:55.000000000 +0200
michael@428 4 @@ -333,7 +333,7 @@
michael@428 5 # Use -n to prevent gzip from adding a timestamp to the .gz headers.
michael@428 6 GZIP_ENV = -9n
michael@428 7 DIST_SUBDIRS = lib src po tests debug
michael@428 8 -SUBDIRS = $(am__append_1) src po tests
michael@428 9 +SUBDIRS = $(am__append_1) src
michael@428 10 dist_doc_DATA = \
michael@428 11 AUTHORS \
michael@428 12 COPYING \
michael@428 13 Index: configure
michael@428 14 --- configure.orig 2012-06-22 13:56:05.000000000 +0200
michael@428 15 +++ configure 2012-06-27 10:11:55.000000000 +0200
michael@428 16 @@ -17680,26 +17680,7 @@
michael@428 17 # don't seem so useful here; at least the last one gives some
michael@428 18 # warnings which are not bugs.
michael@428 19 for NEW_FLAG in \
michael@428 20 - -Wall \
michael@428 21 - -Wextra \
michael@428 22 - -Wformat=2 \
michael@428 23 - -Winit-self \
michael@428 24 - -Wmissing-include-dirs \
michael@428 25 - -Wstrict-aliasing \
michael@428 26 - -Wfloat-equal \
michael@428 27 - -Wundef \
michael@428 28 - -Wshadow \
michael@428 29 - -Wpointer-arith \
michael@428 30 - -Wbad-function-cast \
michael@428 31 - -Wwrite-strings \
michael@428 32 - -Wlogical-op \
michael@428 33 - -Waggregate-return \
michael@428 34 - -Wstrict-prototypes \
michael@428 35 - -Wold-style-definition \
michael@428 36 - -Wmissing-prototypes \
michael@428 37 - -Wmissing-declarations \
michael@428 38 - -Wmissing-noreturn \
michael@428 39 - -Wredundant-decls
michael@428 40 + none
michael@428 41 do
michael@428 42 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts $NEW_FLAG" >&5
michael@428 43 $as_echo_n "checking if $CC accepts $NEW_FLAG... " >&6; }

mercurial