serenity/Ports/oksh/patches/0005-Don-t-emit-the-default-pconfig.h.patch

57 lines
1.5 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Daniel Bertalan <dani@danielbertalan.dev>
Date: Fri, 5 Nov 2021 22:32:10 +0100
Subject: [PATCH] Don't emit the default pconfig.h
---
configure | 35 -----------------------------------
1 file changed, 35 deletions(-)
diff --git a/configure b/configure
index 710dc3b..0625338 100755
--- a/configure
+++ b/configure
@@ -912,42 +912,7 @@ if [ $doconfigure -eq 0 ] ; then
fi
cflags="$cflags -std=gnu99"
echo "OK, I trust you."
- echo "I'll assume you have gcc/clang and little else."
- echo "Edit Makefile and pconfig.h if needed."
echo "Good luck!"
- cat << EOF > pconfig.h
-/* This file automatically generated by configure. */
-
-#ifndef __dead
-#define __dead __attribute__((__noreturn__))
-#endif
-
-/* #define __attribute__(x) */
-
-/* #define HAVE_ASPRINTF */
-/* #define HAVE_CONFSTR */
-#define NO_CURSES
-/* #define HAVE_ISSETUGID */
-/* #define HAVE_GETAUXVAL */
-/* #define HAVE_PLEDGE */
-/* #define HAVE_REALLOCARRAY */
-/* #define HAVE_SETRESGID */
-/* #define HAVE_SETRESUID */
-/* #define HAVE_SIG_T */
-/* #define HAVE_SRAND_DETERMINISTIC */
-#define HAVE_ST_MTIM
-/* #define HAVE_ST_MTIMESPEC */
-/* #define HAVE_STRAVIS */
-/* #define HAVE_STRLCAT */
-/* #define HAVE_STRLCPY */
-/* #define HAVE_STRTONUM */
-/* #define HAVE_STRUNVIS */
-/* #define HAVE_SIGLIST */
-/* #define HAVE_SIGNAME */
-/* #define HAVE_TIMERADD */
-/* #define HAVE_TIMERCLEAR */
-/* #define HAVE_TIMERSUB */
-EOF
Makefile
exit 0