mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
* Update master site and home page.
* Honor CXX/CXXFLAGS. * Fix C++ for GCC3. Partly from discussion with and PR: 44404 Submitted by: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> Approved by: maintainer
This commit is contained in:
parent
d8c45ebd7b
commit
dfa31f08f4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68682
@ -8,15 +8,13 @@
|
||||
PORTNAME= ntalk
|
||||
PORTVERSION= 0.6.3
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://network.terramail.pl/files/
|
||||
MASTER_SITES= http://network.terramail.pl/
|
||||
|
||||
MAINTAINER= gslin@ccca.nctu.edu.tw
|
||||
|
||||
USE_REINPLACE= yes
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/Makefile
|
||||
do-build:
|
||||
cd ${WRKSRC}; \
|
||||
${CXX} ${CXXFLAGS} -o ntalk ntalk.cpp -lncurses ${PTHREAD_LIBS}
|
||||
|
||||
do-install:
|
||||
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
||||
|
23
net/ntalk/files/patch-ntalk.cpp
Normal file
23
net/ntalk/files/patch-ntalk.cpp
Normal file
@ -0,0 +1,23 @@
|
||||
|
||||
$FreeBSD$
|
||||
|
||||
--- ntalk.cpp.orig Wed Oct 23 17:27:37 2002
|
||||
+++ ntalk.cpp Wed Oct 23 17:31:54 2002
|
||||
@@ -44,6 +44,8 @@
|
||||
#define WHOIS "10"
|
||||
#define SRVMESSAGE "11"
|
||||
|
||||
+using namespace std;
|
||||
+
|
||||
|
||||
struct color {
|
||||
int you;
|
||||
@@ -341,7 +343,7 @@
|
||||
a = count(msg.begin(), msg.end(), ';');
|
||||
for(x = 0; x < a; x++)
|
||||
{
|
||||
- msg.replace(msg.find(';'), 1, '\n');
|
||||
+ msg.replace(msg.find(';'), 1, "\n");
|
||||
}
|
||||
|
||||
mvwprintw(user_w, 0, 0, "%s", msg.c_str());
|
@ -2,4 +2,4 @@ ntalk is a chat console app written with ncurses. It's designed to work in
|
||||
all kinds of networks (LAN/WAN) and to be much more friendly and functional
|
||||
than Unix talk.
|
||||
|
||||
WWW: http://kab.w.interia.pl/
|
||||
WWW: http://network.terramail.pl/
|
||||
|
Loading…
Reference in New Issue
Block a user