Index: head/japanese/msdosfs/Makefile =================================================================== --- head/japanese/msdosfs/Makefile (revision 34305) +++ head/japanese/msdosfs/Makefile (revision 34306) @@ -1,65 +1,65 @@ # Ports collection makefile for: mount_jamsdos # Date created: 3 July 2000 # Whom: Ryuichiro IMURA # # $FreeBSD$ # PORTNAME= msdosfs PORTVERSION= ${LAST_UPDATED} CATEGORIES= japanese MASTER_SITES= http://www.linkclub.or.jp/~clover/ \ ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= imura DISTNAME= ${PORTNAME}-ja-20000421 DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ mount_msdos-20000701.tar.gz MAINTAINER= imura@FreeBSD.org WRKSRC= ${WRKDIR}/${DISTNAME}/msdosfs.ja .include .if ${OSVERSION} >= 410001 && ${OSVERSION} < 500000 -LAST_UPDATED= 20001007 +LAST_UPDATED= 20001027 PATCHDIR= ${MASTERDIR}/patches.4 .elif ${OSVERSION} >= 500013 LAST_UPDATED= 20001022 PATCHDIR= ${MASTERDIR}/patches.5 NO_PACKAGE= "to avoid crashing a machine when try to install incorrect version" .else LAST_UPDATED= 20001007 BROKEN= "It may not work with your FreeBSD version (but I'm not sure)" .endif post-extract: cd ${WRKDIR}/mount ; co RCS/*,v cd ${WRKDIR}/mount_msdos ; co RCS/*,v ${LN} -s ${WRKSRC} ${WRKSRC}/msdosfs ${LN} -s ${WRKSRC}/msdosfsmount.h ${WRKDIR}/mount_msdos pre-build: @if [ ! -d /sys -o ! -d /usr/src/sys ]; then \ ${ECHO} "****************************************" ; \ ${ECHO} " You need to extract kernel source tree" ; \ ${ECHO} " before you build this package..." ; \ ${ECHO} "****************************************" ; \ ${FALSE} ; \ fi post-build: cd ${WRKDIR}/mount_msdos && ${MAKE} ${SED} -e "s,@@PREFIX@@,${PREFIX}," ${FILESDIR}/ja-msdosfs.sh \ > ${WRKDIR}/ja-msdosfs.sh do-install: ${MKDIR} ${PREFIX}/lib/ja-msdosfs ${INSTALL_PROGRAM} ${WRKDIR}/mount_msdos/mount_jamsdos ${PREFIX}/sbin ${INSTALL_SCRIPT} ${WRKSRC}/msdos_ja.ko ${PREFIX}/lib/ja-msdosfs ${INSTALL_SCRIPT} ${WRKDIR}/ja-msdosfs.sh ${PREFIX}/etc/rc.d post-install: /sbin/kldload ${PREFIX}/lib/ja-msdosfs/msdos_ja.ko .include Property changes on: head/japanese/msdosfs/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.4 \ No newline at end of property +1.5 \ No newline at end of property Index: head/japanese/msdosfs/files/revlist =================================================================== --- head/japanese/msdosfs/files/revlist (revision 34305) +++ head/japanese/msdosfs/files/revlist (revision 34306) @@ -1,20 +1,20 @@ $FreeBSD$ This is a table of revisions about this ja-msdosfs. +-------------------+---------------+-----------+ BRANCH RELENG_4 MAIN +-------------------+---------------+-----------+ bootsect.h 1.7 1.7 - bpb.h 1.7 1.8 + bpb.h 1.7.2.1 1.8 denode.h 1.20 1.21 direntry.h 1.15 1.15 fat.h 1.9 1.9 msdosfs_conv.c 1.29 1.29 msdosfs_denode.c 1.47.2.1 1.51 msdosfs_fat.c 1.23 1.24 msdosfs_lookup.c 1.30 1.32 msdosfs_vfsops.c 1.60.2.2 1.66 msdosfs_vnops.c 1.95.2.1 1.106 - msdosfsmount.h 1.20.2.1 1.22 + msdosfsmount.h 1.20.2.2 1.22 +-------------------+---------------+-----------+ Property changes on: head/japanese/msdosfs/files/revlist ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/japanese/msdosfs/patches.4/patch-ab =================================================================== --- head/japanese/msdosfs/patches.4/patch-ab (nonexistent) +++ head/japanese/msdosfs/patches.4/patch-ab (revision 34306) @@ -0,0 +1,18 @@ +--- bpb.h.orig Sat Aug 28 09:48:07 1999 ++++ bpb.h Sat Oct 28 02:57:36 2000 +@@ -113,8 +113,14 @@ + * 16-bit and 32-bit quantities on byte boundaries. If this is not true, + * use the macros for the big-endian case. + */ ++ + #include +-#if (BYTE_ORDER == LITTLE_ENDIAN) /* && defined(UNALIGNED_ACCESS) */ ++ ++#ifdef __i386__ ++#define UNLALIGNED_ACCESS ++#endif ++ ++#if (BYTE_ORDER == LITTLE_ENDIAN) && defined(UNALIGNED_ACCESS) + #define getushort(x) *((u_int16_t *)(x)) + #define getulong(x) *((u_int32_t *)(x)) + #define putushort(p, v) (*((u_int16_t *)(p)) = (v)) Property changes on: head/japanese/msdosfs/patches.4/patch-ab ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/japanese/msdosfs/patches.4/patch-ah =================================================================== --- head/japanese/msdosfs/patches.4/patch-ah (revision 34305) +++ head/japanese/msdosfs/patches.4/patch-ah (revision 34306) @@ -1,10 +1,19 @@ --- msdosfsmount.h.orig Mon Apr 10 04:32:37 2000 -+++ msdosfsmount.h Wed Oct 4 00:13:52 2000 ++++ msdosfsmount.h Sat Oct 28 02:57:45 2000 +@@ -84,7 +84,7 @@ + u_long pm_fatblocksize; /* size of fat blocks in bytes */ + u_long pm_fatblocksec; /* size of fat blocks in sectors */ + u_long pm_fatsize; /* size of fat in bytes */ +- u_long pm_fatmask; /* mask to use for fat numbers */ ++ u_int32_t pm_fatmask; /* mask to use for fat numbers */ + u_long pm_fsinfo; /* fsinfo block number */ + u_long pm_nxtfree; /* next free cluster in fsinfo block */ + u_int pm_fatmult; /* these 2 values are used in fat */ @@ -198,6 +198,7 @@ (1024 << ((pmp)->pm_BlkPerSec >> 2)) int msdosfs_init __P((struct vfsconf *vfsp)); +int msdosfs_uninit __P((struct vfsconf *vfsp)); int msdosfs_mountroot __P((void)); #endif /* _KERNEL */ Property changes on: head/japanese/msdosfs/patches.4/patch-ah ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property