summaryrefslogtreecommitdiff
path: root/editors/zoinks/files
diff options
context:
space:
mode:
Diffstat (limited to 'editors/zoinks/files')
-rw-r--r--editors/zoinks/files/patch-fw-TApplication.cpp22
-rw-r--r--editors/zoinks/files/patch-fw-TInputContext.cpp9
-rw-r--r--editors/zoinks/files/patch-fw-TTopLevelWindow.cpp13
-rw-r--r--editors/zoinks/files/patch-fw-TWindow.cpp26
-rw-r--r--editors/zoinks/files/patch-ide-TLogDocument.cpp11
-rw-r--r--editors/zoinks/files/patch-ide-TProjectDocument.cpp11
6 files changed, 0 insertions, 92 deletions
diff --git a/editors/zoinks/files/patch-fw-TApplication.cpp b/editors/zoinks/files/patch-fw-TApplication.cpp
deleted file mode 100644
index 454bbf72c288..000000000000
--- a/editors/zoinks/files/patch-fw-TApplication.cpp
+++ /dev/null
@@ -1,22 +0,0 @@
---- fw/TApplication.cpp.orig 2003-05-15 23:33:23.000000000 +0200
-+++ fw/TApplication.cpp 2007-11-04 22:30:57.000000000 +0100
-@@ -163,8 +163,8 @@
- fLeaderWindow = XCreateSimpleWindow(fDisplay, GetRootWindow(), 10, 10, 10, 10, 0, 0, 0);
-
- XClassHint* classHint = XAllocClassHint();
-- classHint->res_name = "Zoinks";
-- classHint->res_class = "ZOINKS";
-+ classHint->res_name = (char *)"Zoinks";
-+ classHint->res_class = (char *)"ZOINKS";
-
- XWMHints* wmHints = NULL;
- TPixmap* icon = GetIcon();
-@@ -1154,7 +1154,7 @@
- }
-
- // exec the shell
-- err = execl("/bin/sh", "sh", "-c", commandLine, NULL);
-+ err = execl("/bin/sh", "sh", "-c", commandLine, (char *)NULL);
-
- ASSERT(0); // should never get here
- }
diff --git a/editors/zoinks/files/patch-fw-TInputContext.cpp b/editors/zoinks/files/patch-fw-TInputContext.cpp
deleted file mode 100644
index 76b17abdc714..000000000000
--- a/editors/zoinks/files/patch-fw-TInputContext.cpp
+++ /dev/null
@@ -1,9 +0,0 @@
---- fw/TInputContext.cpp.orig 2007-11-04 22:32:48.000000000 +0100
-+++ fw/TInputContext.cpp 2007-11-04 22:33:03.000000000 +0100
-@@ -75,5 +75,5 @@
- xpoint.y = point.v;
-
- ICArg args[2] = { {XNSpotLocation, &xpoint}, {NULL, NULL} };
-- XSetICValues(fXIC, XNPreeditAttributes, args, NULL);
-+ XSetICValues(fXIC, XNPreeditAttributes, args, (char *)NULL);
- }
diff --git a/editors/zoinks/files/patch-fw-TTopLevelWindow.cpp b/editors/zoinks/files/patch-fw-TTopLevelWindow.cpp
deleted file mode 100644
index adc4f3600d75..000000000000
--- a/editors/zoinks/files/patch-fw-TTopLevelWindow.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- ./fw/TTopLevelWindow.cpp.orig 2007-11-03 00:02:58.000000000 +0100
-+++ ./fw/TTopLevelWindow.cpp 2007-11-03 00:03:17.000000000 +0100
-@@ -91,8 +91,8 @@
- }
-
- XClassHint* classHints = XAllocClassHint();
-- classHints->res_name = "Zoinks";
-- classHints->res_class = "ZOINKS";
-+ classHints->res_name = (char *)"Zoinks";
-+ classHints->res_class = (char *)"ZOINKS";
-
- int argc = 0;
- char** argv = NULL;
diff --git a/editors/zoinks/files/patch-fw-TWindow.cpp b/editors/zoinks/files/patch-fw-TWindow.cpp
deleted file mode 100644
index 4a3a4636012b..000000000000
--- a/editors/zoinks/files/patch-fw-TWindow.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
---- fw/TWindow.cpp.orig 2003-04-16 21:38:57.000000000 +0200
-+++ fw/TWindow.cpp 2007-11-04 22:35:45.000000000 +0100
-@@ -502,7 +502,7 @@
- return false;
-
- XIMStyles* supportedStyles;
-- XGetIMValues(xim, XNQueryInputStyle, &supportedStyles, NULL, NULL);
-+ XGetIMValues(xim, XNQueryInputStyle, &supportedStyles, (char *)NULL);
- if (!supportedStyles || supportedStyles->count_styles == 0)
- return false;
-
-@@ -542,12 +542,12 @@
-
- TFont* font = GetFont();
- ASSERT(font && font->GetFontSet());
-- XVaNestedList preeditAttributes = XVaCreateNestedList(0, XNFontSet, font->GetFontSet(), XNSpotLocation, &point, XNArea, &rect, NULL);
-+ XVaNestedList preeditAttributes = XVaCreateNestedList(0, XNFontSet, font->GetFontSet(), XNSpotLocation, &point, XNArea, &rect, (char *)NULL);
- ASSERT(preeditAttributes);
- // XVaNestedList statusAttributes = XVaCreateNestedList(0, XNFontSet, font->GetFontSet(), NULL);
- // ASSERT(statusAttributes);
-
-- XIC xic = XCreateIC(xim, XNInputStyle, style, XNClientWindow, fWindow, XNFocusWindow, fWindow, XNPreeditAttributes, preeditAttributes, /*XNStatusAttributes, statusAttributes, */ NULL);
-+ XIC xic = XCreateIC(xim, XNInputStyle, style, XNClientWindow, fWindow, XNFocusWindow, fWindow, XNPreeditAttributes, preeditAttributes, /*XNStatusAttributes, statusAttributes, */ (char *)NULL);
- if (xic)
- fInputContext = new TInputContext(xic);
-
diff --git a/editors/zoinks/files/patch-ide-TLogDocument.cpp b/editors/zoinks/files/patch-ide-TLogDocument.cpp
deleted file mode 100644
index 524b2dfa851e..000000000000
--- a/editors/zoinks/files/patch-ide-TLogDocument.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- ide/TLogDocument.cpp.orig 2007-11-03 00:04:36.000000000 +0100
-+++ ide/TLogDocument.cpp 2007-11-03 00:09:52.000000000 +0100
-@@ -262,7 +262,7 @@
-
- void TLogDocument::ClearText()
- {
-- fTextView->SetText("");
-+ fTextView->SetText((char *)"");
- }
-
-
diff --git a/editors/zoinks/files/patch-ide-TProjectDocument.cpp b/editors/zoinks/files/patch-ide-TProjectDocument.cpp
deleted file mode 100644
index 35ebfc4aa48c..000000000000
--- a/editors/zoinks/files/patch-ide-TProjectDocument.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
---- ide/TProjectDocument.cpp.orig 2007-11-04 22:37:49.000000000 +0100
-+++ ide/TProjectDocument.cpp 2007-11-04 22:38:02.000000000 +0100
-@@ -539,7 +539,7 @@
- chdir(workingDirectory);
-
- const char* command = fExternalDebuggerCommand;
-- execl("/bin/sh", "sh", "-c", command, NULL);
-+ execl("/bin/sh", "sh", "-c", command, (char *)NULL);
- }
- else if (pid < 0)
- ThrowSystemError(pid);