diff -u vcdimager-0.7.23/configure vcdimager-0.7.23/configure --- vcdimager-0.7.23/configure +++ vcdimager-0.7.23/configure @@ -21872,7 +21872,7 @@ -for ac_header in sys/stat.h stdint.h inttypes.h stdbool.h sys/mman.h +for ac_header in sys/stat.h stdint.h inttypes.h stdbool.h sys/mman.h time.h do as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then diff -u vcdimager-0.7.23/include/libvcd/info.h vcdimager-0.7.23/include/libvcd/info.h --- vcdimager-0.7.23/include/libvcd/info.h +++ vcdimager-0.7.23/include/libvcd/info.h @@ -32,6 +32,9 @@ #include #include #include + +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include #include diff -u vcdimager-0.7.23/debian/changelog vcdimager-0.7.23/debian/changelog --- vcdimager-0.7.23/debian/changelog +++ vcdimager-0.7.23/debian/changelog @@ -1,3 +1,10 @@ +vcdimager (0.7.23-4.1ubuntu1) precise; urgency=low + + * Backport from upstream: + - Revise for current libcdio sources (0.83 and 0.84git). + + -- Colin Watson Mon, 09 Jan 2012 13:19:00 +0000 + vcdimager (0.7.23-4.1) unstable; urgency=low * Non-maintainer upload. diff -u vcdimager-0.7.23/debian/control vcdimager-0.7.23/debian/control --- vcdimager-0.7.23/debian/control +++ vcdimager-0.7.23/debian/control @@ -1,7 +1,8 @@ Source: vcdimager Section: otherosfs Priority: optional -Maintainer: Nicolas Boullis +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Nicolas Boullis Build-Depends: debhelper (>> 3.0.0), libxml2-dev, libpopt-dev, texinfo, libcdio-dev (>= 0.76-1), libiso9660-dev, dpkg-awk, pkg-config Build-Conflicts: libpopt0 (= 1.7-1) [m68k], libpopt0 (= 1.7-2) [m68k], libpopt0 (= 1.7-3) [m68k] Standards-Version: 3.7.2 only in patch2: unchanged: --- vcdimager-0.7.23.orig/configure.ac +++ vcdimager-0.7.23/configure.ac @@ -161,7 +161,7 @@ AC_DEFINE(_DEVELOPMENT_, [], enable warnings about being development release) AC_DEFINE(_GNU_SOURCE, [], enable GNU libc extension) AC_STDC_HEADERS -AC_CHECK_HEADERS(sys/stat.h stdint.h inttypes.h stdbool.h sys/mman.h) +AC_CHECK_HEADERS(sys/stat.h stdint.h inttypes.h stdbool.h sys/mman.h time.h) if test "x$ac_cv_header_stdint_h" != "xyes" then only in patch2: unchanged: --- vcdimager-0.7.23.orig/frontends/cli/vcd-info.c +++ vcdimager-0.7.23/frontends/cli/vcd-info.c @@ -38,6 +38,8 @@ #define POPT_ARGFLAG_OPTIONAL 0 #endif +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include #include #include only in patch2: unchanged: --- vcdimager-0.7.23.orig/frontends/cli/cdxa2mpeg.c +++ vcdimager-0.7.23/frontends/cli/cdxa2mpeg.c @@ -33,6 +33,8 @@ #include #include #include +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include #include only in patch2: unchanged: --- vcdimager-0.7.23.orig/frontends/xml/vcd_xml_build.c +++ vcdimager-0.7.23/frontends/xml/vcd_xml_build.c @@ -27,8 +27,14 @@ #include #include +#ifdef HAVE_TIME_H +#include +#endif + #include +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include #include #include only in patch2: unchanged: --- vcdimager-0.7.23.orig/frontends/xml/vcd_xml_common.c +++ vcdimager-0.7.23/frontends/xml/vcd_xml_common.c @@ -25,6 +25,9 @@ #include #include +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ + /* Private includes */ #include "vcd_assert.h" #include "vcd.h" only in patch2: unchanged: --- vcdimager-0.7.23.orig/lib/info_private.c +++ vcdimager-0.7.23/lib/info_private.c @@ -46,6 +46,8 @@ #include #endif +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include #include #include only in patch2: unchanged: --- vcdimager-0.7.23.orig/lib/image_nrg.c +++ vcdimager-0.7.23/lib/image_nrg.c @@ -30,6 +30,8 @@ #include #include +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include #include #include only in patch2: unchanged: --- vcdimager-0.7.23.orig/lib/image_cdrdao.c +++ vcdimager-0.7.23/lib/image_cdrdao.c @@ -26,6 +26,8 @@ #include #include +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ /* Public headers */ #include #include only in patch2: unchanged: --- vcdimager-0.7.23.orig/lib/inf.c +++ vcdimager-0.7.23/lib/inf.c @@ -49,6 +49,8 @@ #include #endif +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include #include #include only in patch2: unchanged: --- vcdimager-0.7.23.orig/lib/vcd_read.h +++ vcdimager-0.7.23/lib/vcd_read.h @@ -22,6 +22,8 @@ # include "config.h" #endif +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include #include only in patch2: unchanged: --- vcdimager-0.7.23.orig/lib/image.c +++ vcdimager-0.7.23/lib/image.c @@ -23,6 +23,8 @@ # include "config.h" #endif +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include /* Public headers */ only in patch2: unchanged: --- vcdimager-0.7.23.orig/lib/files.c +++ vcdimager-0.7.23/lib/files.c @@ -27,6 +27,8 @@ #include #include +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include #include #include only in patch2: unchanged: --- vcdimager-0.7.23.orig/lib/image_bincue.c +++ vcdimager-0.7.23/lib/image_bincue.c @@ -26,6 +26,8 @@ #include #include +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include #include #include only in patch2: unchanged: --- vcdimager-0.7.23.orig/lib/pbc.c +++ vcdimager-0.7.23/lib/pbc.c @@ -26,6 +26,8 @@ #include #include +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include #include #include only in patch2: unchanged: --- vcdimager-0.7.23.orig/lib/info_private.h +++ vcdimager-0.7.23/lib/info_private.h @@ -25,6 +25,8 @@ #ifndef _VCD_INFO_PRIVATE_H #define _VCD_INFO_PRIVATE_H +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #ifdef HAVE_CONFIG_H # include "config.h" only in patch2: unchanged: --- vcdimager-0.7.23.orig/lib/vcd.c +++ vcdimager-0.7.23/lib/vcd.c @@ -28,6 +28,9 @@ #include #include +#define _VCD_INFO_PRIVATE_H +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include #include #include only in patch2: unchanged: --- vcdimager-0.7.23.orig/include/libvcd/types.h +++ vcdimager-0.7.23/include/libvcd/types.h @@ -21,6 +21,8 @@ #ifndef __VCD_TYPES_H__ #define __VCD_TYPES_H__ +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include #ifdef __cplusplus only in patch2: unchanged: --- vcdimager-0.7.23.orig/test/check_vcd20.sh +++ vcdimager-0.7.23/test/check_vcd20.sh @@ -27,7 +27,7 @@ fi else if do_cksum < #include +/* We don't want to pull in cdio's config */ +#define __CDIO_CONFIG_H__ #include #include #include only in patch2: unchanged: --- vcdimager-0.7.23.orig/test/check_nrg.sh +++ vcdimager-0.7.23/test/check_nrg.sh @@ -27,7 +27,7 @@ fi if do_cksum <