From owner-svn-ports-head@freebsd.org Sat Aug 29 13:47:16 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CAB5E3B0C5A; Sat, 29 Aug 2020 13:47:16 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BdySh54dfz4V05; Sat, 29 Aug 2020 13:47:16 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 92C97267BE; Sat, 29 Aug 2020 13:47:16 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07TDlGY7054979; Sat, 29 Aug 2020 13:47:16 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07TDlFKJ054976; Sat, 29 Aug 2020 13:47:15 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <202008291347.07TDlFKJ054976@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Sat, 29 Aug 2020 13:47:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r546912 - in head/games/gtkatlantic: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: in head/games/gtkatlantic: . files X-SVN-Commit-Revision: 546912 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2020 13:47:16 -0000 Author: tcberner Date: Sat Aug 29 13:47:15 2020 New Revision: 546912 URL: https://svnweb.freebsd.org/changeset/ports/546912 Log: games/gtkatlantic: update to 0.6.3, to fix build with clang11 - if some one actually uses this software, please step up and maintain it. Added: head/games/gtkatlantic/files/ head/games/gtkatlantic/files/patch-src_client.c (contents, props changed) Modified: head/games/gtkatlantic/Makefile head/games/gtkatlantic/distinfo head/games/gtkatlantic/pkg-plist Modified: head/games/gtkatlantic/Makefile ============================================================================== --- head/games/gtkatlantic/Makefile Sat Aug 29 13:09:13 2020 (r546911) +++ head/games/gtkatlantic/Makefile Sat Aug 29 13:47:15 2020 (r546912) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= gtkatlantic -PORTVERSION= 0.4.4 -PORTREVISION= 1 +DISTVERSION= 0.6.3 CATEGORIES= games MASTER_SITES= http://download.tuxfamily.org/gtkatlantic/downloads/v${PORTVERSION:R}/ \ SF/nemysisfreebsdp/${CATEGORIES}/:icons @@ -17,7 +16,7 @@ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= gnome localbase:ldflags pkgconfig -USE_GNOME= gtk20 +USE_GNOME= cairo gtk30 libxml2 GNU_CONFIGURE= yes INSTALLS_ICONS= yes Modified: head/games/gtkatlantic/distinfo ============================================================================== --- head/games/gtkatlantic/distinfo Sat Aug 29 13:09:13 2020 (r546911) +++ head/games/gtkatlantic/distinfo Sat Aug 29 13:47:15 2020 (r546912) @@ -1,4 +1,5 @@ -SHA256 (gtkatlantic-0.4.4.tar.gz) = 188e6502438948cb46246b50d761f7e3588cdd2f6fc45fa7fada996d116073ae -SIZE (gtkatlantic-0.4.4.tar.gz) = 962568 +TIMESTAMP = 1598708229 +SHA256 (gtkatlantic-0.6.3.tar.gz) = b24e20a47688459909c08c01a01095bcc18d6a2568c7fa91115e0e0adbf734e5 +SIZE (gtkatlantic-0.6.3.tar.gz) = 618449 SHA256 (gtkatlantic_icons.tar.gz) = 0686beae348ef8835190731ebe45af594da3db8ec7f9c38220bcb3138ef74a08 SIZE (gtkatlantic_icons.tar.gz) = 41163 Added: head/games/gtkatlantic/files/patch-src_client.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/gtkatlantic/files/patch-src_client.c Sat Aug 29 13:47:15 2020 (r546912) @@ -0,0 +1,23 @@ +--- src/client.c.orig 2020-08-29 13:39:41 UTC ++++ src/client.c +@@ -213,17 +213,17 @@ static void* client_connect_async(connection *c) { + #if defined(TCP_KEEPIDLE) && defined(TCP_KEEPINTVL) && defined(TCP_KEEPCNT) + /* 10s idle before keepalive probe */ + opt = 10; +- if (setsockopt(sock, SOL_TCP, TCP_KEEPIDLE, (char*)&opt, sizeof(opt))) { ++ if (setsockopt(sock, IPPROTO_TCP, TCP_KEEPIDLE, (char*)&opt, sizeof(opt))) { + fprintf(stderr, "setsockopt() TCP_KEEPIDLE failed on socket %d: %s\n", sock, strerror(errno)); + } + /* 10s probe interval */ + opt = 10; +- if (setsockopt(sock, SOL_TCP, TCP_KEEPINTVL, (char*)&opt, sizeof(opt))) { ++ if (setsockopt(sock, IPPROTO_TCP, TCP_KEEPINTVL, (char*)&opt, sizeof(opt))) { + fprintf(stderr, "setsockopt() TCP_KEEPINTVL failed on socket %d: %s\n", sock, strerror(errno)); + } + /* consider session down after 10 missed probes */ + opt = 10; +- if (setsockopt(sock, SOL_TCP, TCP_KEEPCNT, (char*)&opt, sizeof(opt))) { ++ if (setsockopt(sock, IPPROTO_TCP, TCP_KEEPCNT, (char*)&opt, sizeof(opt))) { + fprintf(stderr, "setsockopt() TCP_KEEPCNT failed on socket %d: %s\n", sock, strerror(errno)); + } + #endif /* TCP_KEEPIDLE && TCP_KEEPINTVL && TCP_KEEPCNT */ Modified: head/games/gtkatlantic/pkg-plist ============================================================================== --- head/games/gtkatlantic/pkg-plist Sat Aug 29 13:09:13 2020 (r546911) +++ head/games/gtkatlantic/pkg-plist Sat Aug 29 13:47:15 2020 (r546912) @@ -2,15 +2,8 @@ bin/gtkatlantic %%DATADIR%%/board.png %%DATADIR%%/cards.png %%DATADIR%%/commands.png -%%DATADIR%%/default.conf -%%DATADIR%%/help.index %%DATADIR%%/houses.png -%%DATADIR%%/icon16x16.ico -%%DATADIR%%/icon16x16.xpm -%%DATADIR%%/icon32x32.ico -%%DATADIR%%/icon32x32.xpm %%DATADIR%%/interface.xml -%%DATADIR%%/logo.png %%DATADIR%%/stars.png %%DATADIR%%/stars_m.png %%DATADIR%%/themes/generic_gradient/cards.png @@ -24,9 +17,11 @@ bin/gtkatlantic %%DATADIR%%/themes/generic_gradient/tokens.png %%DATADIR%%/tokens.png share/icons/hicolor/128x128/apps/gtkatlantic.png +share/icons/hicolor/16x16/apps/gtkatlantic.png share/icons/hicolor/32x32/apps/gtkatlantic.png share/icons/hicolor/48x48/apps/gtkatlantic.png share/icons/hicolor/64x64/apps/gtkatlantic.png share/icons/hicolor/72x72/apps/gtkatlantic.png share/icons/hicolor/96x96/apps/gtkatlantic.png share/pixmaps/gtkatlantic.png +share/pixmaps/gtkatlantic.xpm