Tags: patch
I pulled out some fixes from Ubuntu
https://launchpad.net/ubuntu/+source/comedilib/0.10.1-1ubuntu2
and added some other Debian bug fixes.
What is not addressed is #732685, since that will take
something beyond what debdiff can represent to get
a new debian source package tarball uploaded and installed...
This builds in current Debian unstable, so solves #733322.
-Maitland
diff -Nru comedilib-0.10.1/debian/changelog comedilib-0.10.1/debian/changelog
--- comedilib-0.10.1/debian/changelog 2013-08-18 04:32:17.0 -0400
+++ comedilib-0.10.1/debian/changelog 2014-03-31 19:11:16.0 -0400
@@ -1,3 +1,26 @@
+comedilib (0.10.1-2) unstable; urgency=low
+
+ * Bring in Ubuntu fixes (patch from A. Maitland Bottoms)
+ (Closes: #727345, #733322, #711203)
+
+ -- Gudjon I. Gudjonsson Mon, 31 Mar 2014 22:40:31 +0200
+
+comedilib (0.10.1-1ubuntu2) trusty; urgency=low
+
+ * Use dh-autoreconf to resolve FTBFS on ppc64el.
+
+ -- Daniel T Chen Wed, 08 Jan 2014 13:12:42 -0500
+
+comedilib (0.10.1-1ubuntu1) trusty; urgency=low
+
+ * FTBFS fixes:
+- Backport upstream changesets 90ce9a9, cc0c9e7, f4e228e, c689eff,
+ and 2277e82;
+- Use explicit parameters.
+ * Closes: #733322. LP: #1264686.
+
+ -- Daniel T Chen Tue, 07 Jan 2014 17:22:30 -0500
+
comedilib (0.10.1-1) unstable; urgency=low
* New upstream release
diff -Nru comedilib-0.10.1/debian/control comedilib-0.10.1/debian/control
--- comedilib-0.10.1/debian/control 2013-04-27 17:12:24.0 -0400
+++ comedilib-0.10.1/debian/control 2014-03-31 18:43:02.0 -0400
@@ -2,7 +2,7 @@
Section: devel
Priority: optional
Maintainer: Gudjon I. Gudjonsson
-Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), python-all-dev,
autotools-dev,
+Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), python-all-dev,
dh-autoreconf,
swig, docbook-utils, dblatex, bison, flex, libtool, xmlto, imagemagick, fop,
libboost-program-options-dev, libgsl0-dev, hardening-wrapper
Standards-Version: 3.9.4
diff -Nru comedilib-0.10.1/debian/libcomedi0.dirs
comedilib-0.10.1/debian/libcomedi0.dirs
--- comedilib-0.10.1/debian/libcomedi0.dirs 2012-06-03 19:35:26.0
-0400
+++ comedilib-0.10.1/debian/libcomedi0.dirs 2014-03-31 19:14:12.0
-0400
@@ -6,3 +6,4 @@
usr/share/doc/libcomedi0/
etc/pcmcia/
lib/udev/rules.d/
+var/lib/comedi/calibrations
diff -Nru comedilib-0.10.1/debian/libcomedi0.install
comedilib-0.10.1/debian/libcomedi0.install
--- comedilib-0.10.1/debian/libcomedi0.install 2012-06-03 19:35:38.0
-0400
+++ comedilib-0.10.1/debian/libcomedi0.install 2014-03-31 19:10:51.0
-0400
@@ -1,11 +1,12 @@
+etc/pcmcia/*
+lib/udev/*
usr/lib/libcomedi.so.*
#usr/lib/ruby/*
-usr/sbin/*
+usr/bin/comedi_board_info
usr/bin/comedi_calibrate
+usr/bin/comedi_soft_calibrate
usr/bin/comedi_test
+usr/sbin/*
usr/share/man/man7/*
usr/share/man/man8/*
usr/share/doc/comedilib/*.conf usr/share/doc/libcomedi0/
-etc/pcmcia/*
-lib/udev/*
-
diff -Nru comedilib-0.10.1/debian/patches/04_bison.patch
comedilib-0.10.1/debian/patches/04_bison.patch
--- comedilib-0.10.1/debian/patches/04_bison.patch 2013-08-14
16:58:59.0 -0400
+++ comedilib-0.10.1/debian/patches/04_bison.patch 1969-12-31
19:00:00.0 -0500
@@ -1,59 +0,0 @@
-Description: Fix build failure with bison 2.6
-Origin: upstream,
-
http://comedi.org/git?p=comedi/comedilib.git;a=commitdiff;h=90ce9a94bdb6b26a9cbffdf2e9922b0b1f668a65;hp=3dfae5a6ee6040d294493f3856a3949e1b602af0
-Bug-Debian: http://bugs.debian.org/710622
-Last-Update: 2013-08-11
-
comedilib-0.10.0.orig/lib/calib_yacc.y
-+++ comedilib-0.10.0/lib/calib_yacc.y
-@@ -28,13 +28,14 @@
- #include
- #include
- #include
--#include "calib_yacc.h"
--#include "calib_lex.h"
-
- #define YYERROR_VERBOSE
- #define YYPARSE_PARAM parse_arg
- #define YYLEX_PARAM priv(YYPARSE_PARAM)->yyscanner
-
-+#include "calib_yacc.h"
-+#include "calib_lex.h"
-+
- enum polynomial_direction
- {
- POLYNOMIAL_TO_PHYS,
-@@ -347,6 +348,11 @@ extern comedi_calibration_t* _comedi_par
- return priv.parsed_file;
- }
-
-+static void yyerror(const char *s)
-+{
-+ fprintf(stderr, "%s\n", s);
-+}
-+
- %}
-
- %pure_parser
-@@ -504,10 +510,5 @@ extern comedi_calibration_t* _comedi_par
-
- %%
-
--void calib_yyerror(char *s)
--{
-- fprintf(stderr, "%s\n", s);
--}
--
-
-
comedilib-0.10.0.orig/lib/libinternal.h
-+++ comedilib-0.10.0/lib/libinternal.h
-@@ -146,8 +146,6 @@ int valid_chan(comedi_t *it,unsigned int
- int comedi_get_rangetype(comedi_t *it,unsigned int subdevice,unsigned int
chan);
-
- #define YY_DECL int calib_yylex(YYSTYPE *calib_lvalp, yyscan_t yyscanner)
--void calib_yyerror(char *s);
--int calib_yyparse(void *parse_arg);
-
- #endif
-
diff -Nru comedilib-0.10.1/debian/patches/04_new_bison.patch
comedilib-0.10.1/debian/patches/04_new_bison.patch
--- comedilib-0.10.1/debian/patches/04_new_bison.patch 1969-12-31
19:00:00.0 -0500
+++ comedi