Unbreak with clang 15: fix function detection
base-gcc test by tb@
This commit is contained in:
parent
9ea4a48176
commit
606049478a
|
@ -1,6 +1,7 @@
|
|||
COMMENT = provide an interface to create pseudo ttys
|
||||
|
||||
DISTNAME = IO-Tty-1.17
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = devel
|
||||
|
||||
|
|
|
@ -0,0 +1,14 @@
|
|||
Avoid invalid char to pointer conversion, fatal with clang 15.
|
||||
|
||||
Index: Makefile.PL
|
||||
--- Makefile.PL.orig
|
||||
+++ Makefile.PL
|
||||
@@ -163,7 +163,7 @@ main ()
|
||||
#if defined (__stub_$f) || defined (__stub___$f)
|
||||
choke me
|
||||
#else
|
||||
-f = $f ();
|
||||
+f = $f;
|
||||
#endif
|
||||
|
||||
;
|
Loading…
Reference in New Issue