Search
j0ke.net Open Build Service
>
Projects
>
server:search
>
xapian-omega
> xapian-omega-1.0.4_gcc43.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File xapian-omega-1.0.4_gcc43.patch of Package xapian-omega
Index: htmlparse.cc =================================================================== --- htmlparse.cc.orig +++ htmlparse.cc @@ -27,8 +27,9 @@ #include <algorithm> using std::find; using std::find_if; -#include <stdio.h> -#include <stdlib.h> +#include <cstdio> +#include <cstdlib> +#include <cstring> #include <ctype.h> #include "htmlparse.h" Index: commonhelp.cc =================================================================== --- commonhelp.cc.orig +++ commonhelp.cc @@ -22,6 +22,7 @@ #include <iostream> #include <string> +#include <cstring> #include <xapian.h> Index: diritor.cc =================================================================== --- diritor.cc.orig +++ diritor.cc @@ -22,6 +22,7 @@ #include "diritor.h" #include "safeerrno.h" +#include <cstring> using namespace std; Index: scriptindex.cc =================================================================== --- scriptindex.cc.orig +++ scriptindex.cc @@ -34,7 +34,8 @@ #include <vector> #include "safeerrno.h" -#include <stdio.h> +#include <cstdio> +#include <cstring> #include <time.h> #include "safeunistd.h" Index: omega.cc =================================================================== --- omega.cc.orig +++ omega.cc @@ -23,9 +23,10 @@ #include <config.h> -#include <assert.h> -#include <stdio.h> -#include <time.h> +#include <cassert> +#include <cstdio> +#include <cstring> +#include <ctime> #include <algorithm> #include <iostream>