diff options
author | pav <pav@FreeBSD.org> | 2010-01-10 03:30:45 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2010-01-10 03:30:45 +0800 |
commit | 6cd1bb56d69d3fa201a03c97d16ab9349fbed103 (patch) | |
tree | 78e867eb6ff4fb471335c144a2ee7e16a47abbc9 /deskutils/google-gadgets | |
parent | dd2689e1b3e68501f6311ce395ed615ac6120216 (diff) | |
download | freebsd-ports-gnome-6cd1bb56d69d3fa201a03c97d16ab9349fbed103.tar.gz freebsd-ports-gnome-6cd1bb56d69d3fa201a03c97d16ab9349fbed103.tar.zst freebsd-ports-gnome-6cd1bb56d69d3fa201a03c97d16ab9349fbed103.zip |
- Fix build on amd64/7
Submitted by: Ashish SHUKLA <wahjava@gmail.com> (maintainer)
Diffstat (limited to 'deskutils/google-gadgets')
2 files changed, 55 insertions, 0 deletions
diff --git a/deskutils/google-gadgets/files/patch-extensions_gtkwebkit__browser__element_browser__element.cc b/deskutils/google-gadgets/files/patch-extensions_gtkwebkit__browser__element_browser__element.cc new file mode 100644 index 000000000000..8d88d5606c21 --- /dev/null +++ b/deskutils/google-gadgets/files/patch-extensions_gtkwebkit__browser__element_browser__element.cc @@ -0,0 +1,23 @@ + +$FreeBSD$ + +--- extensions/gtkwebkit_browser_element/browser_element.cc.orig ++++ extensions/gtkwebkit_browser_element/browser_element.cc +@@ -540,7 +540,7 @@ + Impl *impl) { + if (!impl->owner_) return; + gint width = 0; +- g_object_get(features, "width", &width, NULL); ++ g_object_get(features, "width", &width, (const gchar*)0); + ScopedLogContext log_context(impl->owner_->GetView()->GetGadget()); + DLOG("WebViewWindowWidthNotify(Impl=%p, width=%d)", impl, width); + } +@@ -550,7 +550,7 @@ + Impl *impl) { + if (!impl->owner_) return; + gint height = 0; +- g_object_get(features, "height", &height, NULL); ++ g_object_get(features, "height", &height, (const gchar*)0); + ScopedLogContext log_context(impl->owner_->GetView()->GetGadget()); + DLOG("WebViewWindowHeightNotify(Impl=%p, width=%d)", impl, height); + } diff --git a/deskutils/google-gadgets/files/patch-extensions_soup__xml__http__request_soup__xml__http__request.cc b/deskutils/google-gadgets/files/patch-extensions_soup__xml__http__request_soup__xml__http__request.cc new file mode 100644 index 000000000000..d4a341ea643f --- /dev/null +++ b/deskutils/google-gadgets/files/patch-extensions_soup__xml__http__request_soup__xml__http__request.cc @@ -0,0 +1,32 @@ + +$FreeBSD$ + +--- extensions/soup_xml_http_request/soup_xml_http_request.cc.orig ++++ extensions/soup_xml_http_request/soup_xml_http_request.cc +@@ -1004,7 +1004,7 @@ + it != sessions_.end(); ++it) { + g_object_set(G_OBJECT(it->second), + SOUP_SESSION_USER_AGENT, default_user_agent_.c_str(), +- NULL); ++ (const gchar*)0); + } + } + } +@@ -1016,7 +1016,7 @@ + #ifdef HAVE_LIBSOUP_GNOME + SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_PROXY_RESOLVER_GNOME, + #endif +- NULL); ++ (const char*)0); + + if (session) { + #ifdef SOUP_XHR_VERBOSE +@@ -1031,7 +1031,7 @@ + #ifdef GGL_DEFAULT_SSL_CA_FILE + SOUP_SESSION_SSL_CA_FILE, GGL_DEFAULT_SSL_CA_FILE, + #endif +- NULL); ++ (const gchar*)0); + + g_signal_connect(G_OBJECT(session), "authenticate", + G_CALLBACK(AuthenticateCallback), this); |