Index: head/games/xosmulti/Makefile =================================================================== --- head/games/xosmulti/Makefile (revision 436759) +++ head/games/xosmulti/Makefile (revision 436760) @@ -1,30 +1,33 @@ # Created by: Seiichirou Hiraoka # $FreeBSD$ PORTNAME= xosmulti PORTVERSION= 1.00 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= games MASTER_SITES= LOCAL/flathill DISTNAME= ${PORTNAME}_${PORTVERSION}_tar EXTRACT_SUFX= .gz MAINTAINER= ports@FreeBSD.org COMMENT= Little girl cartoon on the top of the active window +LICENSE= PD +LICENSE_FILE= ${WRKSRC}/README.jp + WRKSRC= ${WRKDIR}/xosmulti -USE_XORG= xbitmaps x11 xt xi +USE_XORG= x11 xbitmaps xext OPTIONS_DEFINE= DOCS DOCSDIR= share/doc/ja/xosmulti PORTDOCS= README.jp PLIST_FILES= bin/xosmulti do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xosmulti ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/ja/xosmulti ${INSTALL_MAN} ${WRKSRC}/README.jp ${STAGEDIR}${PREFIX}/share/doc/ja/xosmulti .include Index: head/games/xosmulti/files/patch-biff.c =================================================================== --- head/games/xosmulti/files/patch-biff.c (nonexistent) +++ head/games/xosmulti/files/patch-biff.c (revision 436760) @@ -0,0 +1,11 @@ +--- biff.c.orig 2017-03-22 15:54:32 UTC ++++ biff.c +@@ -6,6 +6,8 @@ + + #include + #include ++#include ++#include + #include /* for passwd */ + #include /* for stat, needs types.h */ + Property changes on: head/games/xosmulti/files/patch-biff.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/xosmulti/files/patch-image.c =================================================================== --- head/games/xosmulti/files/patch-image.c (nonexistent) +++ head/games/xosmulti/files/patch-image.c (revision 436760) @@ -0,0 +1,18 @@ +--- image.c.orig 2017-03-22 15:54:32 UTC ++++ image.c +@@ -6,6 +6,7 @@ + + #include + #include ++#include + + #include + #include +@@ -44,6 +45,7 @@ unsigned int GetXDepth( disp ) + Display *disp; + { + ++ return DefaultDepth(disp, 0); + XVisualInfo xvi_template; + XVisualInfo *p_xvi; + int n_item, i; Property changes on: head/games/xosmulti/files/patch-image.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/xosmulti/files/patch-xosmulti.c =================================================================== --- head/games/xosmulti/files/patch-xosmulti.c (nonexistent) +++ head/games/xosmulti/files/patch-xosmulti.c (revision 436760) @@ -0,0 +1,37 @@ +--- xosmulti.c.orig 2017-03-22 15:54:32 UTC ++++ xosmulti.c +@@ -22,6 +22,7 @@ static char Usage[] = { + + #include + #include ++#include + #include + + #include +@@ -76,7 +77,7 @@ extern char *QuitMsg; /* 終了時のメッセージ */ + /******** External Function ********/ + + /* in image.c */ +-extern unsigned int GetDepth( ); ++extern unsigned int GetXDepth( ); + extern XImage *CreateMyImage( ); + extern Cursor CreateMyCursor( ); + +@@ -419,7 +420,7 @@ void GetArgs( argc, argv ) + + XPosRatio = atoi( argv[i] ); + if( XPosRatio < 0 || 100 < XPosRatio ) +- { fprintf( stderr, "WARNING: xpos(%) must be in 0-100, use default\n" ); ++ { fprintf( stderr, "WARNING: xpos(%%) must be in 0-100, use default\n" ); + XPosRatio = XPOS_RATIO; + } + } +@@ -1109,7 +1110,7 @@ void Do_Talk( str ) + + n_line = AppendTalk( theFont, str ); + talk_height = n_line * FontHeight; +- talk_width = MaxTalkWidth( theFont ); ++ talk_width = MaxTalkWidth( ); + talk_width = talk_width * 9 >> 3; /* 横幅を 9/8 倍する */ + + TalkShape( Disp, TalkWin, talk_width, talk_height, 0 ); Property changes on: head/games/xosmulti/files/patch-xosmulti.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