Debian Codegraph @

debian/patches/03-debian-ncursesconfig-omit-L.diff

raw symbols SCIP
1 Authorscip-debian debian ncurses 6.6+20251231-1 ncurses/patches/`03-debian-ncursesconfig-omit-L.diff`#Author.: Sven Joachim <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Descriptionscip-debian debian ncurses 6.6+20251231-1 ncurses/patches/`03-debian-ncursesconfig-omit-L.diff`#Description.: Omit -L part from ncurses6{w,}-config output
3 "ncurses6-config --libs" includes a "-L" part which is not needed
4 since the library is installed in a directory in the default linker
5 search path.
6 .
7 Upstream omits the -L part if $libdir is in a standard directory,
8 however the list of standard directories is determined at build time
9 and architecture dependent, breaking multiarch co-installability.
10 Until there is a way to obtain the multiarch path without running
11 dpkg-architecture our patch is not upstreamable.
12 Bug-Debianscip-debian debian ncurses 6.6+20251231-1 ncurses/patches/`03-debian-ncursesconfig-omit-L.diff`#Bug-Debian.: https://bugs.debian.org/638281scip-debian-bts debian-bts . . 638281:
13 Bug-Debianscip-debian debian ncurses 6.6+20251231-1 ncurses/patches/`03-debian-ncursesconfig-omit-L.diff`#Bug-Debian.: https://bugs.debian.org/745479scip-debian-bts debian-bts . . 745479:
14 Forwardedscip-debian debian ncurses 6.6+20251231-1 ncurses/patches/`03-debian-ncursesconfig-omit-L.diff`#Forwarded.: not-needed
15 Last-Updatescip-debian debian ncurses 6.6+20251231-1 ncurses/patches/`03-debian-ncursesconfig-omit-L.diff`#Last-Update.: 2025-01-27
16
17 ---
18 misc/ncurses-config.in | 6 ++----
19 1 file changed, 2 insertions(+), 4 deletions(-)
20
21 --- a/misc/ncurses-config.inscip-debian debian ncurses 6.6+20251231-1 ncurses/upstream/`misc/ncurses-config.in`:
22 +++ b/misc/ncurses-config.inscip-debian debian ncurses 6.6+20251231-1 ncurses/upstream/`misc/ncurses-config.in`:
23 @@ -41,7 +41,6 @@ exec_prefix="@exec_prefix@"
24
25 bindir="@bindir@"
26 includedir="@includedir@"
27 -libdir="@libdir@"
28 datarootdir="@datarootdir@"
29 datadir="@datadir@"
30 mandir="@mandir@"
31 @@ -129,13 +128,13 @@ do
32 lib_check=`echo "x$opt" | sed -e 's/^.-L//'`
33 [ -d "$lib_check" ] || continue
34 case "$lib_check" in
35 - @LD_SEARCHPATH@) # skip standard libdir
36 + *) # skip standard libdir
37 if [ "$lib_check" = "$libdir" ]
38 then
39 lib_first=no
40 IFS_save="$IFS"
41 IFS='|'
42 - LIBDIRS="@LD_SEARCHPATH@"
43 + LIBDIRS=""
44 for lib_check in $LIBDIRS
45 do
46 if [ -d "$lib_check" ]
47 @@ -324,7 +323,6 @@ while [ $# -gt 0 ]; do
48 echo "$INCS"
49 ;;
50 --libdir)
51 - echo "${libdir}"
52 ;;
53 --mandir)
54 echo "${mandir}"