From e9a398d7b35af61ca9203c6dfc081ea1276ffe82 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Sat, 24 Aug 2024 11:01:42 +0200 Subject: Fix undeclared SvGChar --- NEWS | 2 ++ USER/Makefile.PL | 3 ++- USER/USER.xs | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 08fc778..8249a90 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,5 @@ +- Fix compiling with gcc-14 + Version 2.20 - 17 Feb 2021 - updated translations diff --git a/USER/Makefile.PL b/USER/Makefile.PL index 53d8cdf..309da57 100755 --- a/USER/Makefile.PL +++ b/USER/Makefile.PL @@ -1,4 +1,5 @@ use ExtUtils::MakeMaker; +use Config; $Verbose=1; # See lib/ExtUtils/MakeMaker.pm for details of how to influence # the contents of the Makefile that is written. @@ -12,7 +13,7 @@ WriteMakefile( 'OBJECT' => 'USER.o', # link all the C files too 'LIBS' => $libs, # e.g., '-lm' 'DEFINE' => '-DPACKAGE_NAME=\"userdrake\"', # e.g., '-DHAVE_SOMETHING' - 'INC' => "`pkg-config --cflags libuser`", # e.g., '-I. -I/usr/include/other' + 'INC' => "`pkg-config --cflags libuser` -I $Config{installvendorarch}", # e.g., '-I. -I/usr/include/other' 'XSPROTOARG' => '-noprototypes', 'TYPEMAPS' => [ '../perlobject.map' ], ); diff --git a/USER/USER.xs b/USER/USER.xs index ff9fc41..1e64462 100644 --- a/USER/USER.xs +++ b/USER/USER.xs @@ -29,6 +29,7 @@ #include #include #include +#include "Glib/Install/gperl.h" -- cgit v1.2.1