ports/71430: [PATCH] misc/44bsd-more: unbreak
Yen-Ming Lee
leeym at FreeBSD.org
Mon Sep 6 13:10:24 UTC 2004
>Number: 71430
>Category: ports
>Synopsis: [PATCH] misc/44bsd-more: 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: Mon Sep 06 13:10:12 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.3-BETA3 i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.3-BETA3 FreeBSD 5.3-BETA3 #1: Sun Sep 5 01:06:46 CST
>Description:
- add files/patch-ncommand.c to unbreak this port.
- utilize EXAMPLESDIR in pkg-plist
- remove tarup target
Added file(s):
- files/patch-ncommand.c
Port maintainer (hoek at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- 44bsd-more-20000521.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/misc/44bsd-more/Makefile,v
retrieving revision 1.8
diff -u -u -r1.8 Makefile
--- Makefile 8 Mar 2004 21:40:35 -0000 1.8
+++ Makefile 6 Sep 2004 12:58:27 -0000
@@ -40,8 +40,4 @@
${INSTALL_DATA} ${WRKSRC}/more.help ${PREFIX}/share/misc/44bsd-more.help
${INSTALL_PROGRAM} ${WRKSRC}/more ${PREFIX}/bin/44bsd-more
-tarup:
- cd ${WRKSRC} && tar cyf /tmp/${DISTFILES} RCS
- scp /tmp/${DISTFILES} freefall:public_html/dists
-
.include <bsd.port.mk>
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/misc/44bsd-more/pkg-plist,v
retrieving revision 1.1
diff -u -u -r1.1 pkg-plist
--- pkg-plist 29 May 2000 19:58:25 -0000 1.1
+++ pkg-plist 6 Sep 2004 12:58:27 -0000
@@ -1,6 +1,6 @@
bin/44bsd-more
share/misc/44bsd-more.help
-share/examples/44bsd-more/default.morerc
-share/examples/44bsd-more/less.morerc
-share/examples/44bsd-more/most.morerc
- at dirrm share/examples/44bsd-more
+%%EXAMPLESDIR%%/default.morerc
+%%EXAMPLESDIR%%/less.morerc
+%%EXAMPLESDIR%%/most.morerc
+ at dirrm %%EXAMPLESDIR%%
Index: files/patch-ncommand.c
===================================================================
RCS file: files/patch-ncommand.c
diff -N files/patch-ncommand.c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-ncommand.c 6 Sep 2004 12:58:27 -0000
@@ -0,0 +1,11 @@
+--- ncommand.c.orig Mon Sep 6 20:28:55 2004
++++ ncommand.c Mon Sep 6 20:29:09 2004
+@@ -652,7 +652,7 @@
+ * pointer is valid until any calls to setvar() or until a call to
+ * getstr_free() frees the current context.
+ */
+-static const char *
++static char *
+ getvar(var, len)
+ char *var;
+ int len; /* strncmp(var, varmatch, len); is used to match variables */
--- 44bsd-more-20000521.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list