void-packages/srcpkgs/zbar/patches/new_autotools_build_fix.patch
Alessio Sergi e7b1aa7297 zbar: unbreak cross due to old v4l1
v4l1 is not a thing since Linux 2.6.38.
2017-05-07 16:12:14 +02:00

16 lines
615 B
Diff

--- configure.ac.orig
+++ configure.ac
@@ -1,9 +1,11 @@
dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ([2.61])
+AC_PREREQ([2.68])
+m4_ifndef([AC_LANG_DEFINES_PROVIDED],
+ [m4_define([AC_LANG_DEFINES_PROVIDED])])
AC_INIT([zbar], [0.10], [spadix@users.sourceforge.net])
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_MACRO_DIR(config)
-AM_INIT_AUTOMAKE([1.10 -Wall -Werror foreign subdir-objects std-options dist-bzip2])
+AM_INIT_AUTOMAKE([1.13 foreign subdir-objects std-options dist-bzip2])
AC_CONFIG_HEADERS([include/config.h])
AC_CONFIG_SRCDIR(zbar/scanner.c)
LT_PREREQ([2.2])