Bug#368974: Intent to NMU

2006-09-24 Thread Enrico Zini
On Wed, Sep 20, 2006 at 07:59:26PM +0200, Josselin Mouette wrote:

 You can just patch the source, I don't use any patch system for this
 package.

Ok, I did so.

I've uploaded the package to the gluck_delayed queue, delayed 7 days.


Ciao,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#368974: Intent to NMU

2006-09-20 Thread Enrico Zini
Hello,

On Mon, Sep 18, 2006 at 11:13:54PM +0200, Josselin Mouette wrote:

 You'll get things in Debian faster if you make the package yourself.

Right.  Then, since I need this bug fixed in order to upload other
software I'm working on, I'll do an NMU.

Please find the patch attached.  If you don't reject it within a week,
I'll proceed with the upload.


Regards,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini [EMAIL PROTECTED]
diff -Naur hdf5-1.6.5.orig/debian/changelog hdf5-1.6.5/debian/changelog
--- hdf5-1.6.5.orig/debian/changelog2006-09-20 10:26:45.0 +0200
+++ hdf5-1.6.5/debian/changelog 2006-09-20 10:34:56.886668250 +0200
@@ -1,3 +1,9 @@
+hdf5 (1.6.5-2.1) unstable; urgency=low
+
+  * Added patch to fix CommonFG::getObjnameByIdx.  Closes: #368974
+
+ -- Enrico Zini [EMAIL PROTECTED]  Wed, 20 Sep 2006 10:34:22 +0200
+
 hdf5 (1.6.5-2) unstable; urgency=medium
 
   * config/gnu-flags: don't use -fomit-frame-pointer on m68k, to avoid 
diff -Naur hdf5-1.6.5.orig/debian/patches/10-getObjnameByIdx.dpatch 
hdf5-1.6.5/debian/patches/10-getObjnameByIdx.dpatch
--- hdf5-1.6.5.orig/debian/patches/10-getObjnameByIdx.dpatch1970-01-01 
01:00:00.0 +0100
+++ hdf5-1.6.5/debian/patches/10-getObjnameByIdx.dpatch 2006-09-20 
10:39:54.353258750 +0200
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 10-getObjnameByIdx.dpatch by  [EMAIL PROTECTED]
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
[EMAIL PROTECTED]@
+diff -urNad hdf5-1.6.5~/c++/src/H5CommonFG.cpp 
hdf5-1.6.5/c++/src/H5CommonFG.cpp
+--- hdf5-1.6.5~/c++/src/H5CommonFG.cpp 2005-10-01 17:30:03.0 +0200
 hdf5-1.6.5/c++/src/H5CommonFG.cpp  2006-09-20 10:39:51.949108500 +0200
+@@ -898,8 +898,8 @@
+ }
+ 
+ // now, allocate C buffer to get the name
+-char* name_C = new char[name_len];
+-name_len = H5Gget_objname_by_idx(getLocId(), idx, name_C, name_len);
++char* name_C = new char[name_len + 1];
++name_len = H5Gget_objname_by_idx(getLocId(), idx, name_C, name_len + 1);
+ 
+ // clean up and return the string
+ string name = string(name_C);
diff -Naur hdf5-1.6.5.orig/debian/rules hdf5-1.6.5/debian/rules
--- hdf5-1.6.5.orig/debian/rules2006-09-20 10:26:45.0 +0200
+++ hdf5-1.6.5/debian/rules 2006-09-20 10:38:26.959797000 +0200
@@ -111,7 +111,8 @@
$(MAKE) -C debian/build-mpich/
touch build-stamp-mpich
 
-clean:
+clean: clean-patched unpatch
+clean-patched:
test -f debian/control.in
dh_testroot
-rm -rf debian/build-serial
@@ -121,6 +122,14 @@
grep -v ^\% debian/control.in | sed s/@VERSION@/$(version)/g  
debian/control
dh_clean configure-stamp* build-stamp* install-stamp* debian/*.shlibs
 
+patch: patch-stamp
+patch-stamp:
+   dpatch apply-all
+   dpatch call-all -a=pkg-info  patch-stamp
+unpatch:
+   dpatch deapply-all
+   rm -rf patch-stamp debian/patched
+
 install: install-serial install-lam install-mpich install-doc
 
 install-serial: build-stamp-serial


signature.asc
Description: Digital signature


Bug#368974: Intent to NMU

2006-09-20 Thread Josselin Mouette
Le mercredi 20 septembre 2006 à 11:34 +0200, Enrico Zini a écrit :
 Right.  Then, since I need this bug fixed in order to upload other
 software I'm working on, I'll do an NMU.
 
 Please find the patch attached.  If you don't reject it within a week,
 I'll proceed with the upload.

Please go ahead with the change. However, I'd prefer that you didn't use
dpatch. If you really want to use it, go ahead and I'll change it later,
but don't forget to add the build-dependency.
-- 
 .''`.   Josselin Mouette/\./\
: :' :   [EMAIL PROTECTED]
`. `'[EMAIL PROTECTED]
   `-  Debian GNU/Linux -- The power of freedom




Bug#368974: Intent to NMU

2006-09-20 Thread Enrico Zini
On Wed, Sep 20, 2006 at 12:58:42PM +0200, Josselin Mouette wrote:

 Please go ahead with the change. However, I'd prefer that you didn't use
 dpatch. If you really want to use it, go ahead and I'll change it later,
 but don't forget to add the build-dependency.

The build-dep on dpatch should be already there.  What other methods
would you prefer?  If it's something I can manage, I'll try to use that
instead.


Ciao,

Enrico

-- 
GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini [EMAIL PROTECTED]


signature.asc
Description: Digital signature


Bug#368974: Intent to NMU

2006-09-20 Thread Josselin Mouette
Le mercredi 20 septembre 2006 à 15:19 +0200, Enrico Zini a écrit :
 On Wed, Sep 20, 2006 at 12:58:42PM +0200, Josselin Mouette wrote:
 
  Please go ahead with the change. However, I'd prefer that you didn't use
  dpatch. If you really want to use it, go ahead and I'll change it later,
  but don't forget to add the build-dependency.
 
 The build-dep on dpatch should be already there.  What other methods
 would you prefer?  If it's something I can manage, I'll try to use that
 instead.

You can just patch the source, I don't use any patch system for this
package.

Cheers,
-- 
 .''`.   Josselin Mouette/\./\
: :' :   [EMAIL PROTECTED]
`. `'[EMAIL PROTECTED]
  `-  Debian GNU/Linux -- The power of freedom


signature.asc
Description: Ceci est une partie de message	numériquement signée