[DRE-maint] Bug#427450: NMU uploaded

Andreas Barth aba at not.so.argh.org
Mon Jul 2 20:33:32 UTC 2007


Hi,

I uploaded an NMU of your package.

Please see this as help to get the package into a releaseable condition again.

Please find the used diff below.


Cheers,
Andi

diff -Nru /tmp/jb0QC4odIx/libgpgme-ruby-1.0.0/debian/changelog /tmp/mPtpiHighu/libgpgme-ruby-1.0.0/debian/changelog
--- /tmp/jb0QC4odIx/libgpgme-ruby-1.0.0/debian/changelog	2007-07-02 20:31:10.000000000 +0000
+++ /tmp/mPtpiHighu/libgpgme-ruby-1.0.0/debian/changelog	2007-07-02 20:31:10.000000000 +0000
@@ -1,3 +1,10 @@
+libgpgme-ruby (1.0.0-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS, thanks Michael Ablassmeier. Closes: #427450
+
+ -- Andreas Barth <aba at not.so.argh.org>  Mon,  2 Jul 2007 20:27:44 +0000
+
 libgpgme-ruby (1.0.0-1) unstable; urgency=low
 
   [ Rudi Cilibrasi ]
diff -Nru /tmp/jb0QC4odIx/libgpgme-ruby-1.0.0/bugreport.cgi?msg=10;filename=gpgme.diff;att=1;bug=427450 /tmp/mPtpiHighu/libgpgme-ruby-1.0.0/bugreport.cgi?msg=10;filename=gpgme.diff;att=1;bug=427450
--- /tmp/jb0QC4odIx/libgpgme-ruby-1.0.0/bugreport.cgi?msg=10;filename=gpgme.diff;att=1;bug=427450	1970-01-01 00:00:00.000000000 +0000
+++ /tmp/mPtpiHighu/libgpgme-ruby-1.0.0/bugreport.cgi?msg=10;filename=gpgme.diff;att=1;bug=427450	2007-07-02 20:31:10.000000000 +0000
@@ -0,0 +1,22 @@
+--- orig/libgpgme-ruby-1.0.0/gpgme_n.c	2006-10-24 03:15:13.000000000 +0200
++++ patch/libgpgme-ruby-1.0.0/gpgme_n.c	2007-06-04 10:28:27.000000000 +0200
+@@ -215,7 +215,7 @@
+   size_t size = NUM2UINT(vsize);
+   gpgme_error_t err;
+ 
+-  if (RSTRING(vbuffer)->len < size)
++  if (RSTRING_LEN(vbuffer) < size)
+     rb_raise (rb_eArgError, "argument out of range");
+ 
+   err = gpgme_data_new_from_mem (&dh, StringValuePtr(vbuffer), size, 1);
+@@ -249,8 +249,8 @@
+ 			LONG2NUM(size));
+   if (NIL_P(vbuffer))
+     return 0;
+-  memcpy (buffer, StringValuePtr(vbuffer), RSTRING(vbuffer)->len);
+-  return RSTRING(vbuffer)->len;
++  memcpy (buffer, StringValuePtr(vbuffer), RSTRING_LEN(vbuffer));
++  return RSTRING_LEN(vbuffer);
+ }
+ 
+ static ssize_t
diff -Nru /tmp/jb0QC4odIx/libgpgme-ruby-1.0.0/gpgme_n.c /tmp/mPtpiHighu/libgpgme-ruby-1.0.0/gpgme_n.c
--- /tmp/jb0QC4odIx/libgpgme-ruby-1.0.0/gpgme_n.c	2006-10-24 01:15:13.000000000 +0000
+++ /tmp/mPtpiHighu/libgpgme-ruby-1.0.0/gpgme_n.c	2007-07-02 20:31:10.000000000 +0000
@@ -215,7 +215,7 @@
   size_t size = NUM2UINT(vsize);
   gpgme_error_t err;
 
-  if (RSTRING(vbuffer)->len < size)
+  if (RSTRING_LEN(vbuffer) < size)
     rb_raise (rb_eArgError, "argument out of range");
 
   err = gpgme_data_new_from_mem (&dh, StringValuePtr(vbuffer), size, 1);
@@ -249,8 +249,8 @@
 			LONG2NUM(size));
   if (NIL_P(vbuffer))
     return 0;
-  memcpy (buffer, StringValuePtr(vbuffer), RSTRING(vbuffer)->len);
-  return RSTRING(vbuffer)->len;
+  memcpy (buffer, StringValuePtr(vbuffer), RSTRING_LEN(vbuffer));
+  return RSTRING_LEN(vbuffer);
 }
 
 static ssize_t
-- 
  http://home.arcor.de/andreas-barth/





More information about the Pkg-ruby-extras-maintainers mailing list