Index: head/games/gtkatlantic/Makefile =================================================================== --- head/games/gtkatlantic/Makefile (revision 546911) +++ head/games/gtkatlantic/Makefile (revision 546912) @@ -1,53 +1,52 @@ # Created by: Michael Johnson # $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 DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}_icons${EXTRACT_SUFX}:icons MAINTAINER= ports@FreeBSD.org COMMENT= Game like Monopoly(tm) 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 ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 PORTDOCS= AUTHORS ChangeLog NEWS README DESKTOP_ENTRIES="GtkAtlantic" "" "${PORTNAME}" \ "${PORTNAME}" "Game;BoardGame;" "" OPTIONS_DEFINE= DOCS # Wrong versioning upstream, Upstream use GTK3 in newer Versions PORTSCOUT= ignore:1 post-patch: @${REINPLACE_CMD} -e '/CFLAGS=/s|-ggdb|$$CFLAGS|' ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|mkdir |$$(mkdir_p) |g' ${WRKSRC}/Makefile.in post-install: .for s in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png .endfor ${LN} -sf ../../share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include Index: head/games/gtkatlantic/distinfo =================================================================== --- head/games/gtkatlantic/distinfo (revision 546911) +++ head/games/gtkatlantic/distinfo (revision 546912) @@ -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 Index: head/games/gtkatlantic/files/patch-src_client.c =================================================================== --- head/games/gtkatlantic/files/patch-src_client.c (nonexistent) +++ head/games/gtkatlantic/files/patch-src_client.c (revision 546912) @@ -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 */ Property changes on: head/games/gtkatlantic/files/patch-src_client.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/games/gtkatlantic/pkg-plist =================================================================== --- head/games/gtkatlantic/pkg-plist (revision 546911) +++ head/games/gtkatlantic/pkg-plist (revision 546912) @@ -1,32 +1,27 @@ 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 %%DATADIR%%/themes/generic_gradient/estates.png %%DATADIR%%/themes/generic_gradient/houses.png %%DATADIR%%/themes/generic_gradient/pattern.png %%DATADIR%%/themes/generic_gradient/preview.png %%DATADIR%%/themes/generic_gradient/stars.png %%DATADIR%%/themes/generic_gradient/stars_m.png %%DATADIR%%/themes/generic_gradient/theme.conf %%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