freebsd-ports/editors/zoinks/files/patch-fw-TTopLevelWindow.cpp
Martin Wilke 9fe1834c7a - Unbreak
- Fix build with gcc 4.2

PR:		117776
Submitted by:	pietro cerutti <gahr@gahr.ch>
Approved by:	portmgr (pav)
2007-11-05 10:04:15 +00:00

13 lines
415 B
C++

--- ./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;