Date: Sat, 29 Aug 2020 13:47:15 +0000 (UTC) From: "Tobias C. Berner" <tcberner@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r546912 - in head/games/gtkatlantic: . files Message-ID: <202008291347.07TDlFKJ054976@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008291347.07TDlFKJ054976>