mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
- Update to 0.9.3.
PR: ports/124593 Submitted by: Ashish Shukla <wahjava@gmail.com> (maintainer) Approved by: gabor (mentor, implicit)
This commit is contained in:
parent
6641c6770d
commit
8bcd89eed4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215319
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= google-gadgets
|
||||
PORTVERSION= 0.9.2
|
||||
PORTVERSION= 0.9.3
|
||||
CATEGORIES= deskutils
|
||||
MASTER_SITES= http://google-gadgets-for-linux.googlecode.com/files/
|
||||
DISTNAME= ${PORTNAME}-for-linux-${PORTVERSION}
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (google-gadgets-for-linux-0.9.2.tar.gz) = 5c2a64b549b958af030cf3178998cdb7
|
||||
SHA256 (google-gadgets-for-linux-0.9.2.tar.gz) = 4918565eafa989f0c027a2ab5592a483eb5fde059ce15e1eb8a239edfd3a82ad
|
||||
SIZE (google-gadgets-for-linux-0.9.2.tar.gz) = 2335255
|
||||
MD5 (google-gadgets-for-linux-0.9.3.tar.gz) = 590b6fefbf9cbbbfe5dc34f99c0932f4
|
||||
SHA256 (google-gadgets-for-linux-0.9.3.tar.gz) = 6b93b3d39719c10063e143e919e9ee65956dacc51bbc5aa1cafef76c71abcff6
|
||||
SIZE (google-gadgets-for-linux-0.9.3.tar.gz) = 2338243
|
||||
|
@ -1,54 +0,0 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- ggadget/extension_manager.cc.orig
|
||||
+++ ggadget/extension_manager.cc
|
||||
@@ -26,6 +26,12 @@
|
||||
#include "common.h"
|
||||
#include "extension_manager.h"
|
||||
|
||||
+#if __GNUC__ < 4
|
||||
+#define CAST_HACK(x) (x)
|
||||
+#else
|
||||
+#define CAST_HACK(x) reinterpret_cast<x>
|
||||
+#endif
|
||||
+
|
||||
namespace ggadget {
|
||||
|
||||
ElementExtensionRegister::ElementExtensionRegister(ElementFactory *factory)
|
||||
@@ -35,7 +41,7 @@
|
||||
bool ElementExtensionRegister::RegisterExtension(const Module *extension) {
|
||||
ASSERT(extension);
|
||||
RegisterElementExtensionFunc func =
|
||||
- reinterpret_cast<RegisterElementExtensionFunc>(
|
||||
+ CAST_HACK(RegisterElementExtensionFunc)(
|
||||
extension->GetSymbol(kElementExtensionSymbolName));
|
||||
|
||||
return func ? func(factory_) : false;
|
||||
@@ -48,7 +54,7 @@
|
||||
bool ScriptExtensionRegister::RegisterExtension(const Module *extension) {
|
||||
ASSERT(extension);
|
||||
RegisterScriptExtensionFunc func =
|
||||
- reinterpret_cast<RegisterScriptExtensionFunc>(
|
||||
+ CAST_HACK(RegisterScriptExtensionFunc)(
|
||||
extension->GetSymbol(kScriptExtensionSymbolName));
|
||||
|
||||
return func ? func(context_) : false;
|
||||
@@ -64,7 +70,7 @@
|
||||
bool FrameworkExtensionRegister::RegisterExtension(const Module *extension) {
|
||||
ASSERT(extension);
|
||||
RegisterFrameworkExtensionFunc func =
|
||||
- reinterpret_cast<RegisterFrameworkExtensionFunc>(
|
||||
+ CAST_HACK(RegisterFrameworkExtensionFunc)(
|
||||
extension->GetSymbol(kFrameworkExtensionSymbolName));
|
||||
|
||||
return func ? func(framework_, gadget_) : false;
|
||||
@@ -79,7 +85,7 @@
|
||||
ScriptRuntimeExtensionRegister::RegisterExtension(const Module *extension) {
|
||||
ASSERT(extension);
|
||||
RegisterScriptRuntimeExtensionFunc func =
|
||||
- reinterpret_cast<RegisterScriptRuntimeExtensionFunc>(
|
||||
+ CAST_HACK(RegisterScriptRuntimeExtensionFunc)(
|
||||
extension->GetSymbol(kScriptRuntimeExtensionSymbolName));
|
||||
|
||||
return func ? func(manager_) : false;
|
@ -159,11 +159,11 @@ lib/libggadget-gtk-1.0.so.0
|
||||
libdata/pkgconfig/libggadget-1.0.pc
|
||||
libdata/pkgconfig/libggadget-dbus-1.0.pc
|
||||
libdata/pkgconfig/libggadget-gtk-1.0.pc
|
||||
share/google-gadgets/google-gadget-browser.gg
|
||||
share/google-gadgets/igoogle-gadget.gg
|
||||
share/google-gadgets/resources.gg
|
||||
share/google-gadgets/rss-gadget.gg
|
||||
@dirrm share/google-gadgets
|
||||
%%DATADIR%%/google-gadget-browser.gg
|
||||
%%DATADIR%%/igoogle.gg
|
||||
%%DATADIR%%/resources.gg
|
||||
%%DATADIR%%/rss.gg
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrm lib/google-gadgets/modules
|
||||
@dirrm lib/google-gadgets/include/ggadget
|
||||
@dirrm lib/google-gadgets/include
|
||||
|
Loading…
Reference in New Issue
Block a user