1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00

- fix build with gcc4x

This commit is contained in:
Michael Landin 2006-12-27 16:20:50 +00:00
parent ae828ae6cf
commit 92bd7c9a37
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=180869
3 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- include/grep.h.orig
+++ include/grep.h
@@ -45,7 +45,7 @@
trig.push_back(trigger);
}
- inline const std::string& grep::gettrigger(const int n) const {
+ inline const std::string& gettrigger(const int n) const {
return trig[n];
}

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- include/guess.h.orig
+++ include/guess.h
@@ -38,7 +38,7 @@
public:
guess();
- inline const std::string guess::str() const {
+ inline const std::string str() const {
return procmaillog;
}

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- include/initcurs.h.orig
+++ include/initcurs.h
@@ -41,7 +41,7 @@
initcurs();
~initcurs();
- inline bool initcurs::hascolors() const {
+ inline bool hascolors() const {
return colors;
}