[Pkg-octave-commit] rev 204 - in trunk/packages/matwrap/debian: . patches

Rafael Laboissiere pkg-octave-devel@lists.alioth.debian.org
Fri, 22 Apr 2005 07:23:25 +0000


Author: rafael
Date: 2005-04-22 07:23:25 +0000 (Fri, 22 Apr 2005)
New Revision: 204

Added:
   trunk/packages/matwrap/debian/patches/60_strip-file-extension.dpatch
Modified:
   trunk/packages/matwrap/debian/changelog
   trunk/packages/matwrap/debian/patches/00list
Log:
Debian release 0.57-6


Modified: trunk/packages/matwrap/debian/changelog
===================================================================
--- trunk/packages/matwrap/debian/changelog	2005-04-20 07:13:11 UTC (rev 203)
+++ trunk/packages/matwrap/debian/changelog	2005-04-22 07:23:25 UTC (rev 204)
@@ -1,10 +1,12 @@
 matwrap (0.57-6) unstable; urgency=low
 
-  NOT YET RELEASED!
+  +++ Changes by Rafael Laboissiere
 
-  *
+  * debian/patches/60_strip-file-extension.dpatch: Added patch to avoid
+    empty DLD_FUNCTION definitions when file path start with "."
+    (closes: #299502)
 
- --
+ -- Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>  Fri, 22 Apr 2005 09:14:17 +0200
 
 matwrap (0.57-5) unstable; urgency=low
 

Modified: trunk/packages/matwrap/debian/patches/00list
===================================================================
--- trunk/packages/matwrap/debian/patches/00list	2005-04-20 07:13:11 UTC (rev 203)
+++ trunk/packages/matwrap/debian/patches/00list	2005-04-22 07:23:25 UTC (rev 204)
@@ -1 +1,2 @@
 50_namespace-std-for-string
+60_strip-file-extension

Added: trunk/packages/matwrap/debian/patches/60_strip-file-extension.dpatch
===================================================================
--- trunk/packages/matwrap/debian/patches/60_strip-file-extension.dpatch	2005-04-20 07:13:11 UTC (rev 203)
+++ trunk/packages/matwrap/debian/patches/60_strip-file-extension.dpatch	2005-04-22 07:23:25 UTC (rev 204)
@@ -0,0 +1,20 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 60_strip-file-extension.dpatch by  <rafael@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: New patch generated from matwrap 0.57-6 diff.gz
+
+@DPATCH@
+
+--- matwrap-0.57.orig/share/matwrap/wrap_octave.pl
++++ matwrap-0.57/share/matwrap/wrap_octave.pl
+@@ -359,8 +359,8 @@
+     die("wrap_octave: can't open output file $outfile--$!\n");
+ 
+   $octave_output_file = $outfile; # Remember the name of the output file.
+-  $octave_output_file =~ s/\..*$//; # Strip off the extension.
+   $octave_output_file =~ s@.*/@@; # Strip off the directories.
++  $octave_output_file =~ s/\..*$//; # Strip off the extension.
+ 
+   print OUTFILE "/*
+  * This file was automatically generated for octave by wrap_octave on


Property changes on: trunk/packages/matwrap/debian/patches/60_strip-file-extension.dpatch
___________________________________________________________________
Name: svn:executable
   + *