From 6343806a0e10d7ccf52f4e0857e1d2be6f800dd1 Mon Sep 17 00:00:00 2001 From: Jakob Haufe Date: Sat, 21 May 2016 22:00:04 +0200 Subject: [PATCH] Pick 82063b7 as config_h_before_standard_headers --- debian/changelog | 2 + .../patches/config_h_before_standard_headers | 75 +++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 78 insertions(+) create mode 100644 debian/patches/config_h_before_standard_headers create mode 100644 debian/patches/series diff --git a/debian/changelog b/debian/changelog index 02641c4..7df5495 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,6 +3,8 @@ tio (1.14-1) UNRELEASED; urgency=medium * New upstream version * Fix short license name in debian/copyright * Use autoreconf + * New patch: + - config_h_before_standard_headers (cherry-picked 82063b7) -- Jakob Haufe Sat, 07 May 2016 18:31:10 +0200 diff --git a/debian/patches/config_h_before_standard_headers b/debian/patches/config_h_before_standard_headers new file mode 100644 index 0000000..18943e4 --- /dev/null +++ b/debian/patches/config_h_before_standard_headers @@ -0,0 +1,75 @@ +Description: Include config.h before standard headers + This makes use of 8d6d202 (Enable large file support) for real. + +Origin: https://github.com/sur5r/tio/commit/82063b73fbdc9ce60a6cad9558ba63a27435e8f9 +Bug: https://github.com/tio/tio/pull/38 +Forwarded: not-needed + +--- tio-1.14.orig/src/error.c ++++ tio-1.14/src/error.c +@@ -19,6 +19,7 @@ + * 02110-1301, USA. + */ + ++#include "config.h" + #include + #include + #include +--- tio-1.14.orig/src/log.c ++++ tio-1.14/src/log.c +@@ -19,6 +19,7 @@ + * 02110-1301, USA. + */ + ++#include "config.h" + #include + #include + #include +--- tio-1.14.orig/src/main.c ++++ tio-1.14/src/main.c +@@ -19,6 +19,7 @@ + * 02110-1301, USA. + */ + ++#include "config.h" + #include + #include + #include +--- tio-1.14.orig/src/options.c ++++ tio-1.14/src/options.c +@@ -19,6 +19,7 @@ + * 02110-1301, USA. + */ + ++#include "config.h" + #include + #include + #include +@@ -28,7 +29,6 @@ + #include + #include + #include +-#include "config.h" + #include "tio/options.h" + #include "tio/error.h" + +--- tio-1.14.orig/src/time.c ++++ tio-1.14/src/time.c +@@ -19,6 +19,7 @@ + * 02110-1301, USA. + */ + ++#include "config.h" + #include + #include + #include +--- tio-1.14.orig/src/tty.c ++++ tio-1.14/src/tty.c +@@ -19,6 +19,7 @@ + * 02110-1301, USA. + */ + ++#include "config.h" + #include + #include + #include diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..0aeb1df --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +config_h_before_standard_headers -- 2.39.2