forked from Lainports/freebsd-ports
lang/gnu-apl: try to fix the port's build on recent -CURRENT
Use modern smart pointer class `std::unique_ptr' instead of the deprecated in C++11 and removed in C++17 `std::auto_ptr'. Reported by: pkg-fallout
This commit is contained in:
parent
16c96886b0
commit
9a5b72855f
1 changed files with 3 additions and 0 deletions
|
|
@ -49,6 +49,9 @@ SQLITE_CONFIGURE_WITH= sqlite3=${LOCALBASE}
|
|||
post-patch:
|
||||
@${REINPLACE_CMD} -e '25s,^,#include <sys/socket.h>,' \
|
||||
${WRKSRC}/src/Common.hh
|
||||
@${REINPLACE_CMD} -e 's,auto_ptr,unique_ptr,' \
|
||||
${WRKSRC}/src/emacs_mode/network.cc \
|
||||
${WRKSRC}/src/sql/apl-sqlite.cc
|
||||
@${REINPLACE_CMD} -e 's,bind(,::&,' \
|
||||
${WRKSRC}/src/emacs_mode/TcpListener.cc \
|
||||
${WRKSRC}/src/emacs_mode/UnixSocketListener.cc
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue