diff options
author | cpiazza <cpiazza@FreeBSD.org> | 2000-01-22 04:00:57 +0000 |
---|---|---|
committer | cpiazza <cpiazza@FreeBSD.org> | 2000-01-22 04:00:57 +0000 |
commit | 5522e3b484e3a1b4fe8b008a855a235f29618fd4 (patch) | |
tree | 0ff19592c28313252d54403b065083844e5c4f53 /x11/kvidtune | |
parent | eee6c05dd6d07d08aa54403f8c4dd955b4854714 (diff) | |
download | FreeBSD-ports-5522e3b484e3a1b4fe8b008a855a235f29618fd4.zip FreeBSD-ports-5522e3b484e3a1b4fe8b008a855a235f29618fd4.tar.gz |
Fix for NEWGCC (sigh).
Diffstat (limited to 'x11/kvidtune')
-rw-r--r-- | x11/kvidtune/files/patch-aa | 11 | ||||
-rw-r--r-- | x11/kvidtune/files/patch-ab | 13 | ||||
-rw-r--r-- | x11/kvidtune/files/patch-ac | 13 | ||||
-rw-r--r-- | x11/kvidtune/files/patch-ad | 11 | ||||
-rw-r--r-- | x11/kvidtune/files/patch-ae | 11 |
5 files changed, 59 insertions, 0 deletions
diff --git a/x11/kvidtune/files/patch-aa b/x11/kvidtune/files/patch-aa new file mode 100644 index 0000000..f56cc3c --- /dev/null +++ b/x11/kvidtune/files/patch-aa @@ -0,0 +1,11 @@ +--- kvidtune/xf86configfile.h.orig Fri Jan 21 19:39:45 2000 ++++ kvidtune/xf86configfile.h Fri Jan 21 19:45:08 2000 +@@ -62,7 +62,7 @@ + { + + private: +- const backupPostfixCharacter = '~'; ++ static const int backupPostfixCharacter = '~'; + + QString ErrorText; + tXF86CfgDirectory *Data; diff --git a/x11/kvidtune/files/patch-ab b/x11/kvidtune/files/patch-ab new file mode 100644 index 0000000..cb1de1a --- /dev/null +++ b/x11/kvidtune/files/patch-ab @@ -0,0 +1,13 @@ +--- kvidtune/dlgadvancedxstartup.h.orig Fri Jan 21 19:40:59 2000 ++++ kvidtune/dlgadvancedxstartup.h Fri Jan 21 19:45:44 2000 +@@ -23,8 +23,8 @@ + Q_OBJECT + + private: +- const stepX = 8; +- const stepY = 2; ++ static const int stepX = 8; ++ static const int stepY = 2; + + KVidData *vidData; + XF86DisplaySection *currentDispSect; diff --git a/x11/kvidtune/files/patch-ac b/x11/kvidtune/files/patch-ac new file mode 100644 index 0000000..c1c6bc2 --- /dev/null +++ b/x11/kvidtune/files/patch-ac @@ -0,0 +1,13 @@ +--- kvidtune/toplevel.h.orig Fri Jan 21 19:43:18 2000 ++++ kvidtune/toplevel.h Fri Jan 21 19:43:31 2000 +@@ -112,8 +112,8 @@ + + int menu_item_save; + +- const int ID_STATUS_GENERAL = 1; +- const int ID_TOOLBAR_SAVE = 2; ++ static const int ID_STATUS_GENERAL = 1; ++ static const int ID_TOOLBAR_SAVE = 2; + + public slots: + diff --git a/x11/kvidtune/files/patch-ad b/x11/kvidtune/files/patch-ad new file mode 100644 index 0000000..e273add --- /dev/null +++ b/x11/kvidtune/files/patch-ad @@ -0,0 +1,11 @@ +--- kvidtune/xf86vidmode.cpp.orig Fri Jan 21 19:55:21 2000 ++++ kvidtune/xf86vidmode.cpp Fri Jan 21 19:56:11 2000 +@@ -327,7 +327,7 @@ + free(ErrorText); + } + +-void XF86VidMode::SetErrorText(char *txt) ++void XF86VidMode::SetErrorText(const char *txt) + { + if (ErrorText) + free(ErrorText); diff --git a/x11/kvidtune/files/patch-ae b/x11/kvidtune/files/patch-ae new file mode 100644 index 0000000..2c9e470 --- /dev/null +++ b/x11/kvidtune/files/patch-ae @@ -0,0 +1,11 @@ +--- kvidtune/xf86vidmode.h.orig Fri Jan 21 19:55:26 2000 ++++ kvidtune/xf86vidmode.h Fri Jan 21 19:56:37 2000 +@@ -154,7 +154,7 @@ + int EventBase, ErrorBase; + + private: +- void SetErrorText(char *txt); ++ void SetErrorText(const char *txt); + static int X11ErrorHandler(Display *dis,XErrorEvent *err); + + public: |