Package: python-numarray
Version: 1.5.0-1
Severity: normal
Tags: patch

Hi,

Attached is the diff for my python-numarray 1.5.0-1.1 NMU.

-- 
Homepage: http://www.sesse.net/
diff -u python-numarray-1.5.0/Include/numarray/arraybase.h 
python-numarray-1.5.0/Include/numarray/arraybase.h
--- python-numarray-1.5.0/Include/numarray/arraybase.h
+++ python-numarray-1.5.0/Include/numarray/arraybase.h
@@ -1,6 +1,8 @@
 #if !defined(_arraybase_h)
 #define _arraybase_h 1
 
+#include <Python.h>
+
 #if defined(SIZEOF_VOID_P)
 #if SIZEOF_VOID_P == 8
 #define LP64 1
diff -u python-numarray-1.5.0/debian/changelog 
python-numarray-1.5.0/debian/changelog
--- python-numarray-1.5.0/debian/changelog
+++ python-numarray-1.5.0/debian/changelog
@@ -1,3 +1,11 @@
+python-numarray (1.5.0-1.1) unstable; urgency=low
+
+  * Non-Maintainer Upload.
+  * Include Python.h from all header files using the PyObject_HEAD
+    macro. (Closes: #342875)
+
+ -- Steinar H. Gunderson <[EMAIL PROTECTED]>  Thu, 19 Jan 2006 01:02:39 +0100
+
 python-numarray (1.5.0-1) unstable; urgency=low
 
   * New upstream version.
only in patch2:
unchanged:
--- python-numarray-1.5.0.orig/Include/numarray/cfunc.h
+++ python-numarray-1.5.0/Include/numarray/cfunc.h
@@ -1,6 +1,8 @@
 #if !defined(__cfunc__)
 #define __cfunc__ 1
 
+#include <Python.h>
+
 typedef PyObject *(*CFUNCasPyValue)(void *);
 typedef int (*UFUNC)(long, long, long, void **, long*);
 /* typedef void (*CFUNC_2ARG)(long, void *, void *); */
only in patch2:
unchanged:
--- python-numarray-1.5.0.orig/Include/numarray/nummacro.h
+++ python-numarray-1.5.0/Include/numarray/nummacro.h
@@ -1,6 +1,8 @@
 #if !defined(_ndarraymacro)
 #define _ndarraymacro
 
+#include <Python.h>
+
 /* The structs defined here are private implementation details of numarray
 which are subject to change w/o notice.
 */
only in patch2:
unchanged:
--- python-numarray-1.5.0.orig/Include/numarray/tc.h
+++ python-numarray-1.5.0/Include/numarray/tc.h
@@ -1,5 +1,7 @@
 #if defined(MEASURE_TIMING)
 
+#include <Python.h>
+
 /* ----------------------------------------------------------------------- */
 
 typedef struct 

Reply via email to