dpkg/dpkg.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
parent 49
3ca9c03168f4
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: configure
     2 --- configure.orig	2012-03-19 08:58:04.000000000 +0100
     3 +++ configure	2012-03-20 08:27:36.000000000 +0100
     4 @@ -10918,7 +10918,7 @@
     5  WFLAGS="-Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers \
     6  	 -Wmissing-declarations -Wmissing-format-attribute \
     7  	 -Wformat-security -Wpointer-arith \
     8 -	 -Wvla -Winit-self -Wwrite-strings -Wcast-align -Wshadow"
     9 +	 -Winit-self -Wwrite-strings -Wcast-align -Wshadow"
    10  WCFLAGS="-Wdeclaration-after-statement -Wnested-externs -Wbad-function-cast \
    11  	 -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition"
    12  # Temporarily here until #542031 gets fixed in ncurses
    13 Index: lib/dpkg/dpkg-db.h
    14 --- lib/dpkg/dpkg-db.h.orig	2012-03-19 08:56:40.000000000 +0100
    15 +++ lib/dpkg/dpkg-db.h	2012-03-20 08:27:36.000000000 +0100
    16 @@ -27,6 +27,7 @@
    18  #include <stdbool.h>
    19  #include <stdio.h>
    20 +#include <stdarg.h>
    22  #include <dpkg/macros.h>
    23  #include <dpkg/varbuf.h>
    24 Index: man/Makefile.in
    25 --- man/Makefile.in.orig	2012-03-19 08:58:07.000000000 +0100
    26 +++ man/Makefile.in	2012-03-20 08:27:36.000000000 +0100
    27 @@ -636,12 +636,12 @@
    30  # If the user has not defined it let's use the default.
    31 -LINGUAS ?= $(LINGUAS_DIST)
    32 +LINGUAS =
    34  all-local: all-local-@USE_PO4A@
    36  all-local-no:
    37 -all-local-yes: man.stamp
    38 +all-local-yes:
    40  # FIXME: Use a stamp file until po4a supports them internally.
    41  man.stamp:

mercurial