pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/dasher Force pkgsrc msgfmt. Fix socket vs <fun...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/432847c6c5ba
branches:  trunk
changeset: 414641:432847c6c5ba
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Mar 30 19:31:19 2020 +0000

description:
Force pkgsrc msgfmt. Fix socket vs <functional> conflict.

diffstat:

 editors/dasher/Makefile                                         |   7 +++-
 editors/dasher/distinfo                                         |   3 +-
 editors/dasher/patches/patch-Src_DasherCore_SocketInputBase.cpp |  13 ++++++++++
 3 files changed, 20 insertions(+), 3 deletions(-)

diffs (52 lines):

diff -r fc56235a3da6 -r 432847c6c5ba editors/dasher/Makefile
--- a/editors/dasher/Makefile   Mon Mar 30 19:30:28 2020 +0000
+++ b/editors/dasher/Makefile   Mon Mar 30 19:31:19 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.104 2020/03/26 12:20:01 nia Exp $
+# $NetBSD: Makefile,v 1.105 2020/03/30 19:31:19 joerg Exp $
 
 DISTNAME=      dasher-5.0.0.b20200225
 CATEGORIES=    editors gnome
@@ -16,9 +16,12 @@
 USE_LIBTOOL=   yes
 USE_LANGUAGES= c c++
 
-USE_TOOLS+=    autoreconf autoconf automake autopoint
+USE_TOOLS+=    autoreconf autoconf automake autopoint msgfmt
 USE_TOOLS+=    pkg-config
 
+# Requires --desktop in msgfmt.
+_TOOLS_USE_PKGSRC.msgfmt=      yes
+
 pre-configure:
        # tries to invoke git for something, probably fetching the ref
        ${ECHO} "true" > ${WRKSRC}/build-aux/mkversion
diff -r fc56235a3da6 -r 432847c6c5ba editors/dasher/distinfo
--- a/editors/dasher/distinfo   Mon Mar 30 19:30:28 2020 +0000
+++ b/editors/dasher/distinfo   Mon Mar 30 19:31:19 2020 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.33 2020/03/23 12:25:38 nia Exp $
+$NetBSD: distinfo,v 1.34 2020/03/30 19:31:19 joerg Exp $
 
 SHA1 (dasher-5.0.0.b20200225-e03b0dbf1f1132e83645ff78c92efd63fca5a812.tar.gz) = 327a9f268df919e9f123edc210115a6f5c089178
 RMD160 (dasher-5.0.0.b20200225-e03b0dbf1f1132e83645ff78c92efd63fca5a812.tar.gz) = 2dc783e860df87fe1b5a0c6cc6b9cd2b5c6fac20
 SHA512 (dasher-5.0.0.b20200225-e03b0dbf1f1132e83645ff78c92efd63fca5a812.tar.gz) = 
4c21270c2608c80d9ecaddc21de9fe6fc840c7803c03b9c7d43b2844ff551df6c89031c934636ea05adaa05e5d467f32eb05ea6859a400866aeeb4d2c604868d
 Size (dasher-5.0.0.b20200225-e03b0dbf1f1132e83645ff78c92efd63fca5a812.tar.gz) = 18684114 bytes
+SHA1 (patch-Src_DasherCore_SocketInputBase.cpp) = 9ba2c64218fb3338a3de83292f9a0d494d753ea5
diff -r fc56235a3da6 -r 432847c6c5ba editors/dasher/patches/patch-Src_DasherCore_SocketInputBase.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/dasher/patches/patch-Src_DasherCore_SocketInputBase.cpp   Mon Mar 30 19:31:19 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-Src_DasherCore_SocketInputBase.cpp,v 1.1 2020/03/30 19:31:19 joerg Exp $
+
+--- Src/DasherCore/SocketInputBase.cpp.orig    2020-03-30 12:56:59.535592416 +0000
++++ Src/DasherCore/SocketInputBase.cpp
+@@ -112,7 +112,7 @@ bool Dasher::CSocketInputBase::StartList
+   name.sin_family = AF_INET;
+   name.sin_port = htons(port);
+   name.sin_addr.s_addr = htonl(INADDR_ANY);
+-  if(bind(sock, (struct sockaddr *)&name, sizeof(name)) < 0) {
++  if(::bind(sock, (struct sockaddr *)&name, sizeof(name)) < 0) {
+     ReportErrnoError(_("Error binding to socket - already in use?"));
+     DASHER_SOCKET_CLOSE_FUNCTION(sock);
+     sock = -1;



Home | Main Index | Thread Index | Old Index