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.

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

mercurial