diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2024-08-24 11:01:42 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2024-08-24 11:07:03 +0200 |
commit | e9a398d7b35af61ca9203c6dfc081ea1276ffe82 (patch) | |
tree | 94e0476bd2f5611f0d9b1c57e3d219571da10a0e | |
parent | 46c63af02385c3d8b8c8e366d00c26fb17158e3d (diff) | |
download | userdrake-e9a398d7b35af61ca9203c6dfc081ea1276ffe82.tar userdrake-e9a398d7b35af61ca9203c6dfc081ea1276ffe82.tar.gz userdrake-e9a398d7b35af61ca9203c6dfc081ea1276ffe82.tar.bz2 userdrake-e9a398d7b35af61ca9203c6dfc081ea1276ffe82.tar.xz userdrake-e9a398d7b35af61ca9203c6dfc081ea1276ffe82.zip |
Fix undeclared SvGChar
-rw-r--r-- | NEWS | 2 | ||||
-rwxr-xr-x | USER/Makefile.PL | 3 | ||||
-rw-r--r-- | USER/USER.xs | 1 |
3 files changed, 5 insertions, 1 deletions
@@ -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 <utime.h> #include <libuser/user.h> #include <libuser/user_private.h> +#include "Glib/Install/gperl.h" |