forked from pool/perl-Inline-Python
-
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Inline-Python?expand=0&rev=2
This commit is contained in:
committed by
Git OBS Bridge
parent
51c28d0721
commit
c51b3374c9
@@ -1,6 +1,16 @@
|
||||
--- Inline-Python-0.30/perlmodule.c.orig 2009-07-21 16:38:37.000000000 +0200
|
||||
+++ Inline-Python-0.30/perlmodule.c 2009-12-04 01:04:53.000000000 +0100
|
||||
@@ -5,7 +5,7 @@ extern "C" {
|
||||
---
|
||||
Python.xs | 2 +-
|
||||
myPython.h | 23 +++++++++++++++++++++++
|
||||
perlmodule.c | 2 +-
|
||||
py2pl.c | 2 +-
|
||||
util.c | 3 ++-
|
||||
5 files changed, 28 insertions(+), 4 deletions(-)
|
||||
|
||||
Index: Inline-Python-0.35/perlmodule.c
|
||||
===================================================================
|
||||
--- Inline-Python-0.35.orig/perlmodule.c
|
||||
+++ Inline-Python-0.35/perlmodule.c
|
||||
@@ -6,7 +6,7 @@ extern "C" {
|
||||
#include "perl.h"
|
||||
#include "XSUB.h"
|
||||
|
||||
@@ -9,8 +19,10 @@
|
||||
#include "perlmodule.h"
|
||||
#include "py2pl.h"
|
||||
#include "util.h"
|
||||
--- Inline-Python-0.30/util.c.orig 2009-06-30 13:43:21.000000000 +0200
|
||||
+++ Inline-Python-0.30/util.c 2009-12-04 01:01:42.000000000 +0100
|
||||
Index: Inline-Python-0.35/util.c
|
||||
===================================================================
|
||||
--- Inline-Python-0.35.orig/util.c
|
||||
+++ Inline-Python-0.35/util.c
|
||||
@@ -5,7 +5,7 @@ extern "C" {
|
||||
#include "perl.h"
|
||||
#include "XSUB.h"
|
||||
@@ -28,8 +40,10 @@
|
||||
}
|
||||
|
||||
PyObject * get_perl_pkg_subs(PyObject *package) {
|
||||
--- Inline-Python-0.30/myPython.h.orig 2009-12-04 01:00:07.000000000 +0100
|
||||
+++ Inline-Python-0.30/myPython.h 2009-12-04 01:12:42.000000000 +0100
|
||||
Index: Inline-Python-0.35/myPython.h
|
||||
===================================================================
|
||||
--- /dev/null
|
||||
+++ Inline-Python-0.35/myPython.h
|
||||
@@ -0,0 +1,23 @@
|
||||
+// avoid redefined warnings.
|
||||
+#ifdef _XOPEN_SOURCE
|
||||
@@ -54,9 +68,11 @@
|
||||
+
|
||||
+#undef __MY__XOPEN_SOURCE
|
||||
+#undef __MY__POSIX_C_SOURCE
|
||||
--- Inline-Python-0.30/Python.xs.orig 2009-07-20 14:26:48.000000000 +0200
|
||||
+++ Inline-Python-0.30/Python.xs 2009-12-04 01:00:35.000000000 +0100
|
||||
@@ -3,7 +3,7 @@
|
||||
Index: Inline-Python-0.35/Python.xs
|
||||
===================================================================
|
||||
--- Inline-Python-0.35.orig/Python.xs
|
||||
+++ Inline-Python-0.35/Python.xs
|
||||
@@ -4,7 +4,7 @@
|
||||
#include "perl.h"
|
||||
#include "XSUB.h"
|
||||
|
||||
@@ -65,8 +81,10 @@
|
||||
#include "py2pl.h"
|
||||
#include "util.h"
|
||||
|
||||
--- Inline-Python-0.30/py2pl.c.orig 2009-07-08 12:45:47.000000000 +0200
|
||||
+++ Inline-Python-0.30/py2pl.c 2009-12-04 01:02:05.000000000 +0100
|
||||
Index: Inline-Python-0.35/py2pl.c
|
||||
===================================================================
|
||||
--- Inline-Python-0.35.orig/py2pl.c
|
||||
+++ Inline-Python-0.35/py2pl.c
|
||||
@@ -2,7 +2,7 @@
|
||||
#include "perl.h"
|
||||
#include "XSUB.h"
|
||||
|
Reference in New Issue
Block a user