packages: dokuwiki-plugin-pageredirect/dokuwiki-plugin-pageredirect.spec, d...

glen glen at pld-linux.org
Tue Aug 24 16:33:03 CEST 2010


Author: glen                         Date: Tue Aug 24 14:33:03 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- mute one php warning; rel 2

---- Files affected:
packages/dokuwiki-plugin-pageredirect:
   dokuwiki-plugin-pageredirect.spec (1.6 -> 1.7) , mute-warning.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/dokuwiki-plugin-pageredirect/dokuwiki-plugin-pageredirect.spec
diff -u packages/dokuwiki-plugin-pageredirect/dokuwiki-plugin-pageredirect.spec:1.6 packages/dokuwiki-plugin-pageredirect/dokuwiki-plugin-pageredirect.spec:1.7
--- packages/dokuwiki-plugin-pageredirect/dokuwiki-plugin-pageredirect.spec:1.6	Sun May 16 16:13:45 2010
+++ packages/dokuwiki-plugin-pageredirect/dokuwiki-plugin-pageredirect.spec	Tue Aug 24 16:32:58 2010
@@ -4,14 +4,15 @@
 Summary(pl.UTF-8):	Wtyczka Page Redirect (przekierowywania stron) dla DokuWiki
 Name:		dokuwiki-plugin-%{plugin}
 Version:	2
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/WWW
 Source0:	http://wiki.zyberdog.dk/_media/php/dw/pageredirect/pageredirect_current.zip
 # Source0-md5:	ee8fbe1f5686c43441e07e2dc4c82e37
 Source1:	dokuwiki-find-lang.sh
 Patch0:		%{name}-pagematch.patch
-URL:		http://wiki.splitbrain.org/plugin:page_redirector
+Patch1:		mute-warning.patch
+URL:		http://www.dokuwiki.org/plugin:page_redirector
 BuildRequires:	unzip
 Requires:	dokuwiki >= 20061106
 BuildArch:	noarch
@@ -32,6 +33,7 @@
 %prep
 %setup -q -n %{plugin}
 %patch0 -p1
+%patch1 -p1
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -64,6 +66,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.7  2010/08/24 14:32:58  glen
+- mute one php warning; rel 2
+
 Revision 1.6  2010/05/16 14:13:45  sparky
 - BR: unzip
 

================================================================
Index: packages/dokuwiki-plugin-pageredirect/mute-warning.patch
diff -u /dev/null packages/dokuwiki-plugin-pageredirect/mute-warning.patch:1.1
--- /dev/null	Tue Aug 24 16:33:03 2010
+++ packages/dokuwiki-plugin-pageredirect/mute-warning.patch	Tue Aug 24 16:32:58 2010
@@ -0,0 +1,13 @@
+--- pageredirect/action.php~	2007-01-24 14:36:36.000000000 +0200
++++ pageredirect/action.php	2010-08-24 17:30:13.450389203 +0300
+@@ -91,7 +91,9 @@
+ 	}
+ 
+ 	function handle_pageredirect_metadata(&$event, $param) { 
+-		unset($event->data->meta['relation']['isreplacedby']); 
++		if (isset($event->data->meta['relation'])) {
++			unset($event->data->meta['relation']['isreplacedby']); 
++		}
+ 	}
+ 
+ }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/dokuwiki-plugin-pageredirect/dokuwiki-plugin-pageredirect.spec?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list