mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-29 14:14:45 +03:00
05cb72e2c3
This port has been broken since the introduction of `sys_signame` (which was almost 3 months ago), as oksh provided a conflicting definition for it. This commit also cleans up some of the patches, defining the appropriate config macro instead of commenting out code. When I opened this program's GitHub releases page, I noticed that a new version was available, so I also did the update.
48 lines
1.2 KiB
Diff
48 lines
1.2 KiB
Diff
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
|