File: 02_g%2B%2B-4.6_ftbfs_fix.patch

package info (click to toggle)
mysql%2B%2B 3.2.1%2Bpristine-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 13,624 kB
  • ctags: 11,252
  • sloc: cpp: 35,659; sh: 3,034; makefile: 951; perl: 786
file content (22 lines) | stat: -rw-r--r-- 477 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
Author: Roberto C. Sanchez <roberto@connexer.com>
Description: Allows building with g++ 4.6.
--- mysql++-3.2.0.orig/lib/refcounted.h
+++ mysql++-3.2.0/lib/refcounted.h
@@ -29,6 +29,7 @@
 #define MYSQLPP_REFCOUNTED_H
 
 #include <memory>
+#include <cstddef>
 
 #include <stddef.h>
 
--- mysql++-3.2.0.orig/ssx/genv2.cpp
+++ mysql++-3.2.0/ssx/genv2.cpp
@@ -36,6 +36,7 @@
 #include <iostream>
 #include <fstream>
 #include <typeinfo>
+#include <cstring>
 
 using namespace std;