Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
hardenedbsd-ports
Commits
254bc679
Commit
254bc679
authored
Mar 30, 2021
by
jwb
Browse files
biology/subread: Update to 2.0.2
Minor bug fixes and enhancements Reported by: portscout
parent
0a732f26
Changes
4
Hide whitespace changes
Inline
Side-by-side
biology/subread/Makefile
View file @
254bc679
# $FreeBSD$
PORTNAME
=
subread
DISTVERSION
=
2.0.
1
DISTVERSION
=
2.0.
2
DISTVERSIONSUFFIX
=
-source
CATEGORIES
=
biology
MASTER_SITES
=
SF/
${PORTNAME}
/
${PORTNAME}
-
${PORTVERSION}
...
...
biology/subread/distinfo
View file @
254bc679
TIMESTAMP = 1
591305316
SHA256 (subread-2.0.
1
-source.tar.gz) =
d808eb5b1823c57
2c
b
45
a97c95a3c5acb3d8e29aa47ec74e3ca1eb345787c17b
SIZE (subread-2.0.
1
-source.tar.gz) = 232
60381
TIMESTAMP = 1
617112862
SHA256 (subread-2.0.
2
-source.tar.gz) =
0b64bd51f39f8d32
2c45
94697fa5f0f64fbe60283113eadadff9f4268f897079
SIZE (subread-2.0.
2
-source.tar.gz) = 232
95764
biology/subread/files/patch-gene-algorithms.c
View file @
254bc679
---
gene
-
algorithms
.
c
.
orig
202
0
-
0
6
-
04
23
:
57
:
31
UTC
---
gene
-
algorithms
.
c
.
orig
202
1
-
0
3
-
30
13
:
51
:
05
UTC
+++
gene
-
algorithms
.
c
@@
-
2
8
,
7
+
2
8
,
7
@@
@@
-
2
9
,
7
+
2
9
,
7
@@
#include
<sys/stat.h>
#include
<sys/types.h>
...
...
@@ -9,12 +9,12 @@
#include
<sys/timeb.h>
#endif
@@
-
156
3
,
7
+
156
3
,
7
@@
int
load_offsets
(
gene_offset_t
*
offsets
,
const
char
i
@@
-
156
8
,
7
+
156
8
,
7
@@
int
load_offsets
(
gene_offset_t
*
offsets
,
const
char
i
double
miltime
(){
double
ret
;
-
#
ifdef
FREEBSD
+
#
ifdef
__FreeBSD__
struct
timeval
tp
;
struct
timezone
tz
;
tz
.
tz_minuteswest
=
0
;
struct
timeval
tp
;
struct
timezone
tz
;
tz
.
tz_minuteswest
=
0
;
biology/subread/files/patch-longread-one_longread-mapping.c
View file @
254bc679
---
longread
-
one
/
longread
-
mapping
.
c
.
orig
20
19
-
09
-
04
04
:
22
:
4
9
UTC
---
longread
-
one
/
longread
-
mapping
.
c
.
orig
20
21
-
03
-
30
13
:
58
:
2
9
UTC
+++
longread
-
one
/
longread
-
mapping
.
c
@@
-
30
,
7
+
30
,
9
@@
#ifndef __MINGW32__
#include
<sys/resource.h>
#endif
+
#
ifndef
__FreeBSD__
// Deprecated on FreeBSD
+
#
ifndef
__FreeBSD__
#include
<sys/timeb.h>
+
#
endif
#include
<sys/stat.h>
#include
<locale.h>
#include
<ctype.h>
@@
-
22
3
,
9
+
22
5
,
24
@@
int
LRMvalidate_and_init_context
(
LRMcontext_t
**
conte
@@
-
22
5
,
6
+
22
7
,
17
@@
int
LRMvalidate_and_init_context
(
LRMcontext_t
**
conte
#endif
double
LRMmiltime
(){
double
ret
;
+
+
/* Why not use gettimeofday() on all platforms? */
+
#
ifdef
__FreeBSD__
+
+
struct
timeval
tp
;
...
...
@@ -27,10 +25,13 @@
+
+
#
else
+
struct
timeb
trp
;
ftime
(
&
trp
);
#ifdef LRM_CLOCK_USE_GETTIME
struct
timespec
tsc
;
clock_gettime
(
CLOCK_REALTIME
,
&
tsc
);
@@
-
235
,
6
+
248
,
7
@@
double
LRMmiltime
(){
ret
=
trp
.
time
*
1
.
0
+
(
trp
.
millitm
*
1
.
0
/
1000
.
0
);
+
#endif
+
#
endif
return
ret
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment