Index: head/emulators/xsystem35/Makefile =================================================================== --- head/emulators/xsystem35/Makefile (revision 378782) +++ head/emulators/xsystem35/Makefile (revision 378783) @@ -1,72 +1,72 @@ # Created by: Seiichirou Hiraoka # $FreeBSD$ PORTNAME= xsystem35 -PORTVERSION= 1.7.2 -PORTREVISION= 19 +DISTVERSION= 1.7.3-pre5 CATEGORIES= emulators games -MASTER_SITES= http://8ne.sakura.ne.jp:20008/chika/unitbase/xsys35/down/ +MASTER_SITES= DEBIAN +DISTNAME= ${PORTNAME}_${DISTVERSION}.orig MAINTAINER= jbeich@FreeBSD.org COMMENT= AliceSoft System 3.5/3.6/3.8/3.9 on X Window System LICENSE= GPLv2 # (or later) LIB_DEPENDS= libvorbisfile.so:${PORTSDIR}/audio/libvorbis \ libltdl.so:${PORTSDIR}/devel/libltdl \ libfreetype.so:${PORTSDIR}/print/freetype2 \ libjpeg.so:${PORTSDIR}/graphics/jpeg OPTIONS_DEFINE= ESOUND DOCS EXAMPLES OPTIONS_DEFINE_i386= MMX OPTIONS_DEFAULT_i386= ${MACHINE_CPU:tu:MMMX} ESOUND_USE= GNOME=esound ESOUND_CONFIGURE_ON=--enable-audio=oss,esd --with-default-output=esd MMX_BUILD_DEPENDS=nasm:${PORTSDIR}/devel/nasm MMX_CONFIGURE_ENABLE=mmx EXTRACT_AFTER_ARGS=--exclude libltdl USES= gettext gmake libtool shebangfix SHEBANG_FILES= contrib/instgame USE_GNOME= gtk12 USE_XORG= x11 xext xxf86vm GNU_CONFIGURE= yes -CONFIGURE_ARGS= --without-included-gettext \ +CONFIGURE_ARGS= \ --with-cachesize=20 \ --disable-static \ --enable-audio=oss \ --with-default-output=oss \ --enable-midi=seq,extp,raw \ --enable-cdrom=bsd,mp3 CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib -MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip SUB_FILES= pkg-message +WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/:S/.orig//} DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME} post-patch: @${CP} ${WRKSRC}/INSTALL ${WRKSRC}/doc/INSTALL @${REINPLACE_CMD} -e '/-lxpg4/d' \ -e '/INCLTDL=/d; /LTDLINCL=/d' \ -e '/LIBLTDL=/s/=.*/="-lltdl"/' \ ${WRKSRC}/configure @${REINPLACE_CMD} '/^SUBDIRS/s/ libltdl//' ${WRKSRC}/Makefile.in @${REINPLACE_CMD} 's|__COUNTER__|__COUNTER_H__|' ${WRKSRC}/src/counter.h post-install: ${INSTALL_SCRIPT} ${WRKSRC}/contrib/instgame ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC}/doc;\ ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}) @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/src/xsys35rc.sample ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/contrib; \ ${INSTALL_DATA} *.* ${STAGEDIR}${EXAMPLESDIR}) @(cd ${WRKSRC}/patch; \ ${INSTALL_DATA} pastel.diff ${STAGEDIR}${EXAMPLESDIR}) .include Index: head/emulators/xsystem35/distinfo =================================================================== --- head/emulators/xsystem35/distinfo (revision 378782) +++ head/emulators/xsystem35/distinfo (revision 378783) @@ -1,2 +1,2 @@ -SHA256 (xsystem35-1.7.2.tar.gz) = e7f3b5f79269f27b59417c25bb97766390e3e6c82314f7f9ab73873e5961010b -SIZE (xsystem35-1.7.2.tar.gz) = 990167 +SHA256 (xsystem35_1.7.3-pre5.orig.tar.gz) = 412ff3944d8285d7135f8c2fb14a76d84cb56c62add501d80c9f819cc8a5f2c3 +SIZE (xsystem35_1.7.3-pre5.orig.tar.gz) = 1247568 Index: head/emulators/xsystem35/files/patch-src_tempname.c =================================================================== --- head/emulators/xsystem35/files/patch-src_tempname.c (revision 378782) +++ head/emulators/xsystem35/files/patch-src_tempname.c (nonexistent) @@ -1,11 +0,0 @@ ---- src/tempname.c.orig Mon Nov 10 00:06:13 2003 -+++ src/tempname.c Sun Aug 15 02:36:09 2004 -@@ -112,7 +112,7 @@ - uintmax_t is only 32 bits lose about 3.725 bits of randomness, - which is better than not having mkstemp at all. */ - #if !defined UINT64_MAX && !defined uint64_t --# define uint64_t uintmax_t -+# define uint64_t u_int64_t - #endif - - /* These are the characters used in temporary filenames. */ Property changes on: head/emulators/xsystem35/files/patch-src_tempname.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/emulators/xsystem35/files/patch-src_cmd2F.c =================================================================== --- head/emulators/xsystem35/files/patch-src_cmd2F.c (revision 378782) +++ head/emulators/xsystem35/files/patch-src_cmd2F.c (nonexistent) @@ -1,37 +0,0 @@ ---- src/cmd2F.c.orig Mon Jul 21 02:30:16 2003 -+++ src/cmd2F.c Thu Jun 14 13:05:15 2007 -@@ -1381,7 +1381,7 @@ - - for (i = 0; i < eNumof; i++) { - *vData = LittleEndian_getW(nact->datatbl_addr, 0); -- ((WORD *)nact->datatbl_addr)++; -+ nact->datatbl_addr += sizeof(WORD); - vData++; - } - -@@ -1397,14 +1397,14 @@ - - for (i = 0; i < eNumof; i++) { - v_strcpy(eStrNum + i -1, (const char *)(nact->datatbl_addr)); -- (char *)(nact->datatbl_addr) += (strlen((const char *)nact->datatbl_addr) + 1); -+ nact->datatbl_addr += (strlen((const char *)nact->datatbl_addr) + 1); - } - } - - void commands2F83() { - int eNumof = sys_getCaliValue(); - -- ((WORD *)nact->datatbl_addr) += eNumof; -+ nact->datatbl_addr += eNumof * sizeof(WORD); - - DEBUG_COMMAND("dataSkipWORD %d:\n", eNumof); - } -@@ -1414,7 +1414,7 @@ - int i; - - for (i = 0; i < eNumof; i++) { -- (char *)(nact->datatbl_addr) += (strlen((const char *)nact->datatbl_addr) + 1); -+ nact->datatbl_addr += (strlen((const char *)nact->datatbl_addr) + 1); - } - - DEBUG_COMMAND("dataSkipString %d:\n", eNumof); Property changes on: head/emulators/xsystem35/files/patch-src_cmd2F.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/emulators/xsystem35/files/patch-src_cmdf.c =================================================================== --- head/emulators/xsystem35/files/patch-src_cmdf.c (revision 378782) +++ head/emulators/xsystem35/files/patch-src_cmdf.c (nonexistent) @@ -1,47 +0,0 @@ ---- src/cmdf.c.orig Sat Dec 21 18:28:35 2002 -+++ src/cmdf.c Thu Jun 14 13:03:47 2007 -@@ -82,22 +82,22 @@ - DEBUG_COMMAND("F1 %d,%d:\n", str_number, skip); - - for (i = 0; i < skip; i++) { -- (char *)(nact->datatbl_addr) += (strlen((const char *)nact->datatbl_addr) + 1); -+ nact->datatbl_addr += (strlen((const char *)nact->datatbl_addr) + 1); - } - - v_strcpy(str_number - 1 , (const char *)(nact->datatbl_addr)); -- (char *)(nact->datatbl_addr) += (strlen((const char *)nact->datatbl_addr) + 1); -+ nact->datatbl_addr += (strlen((const char *)nact->datatbl_addr) + 1); - } - - static void commandF2() { - int *read_var = sys_getCaliVariable(); - int skip = sys_getCaliValue(); - -- ((WORD *)nact->datatbl_addr) += skip; -+ nact->datatbl_addr += skip * sizeof(WORD); - - *read_var = LittleEndian_getW(nact->datatbl_addr, 0); - -- ((WORD *)nact->datatbl_addr)++; -+ nact->datatbl_addr += sizeof(WORD); - - DEBUG_COMMAND("F2 %d,%d:\n", *read_var, skip); - } -@@ -118,7 +118,7 @@ - - for (i = 0; i < count; i++) { - *read_var = LittleEndian_getW(nact->datatbl_addr, 0); -- ((WORD *)nact->datatbl_addr)++; -+ nact->datatbl_addr += sizeof(WORD); - read_var++; - } - -@@ -155,7 +155,7 @@ - for (i = 0; i < count; i++) { - for (j = 0; j < data_width; j++) { - *(F6Index[j] + i) = LittleEndian_getW(nact->datatbl_addr, 0); -- ((WORD *)nact->datatbl_addr)++; -+ nact->datatbl_addr += sizeof(WORD); - } - } - Property changes on: head/emulators/xsystem35/files/patch-src_cmdf.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/emulators/xsystem35/files/patch-src_font_freetype2.c =================================================================== --- head/emulators/xsystem35/files/patch-src_font_freetype2.c (revision 378782) +++ head/emulators/xsystem35/files/patch-src_font_freetype2.c (nonexistent) @@ -1,12 +0,0 @@ ---- src/font_freetype2.c.orig Mon Jul 21 04:30:16 2003 -+++ src/font_freetype2.c Sat Aug 14 05:11:39 2004 -@@ -26,7 +26,8 @@ - #include - #include - #include --#include -+#include -+#include FT_FREETYPE_H - - #include "portab.h" - #include "system.h" Property changes on: head/emulators/xsystem35/files/patch-src_font_freetype2.c ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property