On Sun, Mar 02, 2014 at 02:29:03AM +0100, Christoph Biedl wrote:
> Olly Betts wrote...
>
> > I've attached a debdiff which fixes this bug. Without this patch
> > "man magic_open" works, but "man magic_errno" doesn't. With the
> > patch, both work.
>
> But that patch never made it to the BTS. Care to re-send?
Oops, attached.
Cheers,
Olly
diff -Nru file-5.11/debian/changelog file-5.11/debian/changelog
--- file-5.11/debian/changelog 2012-07-01 05:43:00.000000000 +1200
+++ file-5.11/debian/changelog 2013-03-14 08:35:28.000000000 +1300
@@ -1,3 +1,10 @@
+file (5.11-2.1) UNRELEASED; urgency=low
+
+ * Non-maintainer upload.
+ * Make "man magic_errno" work. (Closes: #696113)
+
+ -- Olly Betts <[email protected]> Thu, 14 Mar 2013 08:34:48 +1300
+
file (5.11-2) unstable; urgency=low
* Removing leading slash in debhelper install files.
diff -Nru file-5.11/debian/patches/04-make-man-magic_errno-work.patch
file-5.11/debian/patches/04-make-man-magic_errno-work.patch
--- file-5.11/debian/patches/04-make-man-magic_errno-work.patch 1970-01-01
12:00:00.000000000 +1200
+++ file-5.11/debian/patches/04-make-man-magic_errno-work.patch 2013-03-14
08:34:39.000000000 +1300
@@ -0,0 +1,16 @@
+Description: Make "man magic_errno" work
+Author: Olly Betts <[email protected]>
+Bug-Debian: http://bugs.debian.org/696113
+Forwarded: no
+Last-Update: 2013-03-14
+
+--- file-5.11.orig/doc/libmagic.man
++++ file-5.11/doc/libmagic.man
+@@ -32,6 +32,7 @@
+ .Nm magic_open ,
+ .Nm magic_close ,
+ .Nm magic_error ,
++.Nm magic_errno ,
+ .Nm magic_descriptor ,
+ .Nm magic_buffer ,
+ .Nm magic_setflags ,
diff -Nru file-5.11/debian/patches/series file-5.11/debian/patches/series
--- file-5.11/debian/patches/series 2012-06-28 02:03:36.000000000 +1200
+++ file-5.11/debian/patches/series 2013-03-14 09:13:43.000000000 +1300
@@ -1,3 +1,4 @@
01-file-localmagic.patch
02-file-make.patch
03-doc-manpages.patch
+04-make-man-magic_errno-work.patch