Bump shared library versions after ncurses bump in 13.

A few shared libraries in the base system link against ncurses.  An
upgrade from a 12.x host to 13 results in ABI breakage for existing
binaries since the newer versions of these libraries link against the
newer ncurses while the binary itself links against the older ncurses.
For example, dialog4ports built on 12.x sometimes crashes on 13 since
it depends on libdialog which links against ncurses internally.

MFC after:	3 days
Reviewed by:	kib, delphij
Differential Revision:	https://reviews.freebsd.org/D28448
This commit is contained in:
John Baldwin 2021-02-01 17:09:33 -08:00
parent 7787e7eed9
commit 0b7f1af804
7 changed files with 17 additions and 3 deletions

View File

@ -36,6 +36,17 @@
# xargs -n1 | sort | uniq -d;
# done
# 20210201: bump shared libraries which link against ncurses
OLD_LIBS+=lib/libedit.so.7
OLD_LIBS+=usr/lib/libdialog.so.8
OLD_LIBS+=usr/lib/libdpv.so.1
OLD_LIBS+=usr/lib/libform.so.5
OLD_LIBS+=usr/lib/libformw.so.5
OLD_LIBS+=usr/lib/libmenu.so.5
OLD_LIBS+=usr/lib/libmenuw.so.5
OLD_LIBS+=usr/lib/libpanel.so.5
OLD_LIBS+=usr/lib/libpanelw.so.5
# 20210125: ndis driver support removed
OLD_FILES+=usr/sbin/ndiscvt
OLD_FILES+=usr/sbin/ndisgen

View File

@ -3,7 +3,7 @@
DIALOG= ${SRCTOP}/contrib/dialog
LIB= dialog
SHLIB_MAJOR= 8
SHLIB_MAJOR= 9
SRCS= argv.c arrows.c buildlist.c buttons.c calendar.c checklist.c \
columns.c dlg_keys.c editbox.c fselect.c formbox.c guage.c \
help.c inputbox.c inputstr.c menubox.c mixedform.c \

View File

@ -2,7 +2,7 @@
PACKAGE= dpv
LIB= dpv
SHLIB_MAJOR= 1
SHLIB_MAJOR= 2
INCS= dpv.h
MAN= dpv.3
MLINKS= dpv.3 dpv_free.3

View File

@ -7,7 +7,7 @@ PACKAGE=clibs
EDITDIR= ${SRCTOP}/contrib/libedit
.PATH: ${EDITDIR}
SHLIB_MAJOR= 7
SHLIB_MAJOR= 8
SHLIBDIR?= /lib
WARNS?= 3

View File

@ -6,6 +6,7 @@
SRCDIR= ${NCURSES_DIR}/form
LIB= formw
SHLIB_MAJOR= 6
.PATH: ${SRCDIR}
SRCS= \

View File

@ -6,6 +6,7 @@
SRCDIR= ${NCURSES_DIR}/menu
LIB= menuw
SHLIB_MAJOR= 6
.PATH: ${SRCDIR}
SRCS= \

View File

@ -6,6 +6,7 @@
SRCDIR= ${NCURSES_DIR}/panel
LIB= panelw
SHLIB_MAJOR= 6
.PATH: ${SRCDIR}
SRCS= \