mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
* Add patch to remove intltool's erroneous checking of perl from
configure script.
* Add patch to fix implicit declaration of functions.
* Add patch to fix macOS 11+ libtool bug.
* intltool is only needed at build time.
* gettext is not needed; only gettext-runtime is needed.
* Use --disable-talkfilters and --disable-generic to prevent searching
for opportunistic dependencies.
* Don't add -I${prefix}/include to CFLAGS since MacPorts already puts it
in CPPFLAGS.
13 lines
528 B
Diff
13 lines
528 B
Diff
Fix:
|
|
conftest.c:28:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
|
|
--- configure.orig 2022-01-26 17:59:23.000000000 -0600
|
|
+++ configure 2022-01-26 18:00:34.000000000 -0600
|
|
@@ -4282,6 +4282,7 @@
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
/* end confdefs.h. */
|
|
#include <ctype.h>
|
|
+#include <stdlib.h>
|
|
#if ((' ' & 0x0FF) == 0x020)
|
|
# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|