summarylogtreecommitdiffstats
path: root/clang-FTBFS.patch
diff options
context:
space:
mode:
authorLuca D'Amico2023-05-12 16:26:59 +0200
committerLuca D'Amico2023-05-12 16:26:59 +0200
commit749b1599fea4d3707de38c4abfb8edcbe3be9f9b (patch)
tree839f00157e20a0e1824ece32c85bd2def361206f /clang-FTBFS.patch
parent127a3947e47d4126690bd826233ec377d1ecfc4e (diff)
downloadaur-tuxpuck.tar.gz
updated to latest version
Diffstat (limited to 'clang-FTBFS.patch')
-rw-r--r--clang-FTBFS.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/clang-FTBFS.patch b/clang-FTBFS.patch
new file mode 100644
index 000000000000..f9449689c698
--- /dev/null
+++ b/clang-FTBFS.patch
@@ -0,0 +1,27 @@
+From: Alexander <sanek23994@gmail.com>
+Date: Sat, 5 Jul 2014 22:13:12 +0200
+Subject: clang FTBFS
+
+Fix a FTBFS with the clang compiler due to uninitialized variables in
+ttf2font.c.
+
+Bug: https://bugs.debian.org/753064
+Forwarded: no
+---
+ utils/ttf2font.c | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/utils/ttf2font.c b/utils/ttf2font.c
+index 01ce00a..5300708 100644
+--- a/utils/ttf2font.c
++++ b/utils/ttf2font.c
+@@ -47,7 +47,8 @@ int main(int argc, char **argv)
+ {
+ FT_Library ftl;
+ FT_Face face;
+- FT_UInt xsize, ysize;
++ FT_UInt xsize = 0;
++ FT_UInt ysize = 0;
+ unsigned char ch;
+ FILE *out = NULL;
+