Revised patch which bumps SHARED_LIBS major.

wen
________________________________
发件人: Stuart Henderson <s...@spacehopper.org>
发送时间: 2019年11月8日 17:32
收件人: wen heping <wenheping2...@hotmail.com>
抄送: ports@openbsd.org <ports@openbsd.org>
主题: Re: [Update] math/openfst : Update to 1.7.5

This requires SHARED_LIBS major bumps.

https://www.openbsd.org/faq/ports/specialtopics.html#SharedLibs


On 2019/11/08 06:59, wen heping wrote:
> Hi, ports@:
>
>   Here is a patch for math/openfst to update to 1.7.5.
>   It build well and pass all tests on amd64-current system.
>   No other ports depends on it.
>
> Comments? OK?
> wen

> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/math/openfst/Makefile,v
> retrieving revision 1.14
> diff -u -p -r1.14 Makefile
> --- Makefile  12 Jul 2019 20:47:43 -0000      1.14
> +++ Makefile  8 Nov 2019 06:56:23 -0000
> @@ -5,7 +5,7 @@ COMMENT =             weighted finite-state transdu
>  # requires C++ tr1 headers
>  NOT_FOR_ARCHS=               ${GCC3_ARCHS}
>
> -DISTNAME =           openfst-1.6.9
> +DISTNAME =           openfst-1.7.5
>
>  SHARED_LIBS +=               fst                       1.0 # 0.0
>  SHARED_LIBS +=               fstscript                 1.0 # 0.0
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/math/openfst/distinfo,v
> retrieving revision 1.2
> diff -u -p -r1.2 distinfo
> --- distinfo  25 Oct 2018 02:37:26 -0000      1.2
> +++ distinfo  8 Nov 2019 06:56:23 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (openfst-1.6.9.tar.gz) = 3llZwMfezZIAaKpPlAV2mEK5VXGdhX/V2Fj8rPCZi9o=
> -SIZE (openfst-1.6.9.tar.gz) = 1254889
> +SHA256 (openfst-1.7.5.tar.gz) = hQMe4gUtzHxPL30iRZm6ZGdIEWjjbfUV7dRKpPpt4N4=
> +SIZE (openfst-1.7.5.tar.gz) = 1297432
> Index: pkg/PLIST
> ===================================================================
> RCS file: /cvs/ports/math/openfst/pkg/PLIST,v
> retrieving revision 1.3
> diff -u -p -r1.3 PLIST
> --- pkg/PLIST 25 Oct 2018 02:37:27 -0000      1.3
> +++ pkg/PLIST 8 Nov 2019 06:56:23 -0000
> @@ -66,6 +66,7 @@ include/fst/epsnormalize.h
>  include/fst/equal.h
>  include/fst/equivalent.h
>  include/fst/expanded-fst.h
> +include/fst/expander-cache.h
>  include/fst/expectation-weight.h
>  include/fst/factor-weight.h
>  include/fst/filter-state.h
> @@ -96,6 +97,7 @@ include/fst/minimize.h
>  include/fst/mutable-fst.h
>  include/fst/pair-weight.h
>  include/fst/partition.h
> +include/fst/power-weight-mappers.h
>  include/fst/power-weight.h
>  include/fst/product-weight.h
>  include/fst/project.h
> @@ -155,7 +157,6 @@ include/fst/script/prune.h
>  include/fst/script/push.h
>  include/fst/script/randequivalent.h
>  include/fst/script/randgen.h
> -include/fst/script/register.h
>  include/fst/script/relabel.h
>  include/fst/script/replace.h
>  include/fst/script/reverse.h
> @@ -189,6 +190,7 @@ include/fst/synchronize.h
>  include/fst/test/
>  include/fst/test-properties.h
>  include/fst/test/algo_test.h
> +include/fst/test/compactors.h
>  include/fst/test/fst_test.h
>  include/fst/test/rand-fst.h
>  include/fst/test/weight-tester.h

Index: Makefile
===================================================================
RCS file: /cvs/ports/math/openfst/Makefile,v
retrieving revision 1.14
diff -u -p -r1.14 Makefile
--- Makefile    12 Jul 2019 20:47:43 -0000      1.14
+++ Makefile    13 Nov 2019 07:10:21 -0000
@@ -5,10 +5,10 @@ COMMENT =             weighted finite-state transdu
 # requires C++ tr1 headers
 NOT_FOR_ARCHS=         ${GCC3_ARCHS}
 
-DISTNAME =             openfst-1.6.9
+DISTNAME =             openfst-1.7.5
 
-SHARED_LIBS +=         fst                       1.0 # 0.0
-SHARED_LIBS +=         fstscript                 1.0 # 0.0
+SHARED_LIBS +=         fst                       2.0 # 17.0
+SHARED_LIBS +=         fstscript                 2.0 # 18.0
 
 CATEGORIES =           math devel textproc
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/math/openfst/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    25 Oct 2018 02:37:26 -0000      1.2
+++ distinfo    13 Nov 2019 07:10:21 -0000
@@ -1,2 +1,2 @@
-SHA256 (openfst-1.6.9.tar.gz) = 3llZwMfezZIAaKpPlAV2mEK5VXGdhX/V2Fj8rPCZi9o=
-SIZE (openfst-1.6.9.tar.gz) = 1254889
+SHA256 (openfst-1.7.5.tar.gz) = hQMe4gUtzHxPL30iRZm6ZGdIEWjjbfUV7dRKpPpt4N4=
+SIZE (openfst-1.7.5.tar.gz) = 1297432
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/math/openfst/pkg/PLIST,v
retrieving revision 1.3
diff -u -p -r1.3 PLIST
--- pkg/PLIST   25 Oct 2018 02:37:27 -0000      1.3
+++ pkg/PLIST   13 Nov 2019 07:10:21 -0000
@@ -66,6 +66,7 @@ include/fst/epsnormalize.h
 include/fst/equal.h
 include/fst/equivalent.h
 include/fst/expanded-fst.h
+include/fst/expander-cache.h
 include/fst/expectation-weight.h
 include/fst/factor-weight.h
 include/fst/filter-state.h
@@ -96,6 +97,7 @@ include/fst/minimize.h
 include/fst/mutable-fst.h
 include/fst/pair-weight.h
 include/fst/partition.h
+include/fst/power-weight-mappers.h
 include/fst/power-weight.h
 include/fst/product-weight.h
 include/fst/project.h
@@ -155,7 +157,6 @@ include/fst/script/prune.h
 include/fst/script/push.h
 include/fst/script/randequivalent.h
 include/fst/script/randgen.h
-include/fst/script/register.h
 include/fst/script/relabel.h
 include/fst/script/replace.h
 include/fst/script/reverse.h
@@ -189,6 +190,7 @@ include/fst/synchronize.h
 include/fst/test/
 include/fst/test-properties.h
 include/fst/test/algo_test.h
+include/fst/test/compactors.h
 include/fst/test/fst_test.h
 include/fst/test/rand-fst.h
 include/fst/test/weight-tester.h

Reply via email to