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.

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

mercurial