[DRE-commits] r2344 - in packages/libxtemplate-ruby1.8/trunk: . debian/patches
lucas at alioth.debian.org
lucas at alioth.debian.org
Mon Dec 24 14:57:22 UTC 2007
Author: lucas
Date: 2007-12-24 14:57:22 +0000 (Mon, 24 Dec 2007)
New Revision: 2344
Added:
packages/libxtemplate-ruby1.8/trunk/debian/patches/30_replace_id_with_object_id.dpatch
Removed:
packages/libxtemplate-ruby1.8/trunk/lib/
Log:
continued dpathization
Added: packages/libxtemplate-ruby1.8/trunk/debian/patches/30_replace_id_with_object_id.dpatch
===================================================================
--- packages/libxtemplate-ruby1.8/trunk/debian/patches/30_replace_id_with_object_id.dpatch (rev 0)
+++ packages/libxtemplate-ruby1.8/trunk/debian/patches/30_replace_id_with_object_id.dpatch 2007-12-24 14:57:22 UTC (rev 2344)
@@ -0,0 +1,23 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 30_replace_id_with_object_id.dpatch by Lucas Nussbaum <lucas at lucas-nussbaum.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: Replace #id with #object_id
+
+ at DPATCH@
+diff -urNad trunk~/lib/xtemplate.rb trunk/lib/xtemplate.rb
+--- trunk~/lib/xtemplate.rb 2003-10-19 17:32:00.000000000 +0200
++++ trunk/lib/xtemplate.rb 2007-12-24 15:57:05.000000000 +0100
+@@ -134,10 +134,10 @@
+ end
+
+ def dup_data(data, oids=[])
+- if( oids.include?(data.id) )
++ if( oids.include?(data.object_id) )
+ data
+ else
+- oids.push(data.id)
++ oids.push(data.object_id)
+ case data
+ when Hash
+ data = data.dup
Property changes on: packages/libxtemplate-ruby1.8/trunk/debian/patches/30_replace_id_with_object_id.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-ruby-extras-commits
mailing list