You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.8 KiB
58 lines
1.8 KiB
Index: configure |
|
--- configure.orig 2011-04-02 05:37:25.000000000 +0200 |
|
+++ configure 2011-04-02 23:00:40.000000000 +0200 |
|
@@ -10611,7 +10611,7 @@ |
|
WFLAGS="-Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers \ |
|
-Wmissing-declarations -Wmissing-format-attribute \ |
|
-Wformat-security -Wpointer-arith \ |
|
- -Wvla -Winit-self -Wwrite-strings -Wcast-align -Wshadow" |
|
+ -Winit-self -Wwrite-strings -Wcast-align -Wshadow" |
|
WCFLAGS="-Wdeclaration-after-statement -Wnested-externs -Wbad-function-cast \ |
|
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition" |
|
# Temporarily here until #542031 gets fixed in ncurses |
|
Index: lib/dpkg/dpkg-db.h |
|
--- lib/dpkg/dpkg-db.h.orig 2011-04-02 04:14:48.000000000 +0200 |
|
+++ lib/dpkg/dpkg-db.h 2011-04-02 22:55:26.000000000 +0200 |
|
@@ -26,6 +26,7 @@ |
|
|
|
#include <stdbool.h> |
|
#include <stdio.h> |
|
+#include <stdarg.h> |
|
|
|
#include <dpkg/macros.h> |
|
#include <dpkg/varbuf.h> |
|
Index: lib/dpkg/tarfn.c |
|
--- lib/dpkg/tarfn.c.orig 2011-04-02 04:14:48.000000000 +0200 |
|
+++ lib/dpkg/tarfn.c 2011-04-02 22:55:26.000000000 +0200 |
|
@@ -88,7 +88,9 @@ |
|
int len; |
|
char *str; |
|
|
|
- len = strnlen(s, size); |
|
+ len = strlen(s); |
|
+ if (len > size) |
|
+ len = size; |
|
str = m_malloc(len + 1); |
|
memcpy(str, s, len); |
|
str[len] = '\0'; |
|
Index: man/Makefile.in |
|
--- man/Makefile.in.orig 2011-04-02 05:37:32.000000000 +0200 |
|
+++ man/Makefile.in 2011-04-02 22:55:26.000000000 +0200 |
|
@@ -594,7 +594,7 @@ |
|
all-local: all-local-@USE_PO4A@ |
|
|
|
all-local-no: |
|
-all-local-yes: man.stamp |
|
+all-local-yes: |
|
|
|
# FIXME: Use a stamp file until po4a supports them internally. |
|
man.stamp: |
|
@@ -615,7 +615,7 @@ |
|
$(PO4A) $(PO4A_BUILD_OPTS) --force po/po4a.cfg |
|
|
|
# If the user has not defined it let's use the default. |
|
-LINGUAS ?= $(LINGUAS_DIST) |
|
+LINGUAS = |
|
|
|
install-data-local: install-data-local-@USE_PO4A@ |
|
|
|
|