Skip to content

Commit a41e5aa

Browse files
committed
Switch to libncursesw6
1 parent cd7dd1a commit a41e5aa

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ENV AS_BUILDAGENT=0 \
1515
RUN apt-get update && \
1616
apt-get install -y software-properties-common wget ca-certificates git build-essential \
1717
gcc-10 g++-10 curl subversion ncftp \
18-
libncurses-dev libncursesw5 libmysqlclient-dev
18+
libncurses-dev libncursesw6 libmysqlclient-dev
1919

2020
# Set build directory
2121
VOLUME /build

Dockerfile.arm64

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN sed -i 's/deb http/deb \[arch=amd64,i386\] http/' /etc/apt/sources.list && \
2121
apt-get update && \
2222
apt-get install -y make git ncftp \
2323
gcc-10-aarch64-linux-gnu g++-10-aarch64-linux-gnu \
24-
libncursesw5:arm64 libncursesw5-dev:arm64 libmysqlclient-dev:arm64
24+
libncurses-dev:arm64 libncursesw6:arm64 libmysqlclient-dev:arm64
2525

2626
# Set build directory
2727
VOLUME /build

Dockerfile.armhf

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ RUN sed -i 's/deb http/deb \[arch=amd64,i386\] http/' /etc/apt/sources.list && \
2121
apt-get update && \
2222
apt-get install -y make git ncftp \
2323
gcc-10-arm-linux-gnueabihf g++-10-arm-linux-gnueabihf \
24-
libncursesw5:armhf libncursesw5-dev:armhf libmysqlclient-dev:armhf
24+
libncurses-dev:armhf libncursesw6:armhf libmysqlclient-dev:armhf
2525

2626
# Set build directory
2727
VOLUME /build

Dockerfile.i386

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ENV AS_BUILDAGENT=0 \
1515
RUN dpkg --add-architecture i386 && apt-get update && \
1616
apt-get install -y software-properties-common wget ca-certificates git build-essential \
1717
gcc-10-multilib g++-10-multilib curl subversion ncftp \
18-
libncurses-dev:i386 libncursesw5:i386 libmysqlclient-dev:i386
18+
libncurses-dev:i386 libncursesw6:i386 libmysqlclient-dev:i386
1919

2020
# Set build directory
2121
VOLUME /build

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ You can build the MTA:SA server on GNU/Linux distributions only for x86, x86_64,
6464
- git
6565
- make
6666
- GNU GCC compiler (version 10 or newer)
67-
- libncursesw5
68-
- libncursesw5-dev
67+
- libncursesw6
68+
- libncurses-dev
6969
- libmysqlclient-dev
7070

7171
**Build instructions: Script**

Server/core/premake5.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ project "Core"
4444
links { "breakpad", "rt" }
4545
buildoptions { "-pthread" }
4646
linkoptions { "-pthread" }
47-
linkoptions { "-l:libncursesw.so.5" }
47+
linkoptions { "-l:libncursesw.so.6" }
4848

4949
filter "system:macosx"
5050
links { "ncurses", "breakpad", "CoreFoundation.framework" }

0 commit comments

Comments
 (0)