FreeBSD Bugzilla – Attachment 163508 Details for
Bug 204801
[patch] japanese/today: Fix the BROKEN flag and take maintainership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
A patch for japanese/today
today.diff (text/plain), 2.33 KB, created by
WATANABE Kazuhiro
on 2015-11-25 08:28:34 UTC
(
hide
)
Description:
A patch for japanese/today
Filename:
MIME Type:
Creator:
WATANABE Kazuhiro
Created:
2015-11-25 08:28:34 UTC
Size:
2.33 KB
patch
obsolete
>diff -urN today.orig/Makefile today/Makefile >--- today.orig/Makefile 2015-11-09 21:59:03.000000000 +0900 >+++ today/Makefile 2015-11-24 18:27:58.000000000 +0900 >@@ -3,17 +3,16 @@ > > PORTNAME= today > PORTVERSION= 2.12 >+PORTREVISION= 1 > CATEGORIES= japanese games >-MASTER_SITES= http://ftp.vector.co.jp/pack/dos/personal/calendar/today/ >+MASTER_SITES= http://ftp.vector.co.jp/29/42/476/ > DISTNAME= ja-${PORTNAME}-${PORTVERSION} > DISTFILES= td${PORTVERSION:S/.//}s.lzh \ > td${PORTVERSION:S/.//}m.lzh > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= CQG00620@nifty.ne.jp > COMMENT= Tells you what day today is > >-BROKEN= unfetchable >- > EXTRACT_DEPENDS=nkf:${PORTSDIR}/japanese/nkf > > NO_WRKSUBDIR= yes >diff -urN today.orig/files/patch-cunix.h today/files/patch-cunix.h >--- today.orig/files/patch-cunix.h 2014-07-29 07:14:07.000000000 +0900 >+++ today/files/patch-cunix.h 2015-11-24 17:57:02.000000000 +0900 >@@ -1,6 +1,17 @@ >---- cunix.h.orig 2011-04-16 21:25:44.000000000 +0900 >-+++ cunix.h 2011-04-16 21:27:40.000000000 +0900 >-@@ -40,7 +40,9 @@ >+--- cunix.h.orig 2015-11-23 17:47:06.000000000 +0900 >++++ cunix.h 2015-11-23 17:49:27.000000000 +0900 >+@@ -29,6 +29,10 @@ >+ #include <termcap.h> >+ #endif >+ >++#if defined(__FreeBSD__) >++#include <sys/endian.h> >++#endif >++ >+ #define _T_EUC /* EUC ´Á»ú¥³¡¼¥É */ >+ >+ #define _T_MAXROWS 24 /* ²èÌ̹Կô */ >+@@ -40,7 +44,9 @@ > #define _T_TMPENV "TEMP" /* temporary ´Ä¶ÊÑ¿ô̾ */ > #define _T_TMPENV2 "TMPDIR" /* temporary ´Ä¶ÊÑ¿ô̾ */ > #define _T_TMPDIR "/tmp" /* temporary directory */ >@@ -10,7 +21,27 @@ > /* default search path list */ > #define _T_HOMEENV "HOME" /* home ´Ä¶ÊÑ¿ô */ > #define _T_PATHENV "PATH" /* path ´Ä¶ÊÑ¿ô̾ */ >-@@ -60,7 +62,7 @@ >+@@ -50,6 +56,15 @@ >+ /* path name of executed command */ >+ #define _T_EXECCMDPATH "ExecCmdPath" /* $ExecCmdPath => search_cmdpath */ >+ #define _T_OPENFLAG (O_RDONLY) >++#if defined(__FreeBSD__) >++#if _BYTE_ORDER == _LITTLE_ENDIAN >++#define _T_LITTLE_ENDIAN >++#define _T_LITTLE_ENDIAN_BITFIELD >++#else >++#define _T_BIG_ENDIAN >++#define _T_BIG_ENDIAN_BITFIELD >++#endif >++#else >+ #if defined(i386) >+ #define _T_LITTLE_ENDIAN >+ #define _T_LITTLE_ENDIAN_BITFIELD >+@@ -57,10 +72,11 @@ >+ #define _T_BIG_ENDIAN >+ #define _T_BIG_ENDIAN_BITFIELD >+ #endif >++#endif > #define _T_OUTFILE_DEFAULT "%c%y%m%d.today" > #define _T_OUTFILE_TMPNAME "%p.today" >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 204801
: 163508 |
163509