From owner-svn-ports-all@freebsd.org Tue Apr 12 15:05:23 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 81683B0DF2B; Tue, 12 Apr 2016 15:05:23 +0000 (UTC) (envelope-from mat@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 mx1.freebsd.org (Postfix) with ESMTPS id 5B9411214; Tue, 12 Apr 2016 15:05:23 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3CF5MNT029603; Tue, 12 Apr 2016 15:05:22 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3CF5MZq029597; Tue, 12 Apr 2016 15:05:22 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201604121505.u3CF5MZq029597@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 12 Apr 2016 15:05:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r413125 - in head/games/xdeblock: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2016 15:05:23 -0000 Author: mat Date: Tue Apr 12 15:05:21 2016 New Revision: 413125 URL: https://svnweb.freebsd.org/changeset/ports/413125 Log: Unbreak. Regen patches. PR: 208708 Submitted by: tkato432 yahoo com Sponsored by: Absolight Modified: head/games/xdeblock/Makefile (contents, props changed) head/games/xdeblock/files/patch-Imakefile (contents, props changed) head/games/xdeblock/files/patch-dialog.c (contents, props changed) head/games/xdeblock/files/patch-gamemain.c (contents, props changed) head/games/xdeblock/files/patch-main.c (contents, props changed) head/games/xdeblock/pkg-plist (contents, props changed) Modified: head/games/xdeblock/Makefile ============================================================================== --- head/games/xdeblock/Makefile Tue Apr 12 15:05:15 2016 (r413124) +++ head/games/xdeblock/Makefile Tue Apr 12 15:05:21 2016 (r413125) @@ -3,29 +3,29 @@ PORTNAME= xdeblock PORTVERSION= 1.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games -MASTER_SITES= http://ftp.vector.co.jp/pack/unix/game/action/block/ +MASTER_SITES= http://ftp.vector.co.jp/03/94/1328/ DISTFILES= ${PORTNAME}.tgz MAINTAINER= ports@FreeBSD.org COMMENT= Block action game -BROKEN= unfetchable - WRKSRC= ${WRKDIR}/xdeblo_v1.0 USES= imake:noman USE_XORG= xpm + CFLAGS+= -Wno-return-type +DESKTOP_ENTRIES="XDeBlock" "" "" "xdeblo" "" "" + post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/main.c do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} xdeblo ${STAGEDIR}${PREFIX}/bin) @${MKDIR} ${STAGEDIR}${PREFIX}/lib/X11/xdeblock/mapf - ${CHMOD} 777 ${STAGEDIR}${PREFIX}/lib/X11/xdeblock/mapf (cd ${WRKSRC}/mapf && ${INSTALL_DATA} *.txt \ ${STAGEDIR}${PREFIX}/lib/X11/xdeblock/mapf) Modified: head/games/xdeblock/files/patch-Imakefile ============================================================================== --- head/games/xdeblock/files/patch-Imakefile Tue Apr 12 15:05:15 2016 (r413124) +++ head/games/xdeblock/files/patch-Imakefile Tue Apr 12 15:05:21 2016 (r413125) @@ -1,57 +1,33 @@ -*** Imakefile.orig 1996-11-16 13:06:36.000000000 +0900 ---- Imakefile 2011-04-15 01:51:45.000000000 +0900 -*************** -*** 10,16 **** - XCOMM Set xdeblock working directory. - XCOMM ===================================================================== - -! XDEBLO_DIR = . - - XCOMM ===================================================================== - XCOMM Set xpm. ---- 10,16 ---- - XCOMM Set xdeblock working directory. - XCOMM ===================================================================== - -! XDEBLO_DIR = $(LIBDIR)/xdeblock - - XCOMM ===================================================================== - XCOMM Set xpm. -*************** -*** 20,27 **** - XCOMM abc% find /usr -name xpm.h -print - XCOMM ===================================================================== - -! XPM_INC = -I/usr/include/X11 -! XPMLIB_DIR = -L/usr/lib - - XCOMM ===================================================================== - ---- 20,27 ---- - XCOMM abc% find /usr -name xpm.h -print - XCOMM ===================================================================== - -! XPM_INC = -I$(INCDIR)/X11 -! XPMLIB_DIR = -L$(USRLIBDIR) - - XCOMM ===================================================================== - -*************** -*** 46,53 **** - - PROGRAMS = xdeblo - -! CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)\ -! $(XPM_INC) $(DEBUG_D) $(ALLINCLUDES) - - all:: $(PROGRAMS) - ---- 46,53 ---- - - PROGRAMS = xdeblo - -! CFLAGS += $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)\ -! $(XPM_INC) $(DEBUG_D) $(ALLINCLUDES) - - all:: $(PROGRAMS) - +--- Imakefile.orig 1996-11-16 04:06:36 UTC ++++ Imakefile +@@ -10,7 +10,7 @@ XCOMM ================================== + XCOMM Set xdeblock working directory. + XCOMM ===================================================================== + +- XDEBLO_DIR = . ++ XDEBLO_DIR = $(LIBDIR)/xdeblock + + XCOMM ===================================================================== + XCOMM Set xpm. +@@ -20,8 +20,8 @@ XCOMM ex. + XCOMM abc% find /usr -name xpm.h -print + XCOMM ===================================================================== + +- XPM_INC = -I/usr/include/X11 +- XPMLIB_DIR = -L/usr/lib ++ XPM_INC = -I$(INCDIR)/X11 ++ XPMLIB_DIR = -L$(USRLIBDIR) + + XCOMM ===================================================================== + +@@ -46,8 +46,8 @@ OBJS = main.o misc.o file.o dialog.o \ + + PROGRAMS = xdeblo + +-CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)\ +- $(XPM_INC) $(DEBUG_D) $(ALLINCLUDES) ++CFLAGS += $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)\ ++ $(XPM_INC) $(DEBUG_D) $(ALLINCLUDES) + + all:: $(PROGRAMS) + Modified: head/games/xdeblock/files/patch-dialog.c ============================================================================== --- head/games/xdeblock/files/patch-dialog.c Tue Apr 12 15:05:15 2016 (r413124) +++ head/games/xdeblock/files/patch-dialog.c Tue Apr 12 15:05:21 2016 (r413125) @@ -1,36 +1,20 @@ -*** dialog.c.orig Sat Nov 16 14:37:15 1996 ---- dialog.c Fri Jan 15 00:00:00 2000 -*************** -*** 8,14 **** - - #include - #include -! #include - - #include "gameheader.h" - ---- 8,14 ---- - - #include - #include -! #include - - #include "gameheader.h" - -*************** -*** 430,436 **** - char *fflag; - { - DIR *dp; -! struct direct *dir; - struct stat sbuf; - char newname[256]; - register i = 0; ---- 430,436 ---- - char *fflag; - { - DIR *dp; -! struct dirent *dir; - struct stat sbuf; - char newname[256]; - register i = 0; +--- dialog.c.orig 1996-11-16 05:37:15 UTC ++++ dialog.c +@@ -8,7 +8,7 @@ + + #include + #include +-#include ++#include + + #include "gameheader.h" + +@@ -430,7 +430,7 @@ void checkdir(dirname,fname,fflag) + char *fflag; + { + DIR *dp; +- struct direct *dir; ++ struct dirent *dir; + struct stat sbuf; + char newname[256]; + register i = 0; Modified: head/games/xdeblock/files/patch-gamemain.c ============================================================================== --- head/games/xdeblock/files/patch-gamemain.c Tue Apr 12 15:05:15 2016 (r413124) +++ head/games/xdeblock/files/patch-gamemain.c Tue Apr 12 15:05:21 2016 (r413125) @@ -1,6 +1,6 @@ ---- gamemain.c.orig Sat Nov 16 14:37:16 1996 -+++ gamemain.c Mon Nov 3 15:30:25 2003 -@@ -793,14 +793,13 @@ +--- gamemain.c.orig 1996-11-16 05:37:16 UTC ++++ gamemain.c +@@ -793,14 +793,13 @@ void stageScoreCheck(void) void openingString(void) { XRectangle tempRect; @@ -18,7 +18,7 @@ { /** not yet clear map **/ drawShadowText(display,mWin,120,300, -@@ -812,15 +811,15 @@ +@@ -812,15 +811,15 @@ void openingString(void) x = 120; drawShadowText(display,mWin,x,300, Modified: head/games/xdeblock/files/patch-main.c ============================================================================== --- head/games/xdeblock/files/patch-main.c Tue Apr 12 15:05:15 2016 (r413124) +++ head/games/xdeblock/files/patch-main.c Tue Apr 12 15:05:21 2016 (r413125) @@ -1,19 +1,11 @@ -*** main.c.orig Sat Nov 16 14:37:16 1996 ---- main.c Thu Jan 15 00:00:00 2000 -*************** -*** 66,72 **** - /*** set s_map ***/ - gameMainFlg.s_map = False; - nowDataRec.nowMap.gameSpeed = 90; -! nowDataRec.nowMap.dirname[0] == 0x00; - - for(i =1; i < argc; i++) - { ---- 66,72 ---- - /*** set s_map ***/ - gameMainFlg.s_map = False; - nowDataRec.nowMap.gameSpeed = 90; -! strcpy(nowDataRec.nowMap.dirname, "%%PREFIX%%/lib/X11/xdeblock/mapf"); - - for(i =1; i < argc; i++) - { +--- main.c.orig 1996-11-16 05:37:16 UTC ++++ main.c +@@ -66,7 +66,7 @@ int checkOption(argc,argv) + /*** set s_map ***/ + gameMainFlg.s_map = False; + nowDataRec.nowMap.gameSpeed = 90; +- nowDataRec.nowMap.dirname[0] == 0x00; ++ strcpy(nowDataRec.nowMap.dirname, "/usr/local/lib/X11/xdeblock/mapf"); + + for(i =1; i < argc; i++) + { Modified: head/games/xdeblock/pkg-plist ============================================================================== --- head/games/xdeblock/pkg-plist Tue Apr 12 15:05:15 2016 (r413124) +++ head/games/xdeblock/pkg-plist Tue Apr 12 15:05:21 2016 (r413125) @@ -4,3 +4,4 @@ lib/X11/xdeblock/mapf/hard.mapf.txt lib/X11/xdeblock/mapf/middle.mapf.txt lib/X11/xdeblock/mapf/odo.mapf.txt lib/X11/xdeblock/mapf/standard.mapf.txt +@dir(,,777) lib/X11/xdeblock/mapf