diff options
author | Hunter Sezen <orbea@fredslev.dk> | 2018-03-19 22:33:55 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-03-19 22:33:55 +0000 |
commit | 12e3c47e472eb2c2f34cb5778514de9d22df529b (patch) | |
tree | 257d805d09127148579ff1e49a40334e8f6da910 /misc/langdrill/010_cxx_standard.diff | |
parent | b95c1cf740ec45c94acb9b8e77a4a2bd51409e0a (diff) | |
download | slackbuilds-12e3c47e472eb2c2f34cb5778514de9d22df529b.tar.gz |
misc/langdrill: Added (language drill tests).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc/langdrill/010_cxx_standard.diff')
-rw-r--r-- | misc/langdrill/010_cxx_standard.diff | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/misc/langdrill/010_cxx_standard.diff b/misc/langdrill/010_cxx_standard.diff new file mode 100644 index 0000000000..1a22aaddcc --- /dev/null +++ b/misc/langdrill/010_cxx_standard.diff @@ -0,0 +1,33 @@ +--- langdrill-0.3.orig/src/config.hh ++++ langdrill-0.3/src/config.hh +@@ -31,7 +31,7 @@ + + #include <stdio.h> + #include <string.h> +-#include <fstream.h> ++#include <fstream> + #include <stdlib.h> + #include <vdk/dlist.h> + +--- langdrill-0.3.orig/src/main.hh ++++ langdrill-0.3/src/main.hh +@@ -29,7 +29,7 @@ + #ifndef __main_hh__ + #define __main_hh__ + +-#include <fstream.h> ++#include <fstream> + #include <unistd.h> + #include <time.h> + +--- langdrill-0.3.orig/src/config.cc ++++ langdrill-0.3/src/config.cc +@@ -347,7 +347,7 @@ + char message[MAX_CHARS_FOR_MESSAGE]; + iconv_t direct = (iconv_t)-1, reverse = (iconv_t)-1; + +- ifstream in(_name); ++ std::ifstream in(_name); + while(1){ + in.getline(buff,MAX_CHARS_FOR_STRING); + lineNr++; |