diff --git a/debian/changelog b/debian/changelog index c7850ce..9d32993 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +libmawk (1.0.2-3) unstable; urgency=medium + + * trivial patch to allow for compilation with GCC 10, closes: #957451 + + -- Bdale Garbee Fri, 07 Aug 2020 08:49:48 -0600 + libmawk (1.0.2-2) unstable; urgency=medium * source-only upload to allow migration to testing, closes: #951449 diff --git a/debian/patches/extern-for-gcc-10.patch b/debian/patches/extern-for-gcc-10.patch new file mode 100644 index 0000000..64ae872 --- /dev/null +++ b/debian/patches/extern-for-gcc-10.patch @@ -0,0 +1,13 @@ +diff --git a/src/libmawk/vio_fifo.h b/src/libmawk/vio_fifo.h +index f170c22..a2d751d 100644 +--- a/src/libmawk/vio_fifo.h ++++ b/src/libmawk/vio_fifo.h +@@ -14,7 +14,7 @@ typedef struct mawk_vio_fifo_s { + int eof_from_app; /* 1 if there won't be more from the app or the app won't accept more data */ + } mawk_vio_fifo_t; + +-const mawk_vio_imp_t mawk_vio_fifo_imp; ++extern const mawk_vio_imp_t mawk_vio_fifo_imp; + + mawk_vio_t *mawk_vio_fifo_open(mawk_state_t *MAWK, const char *name, mawk_vio_open_mode_t mode); + diff --git a/debian/patches/series b/debian/patches/series index 727044f..523757a 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ fix-example-man.patch +extern-for-gcc-10.patch