Package: autoconf-archive
Version: 20150224-2.1
Severity: normal
Tags: patch

Hi,

There is a typo in m4/ax_check_glu.m4 and m4/ax_check_glx.m4 which
causes the LIBS (and some other) variables to be trashed. This
contributed to the FTBFS in #791540. I've attached a patch which fixes
this for me (and fixes the FTBFS in the other bug).

Thanks,
James

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages autoconf-archive depends on:
ii  dpkg  1.18.2

Versions of packages autoconf-archive recommends:
ii  autoconf  2.69-8

autoconf-archive suggests no packages.

-- no debconf information
diff -u -r a/m4/ax_check_glu.m4 b/m4/ax_check_glu.m4
--- a/m4/ax_check_glu.m4	2015-02-23 23:00:00.000000000 +0000
+++ b/m4/ax_check_glu.m4	2015-08-14 12:18:29.064421280 +0100
@@ -316,7 +316,7 @@
                          [ax_check_glu_have_headers="yes";break],
                          [ax_check_glu_have_headers_headers="no"],
 			 [_AX_CHECK_GLU_INCLUDES_DEFAULT()])
-        _AX_CHECK_GL_RESTORE_FLAGS()
+        _AX_CHECK_GLU_RESTORE_FLAGS()
 	AC_LANG_POP([C])
 	AC_CACHE_CHECK([for OpenGL Utility (GLU) headers],[ax_cv_check_glu_have_headers],
                	       [ax_cv_check_glu_have_headers="${ax_check_glu_have_headers}"])
diff -u -r a/m4/ax_check_glx.m4 b/m4/ax_check_glx.m4
--- a/m4/ax_check_glx.m4	2015-02-23 23:00:00.000000000 +0000
+++ b/m4/ax_check_glx.m4	2015-08-14 12:18:48.260513289 +0100
@@ -259,7 +259,7 @@
                          [ax_check_glx_have_headers="yes";break],
                          [ax_check_glx_have_headers_headers="no"],
 			 [_AX_CHECK_GLX_INCLUDES_DEFAULT()])
-        _AX_CHECK_GL_RESTORE_FLAGS()
+        _AX_CHECK_GLX_RESTORE_FLAGS()
 	AC_LANG_POP([C])
 	AC_CACHE_CHECK([for OpenGL Utility (GLX) headers],[ax_cv_check_glx_have_headers],
 		       [ax_cv_check_glx_have_headers="${ax_check_glx_have_headers}"])

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to