SHA256
1
0
forked from pool/openafs
openafs/openafs-1.8.x.ncurses6.patch
David Sterba a7c8d16e59 Accepting request 586757 from home:hauky
Hello,

this package should replace the package openafs18.
The reason for this request is that I would like to
get this software into Factory, but it violaites the nameing
convention. Thus, I decided to have one package "openafs"
with the up-to-date version of the software.
The package "openafs16" should still stay in filesystems.
Once this is accepted, I will create a deletion request
for filesystems/openafs18

Many thanks.

OBS-URL: https://build.opensuse.org/request/show/586757
OBS-URL: https://build.opensuse.org/package/show/filesystems/openafs?expand=0&rev=1
2018-03-14 17:57:49 +00:00

14 lines
844 B
Diff

--- a/src/cf/curses.m4.orig 2018-01-07 08:17:41.815732371 +0100
+++ b/src/cf/curses.m4 2018-01-07 08:23:50.585670554 +0100
@@ -19,7 +19,9 @@
AC_CHECK_LIB([ncurses], [initscr],
[AC_CHECK_LIB([ncurses], [LINES], [openafs_cv_curses_lib=-lncurses],
[AC_CHECK_LIB([tinfo], [LINES],
- [openafs_cv_curses_lib="-lncurses -ltinfo"])])])
+ [openafs_cv_curses_lib="-lncurses -ltinfo"],
+ [AC_CHECK_LIB([ncurses], [_nc_LINES], [openafs_cv_curses_lib=-lncurses],
+ [AC_CHECK_LIB([tinfo], [_nc_LINES], [openafs_cv_curses_lib="-lncurses -ltinfo"])])])])])
AS_IF([test "x$openafs_cv_curses_lib" = x],
[AC_CHECK_LIB([Hcurses], [initscr], [openafs_cv_curses_lib=-lHcurses])])
AS_IF([test "x$openafs_cv_curses_lib" = x],