diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-01 13:59:40 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-01 13:59:40 +0000 |
commit | bebdc180f5bd5c9e47a40c7e22b842828e4bb083 (patch) | |
tree | 19f3e0d736b9ac57393d5e460ecc141fbcdc800b /c2esp-ftbfs-gcc7.patch | |
parent | 43a1905d02a474924973dace6d2d5fdab2e5ba8c (diff) |
automatic import of c2espopeneuler24.03_LTSopeneuler23.09
Diffstat (limited to 'c2esp-ftbfs-gcc7.patch')
-rw-r--r-- | c2esp-ftbfs-gcc7.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/c2esp-ftbfs-gcc7.patch b/c2esp-ftbfs-gcc7.patch new file mode 100644 index 0000000..8b65eaa --- /dev/null +++ b/c2esp-ftbfs-gcc7.patch @@ -0,0 +1,23 @@ +diff -up c2esp-27/src/c2espC.c.ftbfs-gcc7 c2esp-27/src/c2espC.c +diff -up c2esp-27/src/c2espcommon.c.ftbfs-gcc7 c2esp-27/src/c2espcommon.c +--- c2esp-27/src/c2espcommon.c.ftbfs-gcc7 2017-03-03 14:10:28.018395128 +0100 ++++ c2esp-27/src/c2espcommon.c 2017-03-03 14:19:26.967383931 +0100 +@@ -24,6 +24,7 @@ + #include <fcntl.h> //files + #include <sys/stat.h> //for chmod + #include <time.h> //time functions used for debugging ++#include <stdlib.h> + + #if HAVE_CUPSFILTERS_DRIVER_H == 1 + #include <cupsfilters/driver.h> //has the dither functions +diff -up c2esp-27/src/c2espcommon.h.ftbfs-gcc7 c2esp-27/src/c2espcommon.h +--- c2esp-27/src/c2espcommon.h.ftbfs-gcc7 2017-03-03 14:25:54.186413550 +0100 ++++ c2esp-27/src/c2espcommon.h 2017-03-03 14:26:53.105961575 +0100 +@@ -21,6 +21,7 @@ + #include <cups/sidechannel.h> //FlushBackChannel, and the side channel functions and constants + #include <fcntl.h> //files + #include <time.h> //time functions used for debugging ++#include <stdio.h> //library for stderr, stdout, stdin - because of gcc7, it needed to be included + + /* + * Constants... |