Alright, here's the patch.

-mrt

>From 9121aba9ec8786d52c54b3847d187ad960d0ce6d Mon Sep 17 00:00:00 2001
From: "Matthew R. Trower" <d...@blackshard.net>
Date: Tue, 26 Jun 2018 22:47:09 -0500
Subject: [PATCH] Fix DtMail compilation on Sun with GCC

---
 cde/programs/dtmail/dtmail/FindDialog.C | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cde/programs/dtmail/dtmail/FindDialog.C b/cde/programs/dtmail/dtmail/FindDialog.C
index cef88a7d..21567c9b 100644
--- a/cde/programs/dtmail/dtmail/FindDialog.C
+++ b/cde/programs/dtmail/dtmail/FindDialog.C
@@ -734,7 +734,7 @@ FindDialog::compareMessage(DtMailMessageHandle	  handle)
 // See if string 'toFind' is anyware in string 'str'.
 // A case-insensitive version of strstr().
 //
-static const char	*
+const char	*
 FindDialog::strcasestr(const char *str, const char *toFind)
 {
   const char	*result = NULL;		// Default to not found.
-- 
2.16.2

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to