1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
freebsd-ports/audio/gnomoradio/files/patch-gnomoradio_browser-link.cc
Martin Wilke 25c606a18d - Fix build with gcc 4.2
- Pass maintainership to submitter

PR:		118464
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
Approved by:	portmgr (erwin)
2007-12-10 22:47:28 +00:00

12 lines
476 B
C++

--- gnomoradio/browser-link.cc.orig 2007-12-06 15:46:11.000000000 +0100
+++ gnomoradio/browser-link.cc 2007-12-06 15:48:02.000000000 +0100
@@ -32,7 +32,7 @@
{
gchar *my_url = g_strdup(Glib::locale_from_utf8(url).c_str());
if (fork() == 0) {
- char *const argv[] = {"gnome-moz-remote", "--newwin", my_url, 0};
+ char *const argv[] = {(char *)"gnome-moz-remote", (char *)"--newwin", my_url, 0};
execvp(argv[0], argv);
// if we made it here something went wrong