Hello community,
here is the log from the commit of package nspluginwrapper
checked in at Thu Jul 12 02:10:05 CEST 2007.
--------
--- nspluginwrapper/nspluginwrapper.changes 2007-06-20 13:13:23.000000000 +0200
+++ /mounts/work_src_done/STABLE/nspluginwrapper/nspluginwrapper.changes 2007-07-11 13:21:10.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Jul 11 13:20:05 CEST 2007 - agraf@suse.de
+
+- Include shared lib to suppress the MIT-SHM extension if
+ qemu is used in which case endianness issues appear with
+ shared memory.
+
+-------------------------------------------------------------------
New:
----
nspluginwrapper-noshm.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nspluginwrapper.spec ++++++
--- /var/tmp/diff_new_pack.s31447/_old 2007-07-12 02:09:38.000000000 +0200
+++ /var/tmp/diff_new_pack.s31447/_new 2007-07-12 02:09:38.000000000 +0200
@@ -12,12 +12,13 @@
Name: nspluginwrapper
Version: 0.9.91.4
-Release: 25
+Release: 28
Group: Productivity/Networking/Web/Utilities
Summary: Compatibility Layer for Netscape 4 Plugins
-License: GNU General Public License (GPL)
+License: GPL v2 or later
URL: http://gwenole.beauchesne.info/projects/nspluginwrapper/
Source: %{name}-%{version}.tar.bz2
+Patch1: nspluginwrapper-noshm.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gtk2-devel
BuildRequires: gcc-c++
@@ -44,6 +45,7 @@
%prep
%setup -q
+%patch1 -p1
%build
#
@@ -68,11 +70,13 @@
--without-biarch
%endif
make %{?jobs:-j%jobs}
+gcc -shared -ldl -o noshm.so noshm.c
%install
%makeinstall
mkdir -p $RPM_BUILD_ROOT%{_libdir}/browser-plugins
ln -s %{_prefix}/lib/%{name}/%{_arch}/%{_os}/npwrapper.so $RPM_BUILD_ROOT%{_libdir}/browser-plugins/npwrapper.so
+cp noshm.so $RPM_BUILD_ROOT%{_prefix}/lib/%{name}/%{_arch}/%{_os}/
%clean
rm -rf $RPM_BUILD_ROOT
@@ -107,6 +111,10 @@
%{_prefix}/lib/%{name}
%changelog
+* Wed Jul 11 2007 - agraf@suse.de
+- Include shared lib to suppress the MIT-SHM extension if
+ qemu is used in which case endianness issues appear with
+ shared memory.
* Wed Jun 20 2007 - rguenther@suse.de
- Fix BuildRequires.
* Tue Apr 17 2007 - sbrabec@suse.cz
++++++ nspluginwrapper-noshm.patch ++++++
Index: nspluginwrapper-0.9.91.4/src/npw-viewer.sh
===================================================================
--- nspluginwrapper-0.9.91.4.orig/src/npw-viewer.sh
+++ nspluginwrapper-0.9.91.4/src/npw-viewer.sh
@@ -48,6 +48,7 @@ if test "$ARCH" != "$TARGET_ARCH"; then
# otherwise (use QEMU?)
LOADER="none"
else
+ LD_PRELOAD="$LD_PRELOAD:$NPW_VIEWER_DIR/noshm.so"
LOADER=`which qemu-i386`
fi
;;
@@ -59,6 +60,7 @@ if test "$ARCH" != "$TARGET_ARCH"; then
;;
esac
else
+ LD_PRELOAD="$LD_PRELOAD:$NPW_VIEWER_DIR/noshm.so"
LOADER=`which qemu-ppc`
fi
;;
Index: nspluginwrapper-0.9.91.4/noshm.c
===================================================================
--- /dev/null
+++ nspluginwrapper-0.9.91.4/noshm.c
@@ -0,0 +1,34 @@
+#include