mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-02 11:09:29 +00:00
Fix build on Python 2.4.
This commit is contained in:
parent
7fa7bdf2b6
commit
dd3cadba79
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123166
@ -1,6 +1,20 @@
|
||||
--- python/src/pygracetmpl.cc.orig Mon Aug 16 18:25:45 2004
|
||||
+++ python/src/pygracetmpl.cc Mon Aug 16 18:31:35 2004
|
||||
@@ -179,7 +179,7 @@
|
||||
--- python/src/pygracetmpl.cc.orig Sat Oct 12 05:12:57 2002
|
||||
+++ python/src/pygracetmpl.cc Sun Dec 5 12:35:53 2004
|
||||
@@ -1,11 +1,10 @@
|
||||
#include <gracetmpl.h>
|
||||
|
||||
-#include <Python.h>
|
||||
-#include <Numeric/arrayobject.h> /* numerical python header */
|
||||
-
|
||||
#include <string.h>
|
||||
#include <complex>
|
||||
#include <set>
|
||||
+#include <Python.h>
|
||||
+#include <Numeric/arrayobject.h> /* numerical python header */
|
||||
|
||||
/********************************************************/
|
||||
/******************* graceTMPL.data type ***************/
|
||||
@@ -179,7 +178,7 @@
|
||||
int rows = dataArray->dimensions[1];
|
||||
if(cols > 4)
|
||||
cols = 4;
|
||||
|
@ -2,8 +2,8 @@ bin/gracetmpl-config
|
||||
bin/gracetmpldemo
|
||||
include/gracetmpl.h
|
||||
lib/libgracetmpl.a
|
||||
include/python2.3/graceTMPL/gracetmpl.h
|
||||
@dirrm include/python2.3/graceTMPL
|
||||
%%PYTHON_INCLUDEDIR%%/graceTMPL/gracetmpl.h
|
||||
@dirrm %%PYTHON_INCLUDEDIR%%/graceTMPL
|
||||
%%PYTHON_SITELIBDIR%%/graceTMPL/graceTMPL.so
|
||||
%%PYTHON_SITELIBDIR%%/graceTMPL.pth
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/graceTMPL
|
||||
|
Loading…
x
Reference in New Issue
Block a user