File: 01_change_include_paths.patch

package info (click to toggle)
pycxx 7.1.8-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,392 kB
  • sloc: cpp: 6,767; python: 1,138; sh: 85; ansic: 60; makefile: 18
file content (40 lines) | stat: -rw-r--r-- 1,070 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From: Julian Taylor <jtaylor.debian@googlemail.com>
Date: Sat, 16 Apr 2011 01:47:47 +0200
Subject: fix includes to match packaged layout

Forwarded: not-needed

Patch-Name: 01_change_include_paths.patch
---
 Src/cxxextensions.c | 4 ++--
 Src/cxxsupport.cxx  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Src/cxxextensions.c b/Src/cxxextensions.c
index 28a8e1d..cfab556 100644
--- a/Src/cxxextensions.c
+++ b/Src/cxxextensions.c
@@ -37,7 +37,7 @@
 #include "CXX/WrapPython.h"
 
 #if PY_MAJOR_VERSION == 2
-#include "Src/Python2/cxxextensions.c"
+#include "Python2/cxxextensions.c"
 #else
-#include "Src/Python3/cxxextensions.c"
+#include "Python3/cxxextensions.c"
 #endif
diff --git a/Src/cxxsupport.cxx b/Src/cxxsupport.cxx
index 1f2fb43..946e60d 100644
--- a/Src/cxxsupport.cxx
+++ b/Src/cxxsupport.cxx
@@ -37,7 +37,7 @@
 #include "CXX/WrapPython.h"
 
 #if PY_MAJOR_VERSION == 2
-#include "Src/Python2/cxxsupport.cxx"
+#include "Python2/cxxsupport.cxx"
 #else
-#include "Src/Python3/cxxsupport.cxx"
+#include "Python3/cxxsupport.cxx"
 #endif