OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 17-Sep-2004 16:03:59
Branch: HEAD Handle: 2004091715035900
Added files:
openpkg-src/mozilla-mplayer
mozilla-mplayer.patch
Modified files:
openpkg-src/mozilla-mplayer
mozilla-mplayer.spec
Log:
make more portable and this way port especially to FreeBSD 5
Summary:
Revision Changes Path
1.6 +11 -0 openpkg-src/mozilla-mplayer/mozilla-mplayer.patch
1.17 +3 -1 openpkg-src/mozilla-mplayer/mozilla-mplayer.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/mozilla-mplayer/mozilla-mplayer.patch
============================================================================
$ cvs diff -u -r0 -r1.6 mozilla-mplayer.patch
--- /dev/null 2004-09-17 16:03:59 +0200
+++ mozilla-mplayer.patch 2004-09-17 16:03:59 +0200
@@ -0,0 +1,11 @@
+Index: Source/plugin.h
+--- Source/plugin.h.orig 2004-06-14 20:35:56 +0200
++++ Source/plugin.h 2004-09-17 16:02:21 +0200
+@@ -37,6 +37,7 @@
+
+ #ifndef __PLUGIN_H__
+ #define __PLUGIN_H__
++#include <cmath>
+ #define _XOPEN_SOURCE 500
+
+ #ifndef _GNU_SOURCE
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/mozilla-mplayer/mozilla-mplayer.spec
============================================================================
$ cvs diff -u -r1.16 -r1.17 mozilla-mplayer.spec
--- openpkg-src/mozilla-mplayer/mozilla-mplayer.spec 29 Aug 2004 08:57:41 -0000
1.16
+++ openpkg-src/mozilla-mplayer/mozilla-mplayer.spec 17 Sep 2004 14:03:59 -0000
1.17
@@ -34,10 +34,11 @@
Group: Web
License: GPL
Version: 2.66
-Release: 20040829
+Release: 20040917
# list of sources
Source0:
http://osdn.dl.sourceforge.net/mplayerplug-in/mplayerplug-in-%{version}.tar.gz
+Patch0: mozilla-mplayer.patch
# build information
Prefix: %{l_prefix}
@@ -63,6 +64,7 @@
%prep
%setup -q -n mplayerplug-in
+ %patch -p0
%{l_shtool} subst \
-e '/\/etc\/mplayerplug/s;/etc;%{l_prefix}/etc/mozilla-mplayer;' \
Source/plugin-setup.cpp
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]