Fix link order in ncurses autoconf test
Thanks to Steve McIntyre for the patch (https://bugs.debian.org/646486)
This commit is contained in:
parent
a09cb22d83
commit
b248b1ce7e
41
0004-Fix-link-order-in-ncurses-autoconf-test.patch
Normal file
41
0004-Fix-link-order-in-ncurses-autoconf-test.patch
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
From d2633be28487f7b9adf1cce612ca781b236f2700 Mon Sep 17 00:00:00 2001
|
||||||
|
From: "bas@zoetekouw.net" <bas@zoetekouw.net>
|
||||||
|
Date: Tue, 8 Aug 2017 19:25:34 +0200
|
||||||
|
Subject: [PATCH] Fix link order in ncurses autoconf test Thanks to Steve
|
||||||
|
McIntyre for the patch (https://bugs.debian.org/646486)
|
||||||
|
|
||||||
|
---
|
||||||
|
macros/curses.m4 | 8 ++++----
|
||||||
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/macros/curses.m4 b/macros/curses.m4
|
||||||
|
index b42fe7c..415eecf 100644
|
||||||
|
--- a/macros/curses.m4
|
||||||
|
+++ b/macros/curses.m4
|
||||||
|
@@ -254,11 +254,11 @@ dnl check if the curses header we found, works
|
||||||
|
dnl
|
||||||
|
AC_DEFUN([AC_CHECK_CURSES_COMPILE], [
|
||||||
|
|
||||||
|
- dnl save CFLAGS and LDFLAGS and set new ones
|
||||||
|
+ dnl save CFLAGS and LIBS and set new ones
|
||||||
|
CFLAGS_OLD=$CFLAGS
|
||||||
|
CFLAGS="$CFLAGS $curses_includes"
|
||||||
|
- LDFLAGS_OLD=$LDFLAGS
|
||||||
|
- LDFLAGS="$LDFLAGS $curses_libs"
|
||||||
|
+ LIBS_OLD=$LIBS
|
||||||
|
+ LIBS="$LIBS $curses_libs"
|
||||||
|
|
||||||
|
dnl do the compile test
|
||||||
|
AC_MSG_CHECKING([if curses is usable])
|
||||||
|
@@ -288,7 +288,7 @@ AC_DEFUN([AC_CHECK_CURSES_COMPILE], [
|
||||||
|
|
||||||
|
dnl restore variables
|
||||||
|
CFLAGS=$CFLAGS_OLD
|
||||||
|
- LDFLAGS=$LDFLAGS_OLD
|
||||||
|
+ LIBS=$LIBS_OLD
|
||||||
|
|
||||||
|
])
|
||||||
|
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: pinfo
|
Name: pinfo
|
||||||
Version: 0.6.10
|
Version: 0.6.10
|
||||||
Release: 25
|
Release: 26
|
||||||
Summary: An user-friendly, console-based viewer for Info documents
|
Summary: An user-friendly, console-based viewer for Info documents
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://pinfo.alioth.debian.org
|
URL: http://pinfo.alioth.debian.org
|
||||||
@ -14,6 +14,7 @@ Patch0006: pinfo-0.6.10-man.patch
|
|||||||
Patch0007: 0001-Gracefully-handle-missing-indirect-info-nodes.patch
|
Patch0007: 0001-Gracefully-handle-missing-indirect-info-nodes.patch
|
||||||
Patch0008: 0002-Fix-infinite-loop-when-regexp-matching-an-empty-stri.patch
|
Patch0008: 0002-Fix-infinite-loop-when-regexp-matching-an-empty-stri.patch
|
||||||
Patch0009: 0003-Fix-segfautl-by-closing-unopened-file.patch
|
Patch0009: 0003-Fix-segfautl-by-closing-unopened-file.patch
|
||||||
|
Patch0010: 0004-Fix-link-order-in-ncurses-autoconf-test.patch
|
||||||
|
|
||||||
BuildRequires: ncurses-devel automake gettext-devel libtool texinfo
|
BuildRequires: ncurses-devel automake gettext-devel libtool texinfo
|
||||||
Requires: xdg-utils
|
Requires: xdg-utils
|
||||||
@ -55,6 +56,9 @@ Pinfo-help provides man pages and other related help documents for pinfo.
|
|||||||
%{_mandir}/man1/pinfo.1*
|
%{_mandir}/man1/pinfo.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 24 2023 liyuanyuan <liyuanyuan@xfusion.com> - 0.6.10-26
|
||||||
|
- Fix link order in ncurses autoconf test
|
||||||
|
|
||||||
* Thu Nov 09 2023 liyuanyuan <liyuanyuan@xfusion.com> - 0.6.10-25
|
* Thu Nov 09 2023 liyuanyuan <liyuanyuan@xfusion.com> - 0.6.10-25
|
||||||
- Fix segfautl by closing unopened file
|
- Fix segfautl by closing unopened file
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user