slackbuilds_ponce/desktop/gmrun/patches/30-fix-gcc-4.3-build.patch
Edinaldo P.Silva e3a478c576 desktop/gmrun: New maintainer + add manpage & patches.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2017-03-10 09:50:48 +00:00

27 lines
905 B
Diff

# Description: include missing headers
# Author: Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
Index: gmrun-0.9.2/src/ci_string.h
===================================================================
--- gmrun-0.9.2.orig/src/ci_string.h 2010-02-03 12:31:31.323767018 +0800
+++ gmrun-0.9.2/src/ci_string.h 2010-02-03 12:31:38.822001700 +0800
@@ -8,6 +8,7 @@
#include <string>
#include <ctype.h>
+#include <cstring>
struct ci_char_traits : public std::char_traits<char>
{
Index: gmrun-0.9.2/src/gtkcompletionline.cc
===================================================================
--- gmrun-0.9.2.orig/src/gtkcompletionline.cc 2010-02-03 12:31:43.951768512 +0800
+++ gmrun-0.9.2/src/gtkcompletionline.cc 2010-02-03 12:31:51.199767425 +0800
@@ -30,6 +30,7 @@
#include <sstream>
#include <string>
#include <vector>
+#include <cstring>
using namespace std;
#include "gtkcompletionline.h"