summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-04-03 10:40:11 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2024-04-03 10:40:11 +0200
commit8b0eff692effe5d37d992a417c60a6469749ffea (patch)
tree3546b42e1b3a2a6ec3fb7c9931c9f040d8369fae
parentdf247efec654e512242e4f4f1b0212034f9e01fe (diff)
debian/patches: Add 0901-implicit-function-declaration.patch. Fix FTBFS after dpkg enabled -Werror=implicit-function-declaration by default. (Closes: #1066691).
-rw-r--r--debian/patches/0901-implicit-function-declaration.patch10
-rw-r--r--debian/patches/series1
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/patches/0901-implicit-function-declaration.patch b/debian/patches/0901-implicit-function-declaration.patch
new file mode 100644
index 0000000..dbf878b
--- /dev/null
+++ b/debian/patches/0901-implicit-function-declaration.patch
@@ -0,0 +1,10 @@
+--- a/app/bin/ctext.c
++++ b/app/bin/ctext.c
+@@ -36,6 +36,7 @@
+ void UpdateFontSizeList( long *, wList_p, wIndex_t );
+ long GetFontSize(long);
+ long GetFontSizeIndex(long size);
++void wSetSelectedFontSize(wFontSize_t size);
+
+ static wMenu_p textPopupM;
+
diff --git a/debian/patches/series b/debian/patches/series
index c6c3550..31439fa 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0900-spelling-errors.patch
+0901-implicit-function-declaration.patch