]> git.pld-linux.org Git - packages/heimdal.git/blob - heimdal-ac.patch
- fix makefiles instead of redefining libexecdir in spec
[packages/heimdal.git] / heimdal-ac.patch
1 diff -Nur heimdal-1.2.1-orig/cf/check-var.m4 heimdal-1.2.1/cf/check-var.m4
2 --- heimdal-1.2.1-orig/cf/check-var.m4  2008-07-28 14:04:49.000000000 +0200
3 +++ heimdal-1.2.1/cf/check-var.m4       2009-09-18 18:12:45.000000000 +0200
4 @@ -19,7 +19,7 @@
5  if test "$ac_foo" = yes; then
6         AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_[]$1), 1, 
7                 [Define if you have the `]$1[' variable.])
8 -       m4_ifval([$2], AC_CHECK_DECLS([$1],[],[],[$2]))
9 +       m4_ifval([$2], AC_CHECK_DECLS([$1],[],[],[[$2]]))
10  fi
11  ])
12  
13 diff -Nur heimdal-1.2.1-orig/cf/roken-frag.m4 heimdal-1.2.1/cf/roken-frag.m4
14 --- heimdal-1.2.1-orig/cf/roken-frag.m4 2008-07-28 14:04:49.000000000 +0200
15 +++ heimdal-1.2.1/cf/roken-frag.m4      2009-09-18 18:12:26.000000000 +0200
16 @@ -586,11 +586,11 @@
17  #include <err.h>
18  #endif])
19  
20 -AC_CHECK_DECLS([optarg, optind, opterr, optopt, environ],[],[][
21 +AC_CHECK_DECLS([optarg, optind, opterr, optopt, environ],[],[],[[
22  #include <stdlib.h>
23  #ifdef HAVE_UNISTD_H
24  #include <unistd.h>
25 -#endif])
26 +#endif]])
27  
28  dnl
29  dnl Check for fields in struct tm
This page took 0.029717 seconds and 3 git commands to generate.