mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 02:26:38 -04:00
Missing ecvt() function prototype was causing couple of warnings which had become hard errors with recent versions of GCC (14+). Getting rid of USE_GCC, while desirable, is not straightforward and requires more work. While here, set the TEST_TARGET which is part of the upstream's default ALL_TARGET, but we override that. PR: 281238
11 lines
400 B
C
11 lines
400 B
C
--- engine/forth.h.orig 2013-10-11 21:31:28 UTC
|
|
+++ engine/forth.h
|
|
@@ -490,7 +490,7 @@ extern double asinh(double r1);
|
|
extern double acosh(double r1);
|
|
#endif
|
|
#ifndef HAVE_ECVT
|
|
-/* extern char* ecvt(double x, int len, int* exp, int* sign);*/
|
|
+extern char* ecvt(double x, int len, int* exp, int* sign);
|
|
#endif
|
|
#ifndef HAVE_MEMMOVE
|
|
/* extern char *memmove(char *dest, const char *src, long n); */
|