From 24fd814c326e282c4321965c31f341dad77e270d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 8 Jan 2021 11:28:34 +0000 Subject: gentoo resync : 08.01.2021 --- app-crypt/eid-mw/files/use-printf-in-Makefile.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 app-crypt/eid-mw/files/use-printf-in-Makefile.patch (limited to 'app-crypt/eid-mw/files/use-printf-in-Makefile.patch') diff --git a/app-crypt/eid-mw/files/use-printf-in-Makefile.patch b/app-crypt/eid-mw/files/use-printf-in-Makefile.patch new file mode 100644 index 000000000000..5b4ef2adc07e --- /dev/null +++ b/app-crypt/eid-mw/files/use-printf-in-Makefile.patch @@ -0,0 +1,21 @@ +diff -ur a/plugins_tools/eid-viewer/Makefile.am b/plugins_tools/eid-viewer/Makefile.am +--- a/plugins_tools/eid-viewer/Makefile.am 2020-08-19 15:32:50.000000000 +0200 ++++ b/plugins_tools/eid-viewer/Makefile.am 2020-12-21 23:07:49.980421703 +0200 +@@ -125,13 +125,13 @@ + SUBDIRS = . gtk/po test uml + + resources/%.c: resources/%.png +- echo -e "#include \n#if __GNUC__ >= 4\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wpointer-sign\"\n#endif\n" > $@ ++ printf '%s\n' '#include ' '#if __GNUC__ >= 4' '#pragma GCC diagnostic push' '#pragma GCC diagnostic ignored "-Wpointer-sign"' '#endif' > $@ + gdk-pixbuf-csource --struct --extern --name `basename $^ .png` $^ >> $@ +- echo -e "#pragma GCC diagnostic pop\n" >> $@ ++ printf '%s\n' '#pragma GCC diagnostic pop' >> $@ + resources/%.c: resources/%.jpg +- echo -e "#include \n#if __GNUC__ >= 4\n#pragma GCC diagnostic push\n#pragma GCC diagnostic ignored \"-Wpointer-sign\"\n#endif\n" > $@ ++ printf '%s\n' '#include ' '#if __GNUC__ >= 4' '#pragma GCC diagnostic push' '#pragma GCC diagnostic ignored "-Wpointer-sign"' '#endif' > $@ + gdk-pixbuf-csource --struct --extern --name `basename $^ .jpg` $^ >> $@ +- echo -e "#pragma GCC diagnostic pop\n" >> $@ ++ printf '%s\n' '#pragma GCC diagnostic pop' >> $@ + + BUILT_SOURCES = gtk/viewer_glade.h \ + resources/coat_of_arms_nl.c \ -- cgit v1.2.3