View | Details | Raw Unified | Return to bug 146191
Collapse All | Expand All

(-)abi-compliance-checker/Makefile (-8 / +12 lines)
Lines 6-21 Link Here
6
#
6
#
7
7
8
PORTNAME=	abi-compliance-checker
8
PORTNAME=	abi-compliance-checker
9
PORTVERSION=	1.13
9
PORTVERSION=	1.15
10
CATEGORIES=	devel perl5
10
CATEGORIES=	devel perl5
11
MASTER_SITES=	http://ispras.linux-foundation.org/images/b/ba/
11
MASTER_SITES=	http://ispras.linux-foundation.org/images/3/32/
12
DISTFILES=	${PORTNAME:S/^a/A/}-${PORTVERSION}${EXTRACT_SUFX}
12
DISTFILES=	${PORTNAME:S/^a/A/}-${PORTVERSION}${EXTRACT_SUFX}
13
13
14
MAINTAINER=	bf1783@gmail.com
14
MAINTAINER=	bf1783@gmail.com
15
COMMENT=	Checks binary compatibility of two versions of a C/C++ shared library
15
COMMENT=	Checks binary compatibility of two versions of a C/C++ shared library
16
16
17
RUN_DEPENDS=	${LOCALBASE}/bin/gsed:${PORTSDIR}/textproc/gsed
18
19
NO_BUILD=	yes
17
NO_BUILD=	yes
20
USE_PERL5_RUN=	yes
18
USE_PERL5_RUN=	yes
21
19
Lines 25-34 Link Here
25
READELF?=	readelf
23
READELF?=	readelf
26
24
27
post-patch:
25
post-patch:
28
	${REINPLACE_CMD} -e "s|c++filt|${CPPFILT}|g" \
26
	${REINPLACE_CMD} \
29
		-e "s|readelf|${READELF}|g" -e "s|g++|${CXX}|g" \
27
		-e "\%my% { \
30
		-e "s|\"gcc|\"${CC}|g" -e "s|-shared|& -fPIC|g" \
28
			s%\"c++filt\"%\"${CPPFILT}\"%g; \
31
		-e "s|gsed|${LOCALBASE}/bin/gsed|g" \
29
			s%\"readelf\"%\"${READELF}\"%g; \
30
			s%\"g++\"%\"${CXX}\"%g; \
31
			s%\"gcc\"%\"${CC}\"%g; }" \
32
		-e "\%search_for% { \
33
			s%\"g++\"%\"${CXX}\"%g; \
34
			s%\"gcc\"%\"${CC}\"%g; }" \
35
		-e "s%-shared%& -fPIC%g" \
32
		${WRKSRC}/${PORTNAME}.pl
36
		${WRKSRC}/${PORTNAME}.pl
33
37
34
do-install:
38
do-install:
(-)abi-compliance-checker/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (Abi-compliance-checker-1.13.tar.gz) = 9c21a3dae0cfbc5ea2c3636551a52b49
1
MD5 (Abi-compliance-checker-1.15.tar.gz) = de424737248f7543a872ccb51e129860
2
SHA256 (Abi-compliance-checker-1.13.tar.gz) = a2bb611b24754c7e0b3ea406911f79ed6c8b12e07a719f83b5d0740aef3efba3
2
SHA256 (Abi-compliance-checker-1.15.tar.gz) = 63c6e1bdb4421c93d093fe5265b5be3170eddbb98ac62832511f5b425e0ecfce
3
SIZE (Abi-compliance-checker-1.13.tar.gz) = 51118
3
SIZE (Abi-compliance-checker-1.15.tar.gz) = 62910
(-)abi-compliance-checker/files/patch-abi-compliance-checker.pl (-23 lines)
Lines 1-23 Link Here
1
--- abi-compliance-checker.pl.orig	2010-02-16 07:13:09.000000000 -0500
2
+++ abi-compliance-checker.pl	2010-02-17 13:20:46.000000000 -0500
3
@@ -481,7 +481,7 @@
4
     return if(not $InfoPath or not -f $InfoPath);
5
     my $InfoPath_New = $InfoPath.".1";
6
     #my $Keywords = join("\\|", keys(%check_node));#|grep "$Keywords"
7
-    system("sed ':a;N;\$!ba;s/\\n[^\@]//g' ".esc($InfoPath)."|sed 's/ [ ]\\+/  /g' > ".esc($InfoPath_New));
8
+    system("gsed ':a;N;\$!ba;s/\\n[^\@]//g' ".esc($InfoPath)."|gsed 's/ [ ]\\+/  /g' > ".esc($InfoPath_New));
9
     system("rm", "-fr", $InfoPath);
10
     #getting info
11
     open(INFO, $InfoPath_New) || die ("can't open file '\$InfoPath_New\': $!\n");
12
@@ -7123,9 +7123,9 @@
13
 
14
 sub get_solib_default_paths()
15
 {
16
-    foreach my $Line (split("\n", `ldconfig -p`))
17
+    foreach my $Line (split("\n", `ldconfig -r`))
18
     {
19
-        if($Line=~/\A[ \t]*([^ \t]+) .* \=\> (.+)\Z/)
20
+        if($Line=~/\A\t[0-9]*:(.+) \=\> (.+)\Z/)
21
         {
22
             $SoLib_DefaultPath{$1} = $2;
23
         }

Return to bug 146191