openpkg/xz.patch

Fri, 03 Aug 2012 20:11:53 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 03 Aug 2012 20:11:53 +0200
changeset 470
f8813e60f168
permissions
-rw-r--r--

Neutralize buggy code causing OpenPKG to have 'fatal problems' in
spite of correct installation, configuration, and operation. An
administrator suffering from this failure is even unable to
uninstall the flawed software.

     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