File: drop-fmemopen.h.patch

package info (click to toggle)
hhsuite 3.3.0%2Bds-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,084 kB
  • sloc: cpp: 24,690; perl: 5,022; python: 3,017; ansic: 2,556; sh: 111; makefile: 111
file content (31 lines) | stat: -rw-r--r-- 869 bytes parent folder | download | duplicates (4)
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
Description: drop include for fmemopen
 According to the comments in the included files, this wrapper is only required for MacOS X and BSD.
Author: Sascha Steinbiss <satta@debian.org>
--- hhsuite.orig/src/hhfunc.cpp
+++ hhsuite/src/hhfunc.cpp
@@ -1,5 +1,4 @@
 #include "hhfunc.h"
-#include "ext/fmemopen.h"
 #include "context_data.crf.h"
 
 #include <sstream>
--- hhsuite.orig/src/hhprefilter.cpp
+++ hhsuite/src/hhprefilter.cpp
@@ -6,7 +6,6 @@
  */
 
 #include "hhprefilter.h"
-#include "ext/fmemopen.h"
 #include "cs219.lib.h"
 
 #define SWAP(tmp, arg1, arg2) tmp = arg1; arg1 = arg2; arg2 = tmp;
--- hhsuite.orig/src/cs/cstranslate_app.h
+++ hhsuite/src/cs/cstranslate_app.h
@@ -32,7 +32,6 @@
 #include "a3m_compress.h"
 #include "ffindexdatabase.h"
 
-#include "ext/fmemopen.h"
 #include "context_data.lib.h"
 //include "context_data.crf.h"
 #include "cs219.lib.h"