pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/mit-krb5 security/mit-krb5: update patch-aclo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0dd74b2891ef
branches:  trunk
changeset: 445307:0dd74b2891ef
user:      brook <brook%pkgsrc.org@localhost>
date:      Tue Jan 19 16:18:03 2021 +0000

description:
security/mit-krb5: update patch-aclocal.m4 to avoid empty conditional branch.

Mainline autoconf generates no shell code for AC_CONFIG_AUX_DIR().
Call it unconditionally to avoid a syntax error.  See
https://github.com/krb5/krb5/commit/f78edbe30816f049e1360cb6e203fabfdf7b98df.

diffstat:

 security/mit-krb5/distinfo                 |   4 ++--
 security/mit-krb5/patches/patch-aclocal.m4 |  29 +++++++++++++++++++++++------
 2 files changed, 25 insertions(+), 8 deletions(-)

diffs (79 lines):

diff -r f0e2fdb34001 -r 0dd74b2891ef security/mit-krb5/distinfo
--- a/security/mit-krb5/distinfo        Tue Jan 19 16:03:08 2021 +0000
+++ b/security/mit-krb5/distinfo        Tue Jan 19 16:18:03 2021 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.74 2021/01/16 09:00:23 jperkin Exp $
+$NetBSD: distinfo,v 1.75 2021/01/19 16:18:03 brook Exp $
 
 SHA1 (krb5-1.18.3.tar.gz) = fdbb31fab5bdea24fc464d09bdbc245740648f1a
 RMD160 (krb5-1.18.3.tar.gz) = b8a3c3542433442e18984456773b0a2749fc6282
 SHA512 (krb5-1.18.3.tar.gz) = cf0bf6cf8f622fa085954e6da998d952cf64dc7ccc319972ed81ea0542089cabf2d0e8243df84da01ad6f40584768ca2f02d108630c6741fa7b3d7d98c887c01
 Size (krb5-1.18.3.tar.gz) = 8715312 bytes
 SHA1 (patch-Makefile.in) = 24f915d7a4340b9a4a454b9b67c94147fdc49c34
-SHA1 (patch-aclocal.m4) = 07b5d9ae38c74eaea6ba62aed9062dca1bf7f3fb
+SHA1 (patch-aclocal.m4) = d9903b91dfe7c1d580f5e9687fb963bc2e8d4529
 SHA1 (patch-build-tools_krb5-config.in) = 4ab922df1d86d86f9ef043f2c5cdf048c0477d3a
 SHA1 (patch-ccapi_test_test__ccapi.sh) = 5210f31dd23e6f556d40f5ff2b436bf395eef4d0
 SHA1 (patch-config_lib.in) = 974db26486b3239e4fcd53be7280b32c802f6007
diff -r f0e2fdb34001 -r 0dd74b2891ef security/mit-krb5/patches/patch-aclocal.m4
--- a/security/mit-krb5/patches/patch-aclocal.m4        Tue Jan 19 16:03:08 2021 +0000
+++ b/security/mit-krb5/patches/patch-aclocal.m4        Tue Jan 19 16:18:03 2021 +0000
@@ -1,11 +1,28 @@
-$NetBSD: patch-aclocal.m4,v 1.2 2019/07/12 15:40:55 jperkin Exp $
+$NetBSD: patch-aclocal.m4,v 1.3 2021/01/19 16:18:03 brook Exp $
 
 Don't make sunpro warnings into errors (warnings are seen in gcc too)
 Add --enable-pkgsrc-libtool option
 
---- aclocal.m4.orig    2018-05-03 14:34:47.000000000 +0000
+Mainline autoconf generates no shell code for AC_CONFIG_AUX_DIR().
+Call it unconditionally to avoid a syntax error.  See
+https://github.com/krb5/krb5/commit/f78edbe30816f049e1360cb6e203fabfdf7b98df.
+
+--- aclocal.m4.orig    2020-05-22 00:21:40.000000000 +0000
 +++ aclocal.m4
-@@ -633,7 +633,7 @@ else
+@@ -13,11 +13,7 @@ fi
+ ac_topdir=$srcdir/$ac_reltopdir
+ ac_config_fragdir=$ac_reltopdir/config
+ # echo "Looking for $srcdir/$ac_config_fragdir"
+-if test -d "$srcdir/$ac_config_fragdir"; then
+-  AC_CONFIG_AUX_DIR(K5_TOPDIR/config)
+-else
+-  AC_MSG_ERROR([can not find config/ directory in $ac_reltopdir])
+-fi
++AC_CONFIG_AUX_DIR(K5_TOPDIR/config)
+ ])dnl
+ dnl
+ dnl Version info.
+@@ -631,7 +627,7 @@ else
      if test "x$krb5_ac_warn_cflags_set" = xset ; then
        AC_MSG_NOTICE(not adding extra warning flags because WARN_CFLAGS was set)
      else
@@ -14,7 +31,7 @@
      fi
      if test "x$krb5_ac_warn_cxxflags_set" = xset ; then
        AC_MSG_NOTICE(not adding extra warning flags because WARN_CXXFLAGS was set)
-@@ -1068,6 +1068,9 @@ AC_SUBST(SHLIBVEXT)
+@@ -1066,6 +1062,9 @@ AC_SUBST(SHLIBVEXT)
  AC_SUBST(SHLIBSEXT)
  AC_SUBST(DEPLIBEXT)
  AC_SUBST(PFLIBEXT)
@@ -24,7 +41,7 @@
  AC_SUBST(LIBINSTLIST)
  AC_SUBST(DYNOBJEXT)
  AC_SUBST(MAKE_DYNOBJ_COMMAND)
-@@ -1085,6 +1088,7 @@ AC_SUBST(OBJLISTS)
+@@ -1083,6 +1082,7 @@ AC_SUBST(OBJLISTS)
  AC_SUBST(STOBJEXT)
  AC_SUBST(SHOBJEXT)
  AC_SUBST(PFOBJEXT)
@@ -32,7 +49,7 @@
  AC_SUBST(PICFLAGS)
  AC_SUBST(PROFFLAGS)])
  
-@@ -1199,11 +1203,42 @@ else
+@@ -1197,11 +1197,42 @@ else
        KDB5_PLUGIN_DEPLIBS=
        KDB5_PLUGIN_LIBS=
  fi



Home | Main Index | Thread Index | Old Index