mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Update to 1.13
PR: ports/144048 Submitted by: bf <bf1783 AT gmail.com> (maintainer) Feature safe: yes
This commit is contained in:
parent
d66713e991
commit
9b71876a2d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250010
4 changed files with 39 additions and 27 deletions
|
@ -6,14 +6,16 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= abi-compliance-checker
|
PORTNAME= abi-compliance-checker
|
||||||
PORTVERSION= 1.10
|
PORTVERSION= 1.13
|
||||||
CATEGORIES= devel perl5
|
CATEGORIES= devel perl5
|
||||||
MASTER_SITES= http://ispras.linux-foundation.org/images/3/34/
|
MASTER_SITES= http://ispras.linux-foundation.org/images/b/ba/
|
||||||
DISTFILES= ${PORTNAME:S/^a/A/}-${PORTVERSION}${EXTRACT_SUFX}
|
DISTFILES= ${PORTNAME:S/^a/A/}-${PORTVERSION}${EXTRACT_SUFX}
|
||||||
|
|
||||||
MAINTAINER= bf1783@gmail.com
|
MAINTAINER= bf1783@gmail.com
|
||||||
COMMENT= Checks binary compatibility of two versions of a C/C++ shared library
|
COMMENT= Checks binary compatibility of two versions of a C/C++ shared library
|
||||||
|
|
||||||
|
RUN_DEPENDS= ${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed
|
||||||
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
USE_PERL5_RUN= yes
|
USE_PERL5_RUN= yes
|
||||||
|
|
||||||
|
@ -26,6 +28,7 @@ post-patch:
|
||||||
${REINPLACE_CMD} -e "s|c++filt|${CPPFILT}|g" \
|
${REINPLACE_CMD} -e "s|c++filt|${CPPFILT}|g" \
|
||||||
-e "s|readelf|${READELF}|g" -e "s|g++|${CXX}|g" \
|
-e "s|readelf|${READELF}|g" -e "s|g++|${CXX}|g" \
|
||||||
-e "s|\"gcc|\"${CC}|g" -e "s|-shared|& -fPIC|g" \
|
-e "s|\"gcc|\"${CC}|g" -e "s|-shared|& -fPIC|g" \
|
||||||
|
-e "s|gsed|${LOCALBASE}/bin/gsed|g" \
|
||||||
${WRKSRC}/${PORTNAME}.pl
|
${WRKSRC}/${PORTNAME}.pl
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (Abi-compliance-checker-1.10.tar.gz) = 2e591097462d4fa60460ee7ddf023325
|
MD5 (Abi-compliance-checker-1.13.tar.gz) = 9c21a3dae0cfbc5ea2c3636551a52b49
|
||||||
SHA256 (Abi-compliance-checker-1.10.tar.gz) = 8b54c500745b333ae8db69d2d81236f8676d21e9195ad041a27b82af40e7abe0
|
SHA256 (Abi-compliance-checker-1.13.tar.gz) = a2bb611b24754c7e0b3ea406911f79ed6c8b12e07a719f83b5d0740aef3efba3
|
||||||
SIZE (Abi-compliance-checker-1.10.tar.gz) = 49323
|
SIZE (Abi-compliance-checker-1.13.tar.gz) = 51118
|
||||||
|
|
|
@ -1,8 +1,17 @@
|
||||||
--- abi-compliance-checker.pl.orig 2009-11-08 14:27:20.000000000 -0500
|
--- abi-compliance-checker.pl.orig 2010-02-16 07:13:09.000000000 -0500
|
||||||
+++ abi-compliance-checker.pl 2009-11-08 14:33:06.000000000 -0500
|
+++ abi-compliance-checker.pl 2010-02-17 13:20:46.000000000 -0500
|
||||||
@@ -6673,9 +6673,9 @@
|
@@ -481,7 +481,7 @@
|
||||||
}
|
return if(not $InfoPath or not -f $InfoPath);
|
||||||
else
|
my $InfoPath_New = $InfoPath.".1";
|
||||||
|
#my $Keywords = join("\\|", keys(%check_node));#|grep "$Keywords"
|
||||||
|
- system("sed ':a;N;\$!ba;s/\\n[^\@]//g' ".esc($InfoPath)."|sed 's/ [ ]\\+/ /g' > ".esc($InfoPath_New));
|
||||||
|
+ system("gsed ':a;N;\$!ba;s/\\n[^\@]//g' ".esc($InfoPath)."|gsed 's/ [ ]\\+/ /g' > ".esc($InfoPath_New));
|
||||||
|
system("rm", "-fr", $InfoPath);
|
||||||
|
#getting info
|
||||||
|
open(INFO, $InfoPath_New) || die ("can't open file '\$InfoPath_New\': $!\n");
|
||||||
|
@@ -7123,9 +7123,9 @@
|
||||||
|
|
||||||
|
sub get_solib_default_paths()
|
||||||
{
|
{
|
||||||
- foreach my $Line (split("\n", `ldconfig -p`))
|
- foreach my $Line (split("\n", `ldconfig -p`))
|
||||||
+ foreach my $Line (split("\n", `ldconfig -r`))
|
+ foreach my $Line (split("\n", `ldconfig -r`))
|
||||||
|
@ -10,5 +19,5 @@
|
||||||
- if($Line=~/\A[ \t]*([^ \t]+) .* \=\> (.+)\Z/)
|
- if($Line=~/\A[ \t]*([^ \t]+) .* \=\> (.+)\Z/)
|
||||||
+ if($Line=~/\A\t[0-9]*:(.+) \=\> (.+)\Z/)
|
+ if($Line=~/\A\t[0-9]*:(.+) \=\> (.+)\Z/)
|
||||||
{
|
{
|
||||||
my ($SoCandidate, $Path) = ($1, $2);
|
$SoLib_DefaultPath{$1} = $2;
|
||||||
|
}
|
||||||
|
|
|
@ -3,18 +3,18 @@ library versions, and a simple description of each of the shared libraries in
|
||||||
XML format, abi-compliance-checker searches for the following kinds of binary
|
XML format, abi-compliance-checker searches for the following kinds of binary
|
||||||
compatibility problems:
|
compatibility problems:
|
||||||
|
|
||||||
--Added/withdrawn interfaces (functions, global variables)
|
--added/withdrawn interfaces (functions, global variables)
|
||||||
--Problems in Data Types:
|
--changes to constants
|
||||||
--Classes: added/withdrawn virtual functions (changes in layout of
|
--problems in data types:
|
||||||
|
--classes: added/withdrawn virtual functions (changes in layout of
|
||||||
virtual table), virtual function positions, virtual function
|
virtual table), virtual function positions, virtual function
|
||||||
redefinitions
|
redefinitions
|
||||||
--Structural data types: added/withdrawn members (changes in layout of
|
--structural data types: added/withdrawn members (changes in layout of
|
||||||
type structure),
|
type structure), changes in members, size changes
|
||||||
changes in members, size changes
|
--enumerations: member value changes
|
||||||
--Enumerations: member value changes
|
--interface problems:
|
||||||
--Interface problems:
|
--parameter and return type changes
|
||||||
--Parameters and return type changes
|
--incorrect symbol versions
|
||||||
--Static property changes
|
|
||||||
|
|
||||||
The checker then generates a report that assesses the risks of any potential
|
The checker then generates a report that assesses the risks of any potential
|
||||||
problems detected.
|
problems detected.
|
||||||
|
|
Loading…
Add table
Reference in a new issue