uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead

https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948
this can do it nicely.

Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
Anton Arapov 2021-04-03 12:58:10 +02:00 committed by Alan Daniels
commit 56de2bcd43
30691 changed files with 3076956 additions and 0 deletions

View file

@ -0,0 +1,23 @@
Patch origin: http://sophie.zarb.org/rpms/68e90a72e0052022f558148d97c9ea2a/files/3
diff --git a/configure.ac b/configure.ac
index b7a30e9..3768ae9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -8,6 +8,7 @@ AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AM_GNU_GETTEXT([external])
+AM_GNU_GETTEXT_REQUIRE_VERSION([0.21])
dnl Extra params
CUPSCONFIGPATH=""
@@ -30,8 +31,6 @@ AC_SUBST(XLIBS)
dnl Checks for header files
-dnl internationalization macros
-AM_GNU_GETTEXT
# Forte Compiler ############################################################

View file

@ -0,0 +1,22 @@
Patch source: http://sophie.zarb.org/rpms/68e90a72e0052022f558148d97c9ea2a/files/1
--- a/libgtklp/libgtklp.c 2020-08-25 17:31:52.427298559 +0100
+++ b/libgtklp/libgtklp.c 2020-08-25 17:36:37.728154682 +0100
@@ -939,7 +939,7 @@
gtk_widget_show(pixmapwid);
if (strlen(gerror2) == 0)
- snprintf(tmplabel, (size_t) MAXLINE, gerror1);
+ snprintf(tmplabel, (size_t) MAXLINE, "%s", gerror1);
else
snprintf(tmplabel, (size_t) MAXLINE, gerror1, gerror2);
label = gtk_label_new(tmplabel);
@@ -973,7 +973,7 @@
#endif
} else {
if (strlen(gerror2) == 0)
- g_warning(gerror1);
+ g_warning("%s", gerror1);
else
g_warning(gerror1, gerror2);
}