From 48ca75555522716f0f686dcae3dd6cf3d8ad714d Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 31 May 2022 11:05:19 +0100 Subject: removed idea of repos --- repo/motif/06-cast-size_t-to-int.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 repo/motif/06-cast-size_t-to-int.patch (limited to 'repo/motif/06-cast-size_t-to-int.patch') diff --git a/repo/motif/06-cast-size_t-to-int.patch b/repo/motif/06-cast-size_t-to-int.patch new file mode 100644 index 0000000..b5ce9c6 --- /dev/null +++ b/repo/motif/06-cast-size_t-to-int.patch @@ -0,0 +1,17 @@ +Description: To prevent build failure during building with Hardening options + enabled due to "format '%d' expects argument of type 'int', but argument 5 has + type 'size_t'", the fifth argument is cast to integer on the input. +Author: Paul Gevers +Updated: 13-01-2013 + +--- a/tools/wml/wmloutkey.c ++++ b/tools/wml/wmloutkey.c +@@ -627,7 +627,7 @@ + fprintf (outfil, " {%s, %s, %d, %s, \"%s\"},\n", + tkclass, + tksym, +- strlen(tokstg), ++ (int)strlen(tokstg), + tktoken, + tokstg); + if ( (int)strlen(tokstg) > *maxlen ) -- cgit v1.2.1