slackware-current/source/n/gpgme/gpgme.no.py2.7.hack.diff
Patrick J Volkerding e1cb531b52 Thu Nov 7 21:46:13 UTC 2024
a/libblockdev-3.2.1-x86_64-1.txz:  Upgraded.
a/mkinitrd-1.4.11-x86_64-45.txz:  Rebuilt.
  /etc/default/geninitrd: Add AUTOGENERATE_INITRD variable for disabling
  automatically generating the initrd when the kernel package is upgraded.
  The hook to trigger this will be in the next kernel-generic package.
  setup.01.mkinitrd: skip generating an initrd if we're called from the
  kernel doinst.sh and AUTOGENERATE_INITRD=false.
  geninitrd: Look for an override script called /usr/local/sbin/geninitrd,
  not /usr/local/bin/geninitrd-custom. Thanks to GazL.
ap/mariadb-11.4.4-x86_64-2.txz:  Rebuilt.
  rc.mysqld: use mariadbd-safe, not mysqld_safe. Thanks to teoberi.
d/cmake-3.31.0-x86_64-1.txz:  Upgraded.
l/expat-2.6.4-x86_64-1.txz:  Upgraded.
  This update fixes bugs and a security issue:
  Fix crash within function XML_ResumeParser from a NULL pointer dereference
  by disallowing function XML_StopParser to (stop or) suspend an unstarted
  parser. A new error code XML_ERROR_NOT_STARTED was introduced to properly
  communicate this situation.
  For more information, see:
    https://www.cve.org/CVERecord?id=CVE-2024-50602
  (* Security fix *)
n/gpgme-1.24.0-x86_64-1.txz:  Upgraded.
  Added libqgpgmeqt6.
xap/ffmpegthumbnailer-2.2.3-x86_64-1.txz:  Upgraded.
xap/mozilla-thunderbird-128.4.2esr-x86_64-1.txz:  Upgraded.
  This is a bugfix release.
  For more information, see:
    https://www.mozilla.org/en-US/thunderbird/128.4.2esr/releasenotes/
2024-11-07 23:42:38 +01:00

44 lines
2.2 KiB
Diff

--- ./configure.orig 2024-11-06 04:45:38.000000000 -0600
+++ ./configure 2024-11-07 12:57:38.595719916 -0600
@@ -22165,13 +22165,13 @@
if test -n "$PYTHON"; then
# If the user set $PYTHON, use it and don't search something else.
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.7" >&5
-printf %s "checking whether $PYTHON version is >= 2.7... " >&6; }
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 2.8" >&5
+printf %s "checking whether $PYTHON version is >= 2.8... " >&6; }
prog="import sys
# split strings by '.' and convert to numeric. Append some zeros
# because we need at least 4 digits for the hex conversion.
# map returns an iterator in Python 3.0 and a list in 2.x
-minver = list(map(int, '2.7'.split('.'))) + [0, 0, 0]
+minver = list(map(int, '2.8'.split('.'))) + [0, 0, 0]
minverhex = 0
# xrange is not present in Python 3.0 and range returns an iterator
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
@@ -22193,20 +22193,20 @@
else
# Otherwise, try each interpreter until we find one that satisfies
# VERSION.
- { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.7" >&5
-printf %s "checking for a Python interpreter with version >= 2.7... " >&6; }
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 2.8" >&5
+printf %s "checking for a Python interpreter with version >= 2.8... " >&6; }
if test ${am_cv_pathless_PYTHON+y}
then :
printf %s "(cached) " >&6
else $as_nop
- for am_cv_pathless_PYTHON in python2.7 none; do
+ for am_cv_pathless_PYTHON in python2.8 none; do
test "$am_cv_pathless_PYTHON" = none && break
prog="import sys
# split strings by '.' and convert to numeric. Append some zeros
# because we need at least 4 digits for the hex conversion.
# map returns an iterator in Python 3.0 and a list in 2.x
-minver = list(map(int, '2.7'.split('.'))) + [0, 0, 0]
+minver = list(map(int, '2.8'.split('.'))) + [0, 0, 0]
minverhex = 0
# xrange is not present in Python 3.0 and range returns an iterator
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]