mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 19:17:35 +00:00
Ports: Update oksh's patches to use git patches
This commit is contained in:
parent
bb8febffac
commit
7077ce7779
6 changed files with 93 additions and 2 deletions
|
@ -0,0 +1,59 @@
|
|||
From 126df60a9ec402c3a87710500d44b647615c0d8d Mon Sep 17 00:00:00 2001
|
||||
From: Daniel Bertalan <dani@danielbertalan.dev>
|
||||
Date: Fri, 5 Nov 2021 22:32:10 +0100
|
||||
Subject: [PATCH 5/5] 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
|
||||
--
|
||||
2.36.1
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue