archivers/bicom: unbreak fetch

Seems like the original upstream is gone.  Retrieve distfile with
slightly different checksum from other host.

While we are at it, dos2unix-ify port.

Reported by:	Bryan Baldwin <bryan@katofiad.co.nz>
2023Q4
Robert Clausecker 2023-08-07 16:11:06 +02:00
parent 96af998c7b
commit a8c968d1c1
2 changed files with 14 additions and 14 deletions

View File

@ -1,8 +1,7 @@
PORTNAME= bicom
PORTVERSION= 1.01
CATEGORIES= archivers
MASTER_SITES= http://www3.sympatico.ca/mt0000/bicom/ \
http://freebsd.nsu.ru/distfiles/
MASTER_SITES= http://www.mirrorservice.org/pub/minix/distfiles/backup/
DISTNAME= ${PORTNAME}${PORTVERSION:S/.//g}
MAINTAINER= ports@FreeBSD.org
@ -15,7 +14,8 @@ LICENSE_NAME= bicom
LICENSE_TEXT= Contact author personally regarding commercial use
LICENSE_PERMS= dist-mirror pkg-mirror auto-accept
USES= zip
USES= dos2unix zip
DOS2UNIX_GLOB= *.cpp *.h
NO_WRKSUBDIR= yes
MAKEFILE= ${FILESDIR}/Makefile

View File

@ -1,11 +1,11 @@
--- bialib/sufftree.h.orig 2000-10-26 01:51:04 UTC
+++ bialib/sufftree.h
@@ -95,7 +95,7 @@ class SuffixTreeModel : public Arithmeti
{
public:
bool InEdge()
- {return(r>0);}
+ {return(r!=NULL);}
//After Canonize()ing a point, r >0 <=> proj!=0, i.e., point
//is inside an edge
INode *ins; //parent of point
--- bialib/sufftree.h.orig 2000-10-26 01:51:04 UTC
+++ bialib/sufftree.h
@@ -95,7 +95,7 @@ class SuffixTreeModel : public Arithmeti
{
public:
bool InEdge()
- {return(r>0);}
+ {return(r!=NULL);}
//After Canonize()ing a point, r >0 <=> proj!=0, i.e., point
//is inside an edge
INode *ins; //parent of point