8
0

add initperl_prototype.diff to fix compiler issue

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Inline-Python?expand=0&rev=22
This commit is contained in:
2024-12-18 09:08:46 +00:00
committed by Git OBS Bridge
parent cda19856d9
commit 0c80b4db41
4 changed files with 24 additions and 5 deletions

12
initperl_prototype.diff Normal file
View File

@@ -0,0 +1,12 @@
diff -ur Inline-Python-0.57/Python.xs Inline-Python-0.57_fix/Python.xs
--- Inline-Python-0.57/Python.xs 2022-09-18 13:07:09.299412240 +0200
+++ Inline-Python-0.57_fix/Python.xs 2024-12-18 10:02:00.459704530 +0100
@@ -8,6 +8,8 @@
#include "py2pl.h"
#include "util.h"
+void initperl(void);
+
#ifdef EXPOSE_PERL
#include "perlmodule.h"
#endif