File: 01_change_include_paths.patch

package info (click to toggle)
pycxx 7.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,224 kB
  • ctags: 2,741
  • sloc: cpp: 6,563; python: 841; sh: 102; ansic: 60; makefile: 54
file content (41 lines) | stat: -rw-r--r-- 1,158 bytes parent folder | download
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
41
From 94f4f62f73fbf61f364f0fc80195263898a64aea Mon Sep 17 00:00:00 2001
From: SVN-Git Migration <python-modules-team@lists.alioth.debian.org>
Date: Thu, 8 Oct 2015 10:26:03 -0700
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