- Update to version 3.2
PR: 57309 Submitted by: IIJIMA Hiromitsu <delmonta@ht.sakura.ne.jp>
This commit is contained in:
parent
5a78d87688
commit
9a9e967097
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=89691
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= rman
|
||||
PORTVERSION= 3.1
|
||||
PORTVERSION= 3.2
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= polyglotman
|
||||
|
@ -1 +1 @@
|
||||
MD5 (rman-3.1.tar.gz) = 62924b8f9773999b91450cc317f5ddb9
|
||||
MD5 (rman-3.2.tar.gz) = 6d1d67641c6d042595a96a62340d3cc6
|
||||
|
@ -1,23 +1,25 @@
|
||||
--- Makefile.orig Wed Jun 25 18:29:18 2003
|
||||
+++ Makefile Wed Jun 25 18:30:43 2003
|
||||
@@ -15,16 +15,16 @@
|
||||
--- Makefile.orig Sun Sep 28 16:42:30 2003
|
||||
+++ Makefile Sun Sep 28 16:43:48 2003
|
||||
@@ -15,18 +15,18 @@
|
||||
# this must be a directory that's in your bin PATH.
|
||||
# MANDIR holds the man page.
|
||||
|
||||
-BINDIR = /usr/local/bin
|
||||
-BINDIR = /opt/local/bin
|
||||
+BINDIR = ${PREFIX}/bin
|
||||
#BINDIR = /usr/local/bin
|
||||
#BINDIR = //C/bin
|
||||
-MANDIR = /usr/local/man/man1
|
||||
+MANDIR = ${PREFIX}/man/man1
|
||||
# popular alternative
|
||||
#BINDIR = /opt/local/bin
|
||||
#MANDIR = /opt/local/man/man1
|
||||
|
||||
|
||||
### if you have GNU gcc v2.x, use these definitions
|
||||
|
||||
### if you have GNU gcc, use these definitions
|
||||
-CC = gcc
|
||||
+#CC = gcc
|
||||
# if you don't have gcc v2.x, try -O for CFLAGS
|
||||
-CFLAGS = -O2 -finline-functions
|
||||
+CFLAGS+= -finline-functions
|
||||
+#CC = gcc
|
||||
+CFLAGS+= -O2 -finline-functions
|
||||
|
||||
### if you just have a standard UNIX, use these instead of GNU.
|
||||
### CC must be an ANSI C compiler
|
||||
|
@ -1,26 +0,0 @@
|
||||
diff -c rman.c.orig rman.c
|
||||
--- rman.c.orig Sun Mar 30 00:45:18 2003
|
||||
+++ rman.c Mon May 12 18:59:41 2003
|
||||
@@ -3729,11 +3729,15 @@
|
||||
q=strchr(p, ' ');
|
||||
if (q!=NULL) *q++='\0';
|
||||
strcpy(manName, p);
|
||||
- for (p=q; isspace(*p); p++) /*nada*/;
|
||||
- if (*p) {
|
||||
- q=strchr(p,' ');
|
||||
- if (q!=NULL) *q++='\0';
|
||||
- strcpy(manSect, p);
|
||||
+ if (q) {
|
||||
+ for (p=q; isspace(*p); p++) /*nada*/;
|
||||
+ if (*p) {
|
||||
+ q=strchr(p,' ');
|
||||
+ if (q!=NULL) *q++='\0';
|
||||
+ strcpy(manSect, p);
|
||||
+ }
|
||||
+ } else {
|
||||
+ strcpy(manSect, "?");
|
||||
}
|
||||
}
|
||||
sI=0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user