Hello community, here is the log from the commit of package nspluginwrapper for openSUSE:Factory checked in at Thu Apr 22 21:25:54 CEST 2010. -------- --- nspluginwrapper/nspluginwrapper.changes 2010-02-25 13:11:01.000000000 +0100 +++ /mounts/work_src_done/STABLE/nspluginwrapper/nspluginwrapper.changes 2010-04-22 15:48:14.000000000 +0200 @@ -1,0 +2,18 @@ +Thu Apr 22 15:47:26 CEST 2010 - ro@suse.de + +- add some hacks to make it compile: + - nspluginwrapper-offsetof.patch + - nspluginwrapper-recv_chk.patch + +------------------------------------------------------------------- +Thu Apr 22 02:29:03 CEST 2010 - ro@suse.de + +- Version 1.3.0 (BETA) + * Don't poll for Xt events in Gtk (XEMBED) plug-ins + * Use 40 Hz timer for Xt events only when necessary (Xt input sources) + * Add NPIdentifier and NPClass::HasMethod caches, i.e. lower RPC traffic + * Add support for multiple viewer paths, see --viewer-paths=PATH-EXPR + * Add basic checks for malloc()'ed buffer underflow/overflow + * Add checks for single-threaded calls into the browser (NPN_*() functions) + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- nspluginwrapper-1.2.2.tar.bz2 New: ---- nspluginwrapper-1.3.0.tar.bz2 nspluginwrapper-20090625-fix-npident-array-sending.patch nspluginwrapper-offsetof.patch nspluginwrapper-recv_chk.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nspluginwrapper.spec ++++++ --- /var/tmp/diff_new_pack.Kyl9gd/_old 2010-04-22 21:25:31.000000000 +0200 +++ /var/tmp/diff_new_pack.Kyl9gd/_new 2010-04-22 21:25:31.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package nspluginwrapper (Version 1.2.2) +# spec file for package nspluginwrapper (Version 1.3.0) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,8 +19,8 @@ Name: nspluginwrapper -Version: 1.2.2 -Release: 7 +Version: 1.3.0 +Release: 1 Group: Productivity/Networking/Web/Utilities Summary: Compatibility Layer for Netscape 4 Plug-Ins License: GPLv2+ @@ -31,6 +31,9 @@ Patch: nspluginwrapper-silence.patch # PATCH-FIX-OPENSUSE nspluginwrapper-native-windows.patch bnc537788 sbrabec@suse.cz -- Return to native X windows in GTK+. Patch1: nspluginwrapper-native-windows.patch +Patch2: nspluginwrapper-20090625-fix-npident-array-sending.patch +Patch3: nspluginwrapper-offsetof.patch +Patch4: nspluginwrapper-recv_chk.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: curl-devel glib2-devel gtk2-devel BuildRequires: gcc-c++ @@ -68,6 +71,9 @@ %setup -q #%patch %patch1 +%patch2 +%patch3 +%patch4 %build # This package failed when testing with -Wl,-as-needed being default. ++++++ nspluginwrapper-1.2.2.tar.bz2 -> nspluginwrapper-1.3.0.tar.bz2 ++++++ ++++ 3715 lines of diff (skipped) ++++++ nspluginwrapper-20090625-fix-npident-array-sending.patch ++++++ Index: src/npw-viewer.c =================================================================== --- src/npw-viewer.c (revision 942) +++ src/npw-viewer.c (working copy) @@ -2059,7 +2059,7 @@ RPC_METHOD_NPN_INVOKE, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_NP_OBJECT, npobj, - RPC_TYPE_NP_IDENTIFIER, methodName, + RPC_TYPE_NP_IDENTIFIER, &methodName, RPC_TYPE_ARRAY, RPC_TYPE_NP_VARIANT, argCount, args, RPC_TYPE_INVALID); @@ -2249,7 +2249,7 @@ RPC_METHOD_NPN_GET_PROPERTY, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_NP_OBJECT, npobj, - RPC_TYPE_NP_IDENTIFIER, propertyName, + RPC_TYPE_NP_IDENTIFIER, &propertyName, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { @@ -2311,7 +2311,7 @@ RPC_METHOD_NPN_SET_PROPERTY, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_NP_OBJECT, npobj, - RPC_TYPE_NP_IDENTIFIER, propertyName, + RPC_TYPE_NP_IDENTIFIER, &propertyName, RPC_TYPE_NP_VARIANT, value, RPC_TYPE_INVALID); @@ -2370,7 +2370,7 @@ RPC_METHOD_NPN_REMOVE_PROPERTY, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_NP_OBJECT, npobj, - RPC_TYPE_NP_IDENTIFIER, propertyName, + RPC_TYPE_NP_IDENTIFIER, &propertyName, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { @@ -2427,7 +2427,7 @@ RPC_METHOD_NPN_HAS_PROPERTY, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_NP_OBJECT, npobj, - RPC_TYPE_NP_IDENTIFIER, propertyName, + RPC_TYPE_NP_IDENTIFIER, &propertyName, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { @@ -2484,7 +2484,7 @@ RPC_METHOD_NPN_HAS_METHOD, RPC_TYPE_NPW_PLUGIN_INSTANCE, plugin, RPC_TYPE_NP_OBJECT, npobj, - RPC_TYPE_NP_IDENTIFIER, methodName, + RPC_TYPE_NP_IDENTIFIER, &methodName, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { @@ -2780,7 +2780,7 @@ int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_IDENTIFIER_IS_STRING, - RPC_TYPE_NP_IDENTIFIER, identifier, + RPC_TYPE_NP_IDENTIFIER, &identifier, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { @@ -2838,7 +2838,7 @@ int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_UTF8_FROM_IDENTIFIER, - RPC_TYPE_NP_IDENTIFIER, identifier, + RPC_TYPE_NP_IDENTIFIER, &identifier, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { @@ -2902,7 +2902,7 @@ int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPN_INT_FROM_IDENTIFIER, - RPC_TYPE_NP_IDENTIFIER, identifier, + RPC_TYPE_NP_IDENTIFIER, &identifier, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { Index: src/npw-wrapper.c =================================================================== --- src/npw-wrapper.c (revision 942) +++ src/npw-wrapper.c (working copy) @@ -1528,7 +1528,7 @@ free(name); return rpc_method_send_reply(connection, - RPC_TYPE_NP_IDENTIFIER, ident, + RPC_TYPE_NP_IDENTIFIER, &ident, RPC_TYPE_INVALID); } @@ -1601,7 +1601,7 @@ NPIdentifier ident = g_NPN_GetIntIdentifier(intid); return rpc_method_send_reply(connection, - RPC_TYPE_NP_IDENTIFIER, ident, + RPC_TYPE_NP_IDENTIFIER, &ident, RPC_TYPE_INVALID); } Index: src/npruntime.c =================================================================== --- src/npruntime.c (revision 942) +++ src/npruntime.c (working copy) @@ -221,7 +221,7 @@ int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPCLASS_HAS_METHOD, RPC_TYPE_NP_OBJECT, npobj, - RPC_TYPE_NP_IDENTIFIER, name, + RPC_TYPE_NP_IDENTIFIER, &name, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { @@ -327,7 +327,7 @@ int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPCLASS_INVOKE, RPC_TYPE_NP_OBJECT, npobj, - RPC_TYPE_NP_IDENTIFIER, name, + RPC_TYPE_NP_IDENTIFIER, &name, RPC_TYPE_ARRAY, RPC_TYPE_NP_VARIANT, argCount, args, RPC_TYPE_INVALID); @@ -509,7 +509,7 @@ int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPCLASS_HAS_PROPERTY, RPC_TYPE_NP_OBJECT, npobj, - RPC_TYPE_NP_IDENTIFIER, name, + RPC_TYPE_NP_IDENTIFIER, &name, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { @@ -599,7 +599,7 @@ int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPCLASS_GET_PROPERTY, RPC_TYPE_NP_OBJECT, npobj, - RPC_TYPE_NP_IDENTIFIER, name, + RPC_TYPE_NP_IDENTIFIER, &name, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { @@ -684,7 +684,7 @@ int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPCLASS_SET_PROPERTY, RPC_TYPE_NP_OBJECT, npobj, - RPC_TYPE_NP_IDENTIFIER, name, + RPC_TYPE_NP_IDENTIFIER, &name, RPC_TYPE_NP_VARIANT, value, RPC_TYPE_INVALID); @@ -763,7 +763,7 @@ int error = rpc_method_invoke(g_rpc_connection, RPC_METHOD_NPCLASS_REMOVE_PROPERTY, RPC_TYPE_NP_OBJECT, npobj, - RPC_TYPE_NP_IDENTIFIER, name, + RPC_TYPE_NP_IDENTIFIER, &name, RPC_TYPE_INVALID); if (error != RPC_ERROR_NO_ERROR) { Index: src/npw-rpc.c =================================================================== --- src/npw-rpc.c (revision 942) +++ src/npw-rpc.c (working copy) @@ -1252,7 +1252,7 @@ // the browser side static int do_send_NPIdentifier(rpc_message_t *message, void *p_value) { - NPIdentifier ident = (NPIdentifier)p_value; + NPIdentifier ident = *(NPIdentifier *)p_value; int id = 0; if (ident) { #ifdef BUILD_WRAPPER ++++++ nspluginwrapper-native-windows.patch ++++++ --- /var/tmp/diff_new_pack.Kyl9gd/_old 2010-04-22 21:25:32.000000000 +0200 +++ /var/tmp/diff_new_pack.Kyl9gd/_new 2010-04-22 21:25:32.000000000 +0200 @@ -1,8 +1,8 @@ --- src/npw-viewer.sh +++ src/npw-viewer.sh -@@ -6,6 +6,11 @@ OS="`uname -s`" +@@ -5,6 +5,11 @@ + OS="`uname -s | tr '[A-Z]' '[a-z]'`" ARCH="`uname -m`" - NPW_LIBDIR="%NPW_LIBDIR%" +# Adobe Flash can be confised by by a recent GTK+ that may use custom +# window structure instead of native X Window. Revert to the old dumb ++++++ nspluginwrapper-offsetof.patch ++++++ --- lsb-build/headers/stddef.h +++ lsb-build/headers/stddef.h @@ -7,7 +7,7 @@ #endif -#define offsetof(TYPE,MEMBER) ((size_t)&((TYPE*)0)->MEMBER) +#define offsetof(TYPE,MEMBER) __builtin_offsetof(TYPE,MEMBER) #if !defined(__cplusplus) ++++++ nspluginwrapper-recv_chk.patch ++++++ --- lsb-build/stub_libs/libc_main.Version +++ lsb-build/stub_libs/libc_main.Version @@ -827,3 +827,6 @@ GLIBC_2.3.4 { regexec; }; +GLIBC_2.4 { + __recv_chk; +}; --- lsb-build/stub_libs/libc_main.c +++ lsb-build/stub_libs/libc_main.c @@ -36,6 +36,7 @@ void __lxstat64() {} ; void __mempcpy() {} ; void __rawmemchr() {} ; +void __recv_chk() {} ; void __register_atfork() {} ; void __sigsetjmp() {} ; void __stpcpy() {} ; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org