File: fix_include_path.patch

package info (click to toggle)
freefem%2B%2B 4.15%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 54,536 kB
  • sloc: cpp: 244,534; ansic: 32,568; makefile: 4,177; sh: 2,822; fortran: 1,115; perl: 865; pascal: 452; awk: 295; f90: 32; exp: 16
file content (15 lines) | stat: -rw-r--r-- 484 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Francois Mazen <francois@mzf.fr>
Description: Add Debian include path in ff-c++.
Forwarded: not-needed

--- a/plugin/seq/load.link.in
+++ b/plugin/seq/load.link.in
@@ -35,6 +35,8 @@
 	INCFF="'-I@FFAPPLI_INC@'"
     elif [ -f '@ff_prefix_dir@/include/ff++.hpp' ] ; then
 	INCFF="'-I@ff_prefix_dir@/include'"
+    elif [ -f '/usr/include/freefem++/ff++.hpp' ] ; then
+	INCFF="'-I/usr/include/freefem++'"
     else
 	ff=`which freefem++.exe`;
 	ffinc=`dirname "$ff"`/seq/include