mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
- fix build with gcc41
Obtained from: debian
This commit is contained in:
parent
a85cc535e3
commit
023f009b62
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175063
11
misc/estic/files/patch-itemwin.h
Normal file
11
misc/estic/files/patch-itemwin.h
Normal file
@ -0,0 +1,11 @@
|
||||
--- estic-1.61.orig/spunk/itemwin.h
|
||||
+++ spunk/itemwin.h
|
||||
@@ -54,7 +54,7 @@
|
||||
/* class WindowItem */
|
||||
/*****************************************************************************/
|
||||
|
||||
-
|
||||
+class ItemWindow;
|
||||
|
||||
class WindowItem : public Streamable {
|
||||
|
49
misc/estic/files/patch-str.h
Normal file
49
misc/estic/files/patch-str.h
Normal file
@ -0,0 +1,49 @@
|
||||
--- estic-1.61.orig/spunk/str.h
|
||||
+++ spunk/str.h
|
||||
@@ -91,6 +91,46 @@
|
||||
// Note: This string class may not work with strings greater than INT_MAX or
|
||||
// 0xFFFF, whichever is less
|
||||
|
||||
+// Declare functions and operators which are later 'injected' as friends
|
||||
+// (gcc-4.1 doesn't allow friend injection any more)
|
||||
+
|
||||
+ String ShowControls (const String& S, unsigned Style);
|
||||
+ String HideControls (const String& S);
|
||||
+ String& operator += (String&, const char);
|
||||
+ String& operator += (String&, const char*);
|
||||
+ inline String& operator += (String&, const String&);
|
||||
+ String operator + (const String&, const char);
|
||||
+ String operator + (const String&, const char*);
|
||||
+ String operator + (const String&, const String&);
|
||||
+ String operator + (const char, const String&);
|
||||
+ String operator + (const char*, const String&);
|
||||
+ inline int operator == (const String&, const String&);
|
||||
+ inline int operator != (const String&, const String&);
|
||||
+ inline int operator >= (const String&, const String&);
|
||||
+ inline int operator <= (const String&, const String&);
|
||||
+ inline int operator > (const String&, const String&);
|
||||
+ inline int operator < (const String&, const String&);
|
||||
+ inline int operator == (const char*, const String&);
|
||||
+ inline int operator != (const char*, const String&);
|
||||
+ inline int operator >= (const char*, const String&);
|
||||
+ inline int operator <= (const char*, const String&);
|
||||
+ inline int operator > (const char*, const String&);
|
||||
+ inline int operator < (const char*, const String&);
|
||||
+ inline int operator == (const String&, const char*);
|
||||
+ inline int operator != (const String&, const char*);
|
||||
+ inline int operator >= (const String&, const char*);
|
||||
+ inline int operator <= (const String&, const char*);
|
||||
+ inline int operator > (const String&, const char*);
|
||||
+ inline int operator < (const String&, const char*);
|
||||
+
|
||||
+ inline int Compare (const String& S1, const String& S2);
|
||||
+
|
||||
+ int Match (const char* Source, const char* Pattern);
|
||||
+ int Match (const String& Source, const String& Pattern);
|
||||
+ int Match (const String& Source, const char* Pattern);
|
||||
+ int Match (const char* Source, const String& Pattern);
|
||||
+
|
||||
+ String FormatStr (const char* S, ...);
|
||||
|
||||
class String : public Streamable {
|
||||
|
Loading…
Reference in New Issue
Block a user