summaryrefslogtreecommitdiff
path: root/chat/quirc/patches/patch-ag
blob: f560d4a9867562bf4d3058e9ccb88c953a6d3ad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$NetBSD: patch-ag,v 1.2 2013/01/26 23:05:16 wiz Exp $

First chunk: automake-1.13 compat.
Second chunk: look for sys/types.h.

--- configure.in.orig	2004-01-12 09:33:19.000000000 +0000
+++ configure.in
@@ -7,7 +7,7 @@ dnl Set up Automake handling
 AM_INIT_AUTOMAKE(quirc,0.9.84)
 
 dnl Do the config.h stuff
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS(config.h)
 
 dnl Set the version information
 RPMREL=1
@@ -417,6 +417,8 @@ if test "$HAVETK" != "1"; then AC_MSG_ER
 dnl Make sure size_t is defined
 AC_TYPE_SIZE_T
 
+AC_CHECK_HEADERS([sys/types.h])
+
 dnl Make sure u_int32_t is defined for arlib.c
 AC_CHECK_TYPE(u_int32_t,unsigned int)