ports/71744: [PATCH] chinese/zh-big5con: fix and unbreak
Yen-Ming Lee
leeym at FreeBSD.org
Tue Sep 14 20:00:41 UTC 2004
>Number: 71744
>Category: ports
>Synopsis: [PATCH] chinese/zh-big5con: fix and unbreak
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Sep 14 20:00:40 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.3-BETA4 i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-BETA4 FreeBSD 5.3-BETA4 #7: Mon Sep 13 05:12:30 CST 2004
>Description:
- remove blank lines in PKGMESSAGE
- call REINPLACE_CMD to unbreak it and make it PREFIX clean
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- zh-big5con-0.92h.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/chinese/big5con/Makefile,v
retrieving revision 1.26
diff -u -u -r1.26 Makefile
--- Makefile 21 Nov 2003 03:09:40 -0000 1.26
+++ Makefile 14 Sep 2004 19:54:19 -0000
@@ -18,8 +18,10 @@
USE_REINPLACE= yes
post-patch:
- ${REINPLACE_CMD} -e 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/*c
- ${REINPLACE_CMD} -e 's,#endif.*,#endif,g' ${WRKSRC}/include/ksymdef.h
+ @${REINPLACE_CMD} -e 's,/dev/vga,/dev/ttyv0,g' ${WRKSRC}/src/*c
+ @${REINPLACE_CMD} -e 's,GetShmem(),GetShmem(char),g' ${WRKSRC}/src/fnld.c
+ @${REINPLACE_CMD} -e 's,#endif.*,#endif,g' ${WRKSRC}/include/ksymdef.h
+ @${REINPLACE_CMD} -e 's,TOPDIR,PREFIX,g' ${WRKSRC}/big5con.mk
post-install:
@${CAT} ${PKGMESSAGE}
Index: pkg-message
===================================================================
RCS file: /home/pcvs/ports/chinese/big5con/pkg-message,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-message
--- pkg-message 27 Aug 1999 21:13:38 -0000 1.1
+++ pkg-message 14 Sep 2004 19:54:19 -0000
@@ -1,6 +1,4 @@
-
---------------------------------------------------------------
You need to add a line 'options SYSVSHM' to your kernel config.
Use 'b5c' to run the big5 console.
---------------------------------------------------------------
-
--- zh-big5con-0.92h.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list