diff options
| author | Alejandro Soto <alejandro@34project.org> | 2023-04-26 15:14:46 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2023-04-26 15:14:46 -0600 |
| commit | 1441dd2bb718dde6e89de87a41aed390785a7d56 (patch) | |
| tree | 3020d1bb6a9460969003f9a65b78cb9745a84473 /pkgs/simple-scalar/0004-stdarg.h-instead-of-varargs.h.patch | |
| parent | e99f4ecb659d5a00c43965e506f50ec5d71b0c02 (diff) | |
pkgs: add simple-scalar
Diffstat (limited to 'pkgs/simple-scalar/0004-stdarg.h-instead-of-varargs.h.patch')
| -rw-r--r-- | pkgs/simple-scalar/0004-stdarg.h-instead-of-varargs.h.patch | 25 |
1 files changed, 25 insertions, 0 deletions
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 <alejandro@34project.org> +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 <varargs.h> ++#include <stdarg.h> + /* On some systems stdio.h includes stdarg.h; + we must bring in varargs.h first. */ + #include <stdio.h> +-- +2.38.4 + |
