From 1441dd2bb718dde6e89de87a41aed390785a7d56 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Wed, 26 Apr 2023 15:14:46 -0600 Subject: pkgs: add simple-scalar --- .../0004-stdarg.h-instead-of-varargs.h.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/simple-scalar/0004-stdarg.h-instead-of-varargs.h.patch (limited to 'pkgs/simple-scalar/0004-stdarg.h-instead-of-varargs.h.patch') diff --git a/pkgs/simple-scalar/0004-stdarg.h-instead-of-varargs.h.patch b/pkgs/simple-scalar/0004-stdarg.h-instead-of-varargs.h.patch new file mode 100644 index 0000000..5e8fc7b --- /dev/null +++ b/pkgs/simple-scalar/0004-stdarg.h-instead-of-varargs.h.patch @@ -0,0 +1,25 @@ +From 12c34c7ff8e4e00ba54bd0b90f2ca6905109cb5d Mon Sep 17 00:00:00 2001 +From: Alejandro Soto +Date: Wed, 26 Apr 2023 13:35:57 -0600 +Subject: [PATCH 3/3] stdarg.h instead of varargs.h + +--- + protoize.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/gcc-2.7.2.3/protoize.c b/gcc-2.7.2.3/protoize.c +index 9728bf2..fb82ef0 100644 +--- a/gcc-2.7.2.3/protoize.c ++++ b/gcc-2.7.2.3/protoize.c +@@ -57,7 +57,7 @@ Boston, MA 02111-1307, USA. */ + #define _POSIX_SOURCE + #endif + +-#include ++#include + /* On some systems stdio.h includes stdarg.h; + we must bring in varargs.h first. */ + #include +-- +2.38.4 + -- cgit v1.2.3