Ticket #22541: pvm-3.4.6.diff
File pvm-3.4.6.diff, 3.5 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
files/patch-console-cons.c
1 --- console/cons.c 2001-02-08 00:10:09.000000000 +01002 +++ console/cons.c 200 6-08-18 10:28:46.000000000 +02003 @@ -7 88,7 +788,7 @@1 --- console/cons.c.orig 2007-04-19 18:14:46.000000000 -0500 2 +++ console/cons.c 2009-11-15 02:07:52.000000000 -0600 3 @@ -792,7 +792,7 @@ 4 4 last_line = (char *) NULL; 5 5 } 6 6 7 - matches = completion_matches( text, command_generator );8 + matches = rl_completion_matches( text, command_generator );7 - matches = (char **) completion_matches( text, command_generator ); 8 + matches = (char **) rl_completion_matches( text, command_generator ); 9 9 10 10 } 11 11 12 @@ - 797,7 +797,7 @@12 @@ -801,7 +801,7 @@ 13 13 14 14 if ( !last_line || strcmp( last_line, rl_line_buffer ) ) { 15 15 16 - matches = completion_matches( text,17 + matches = rl_completion_matches( text,16 - matches = (char **) completion_matches( text, 17 + matches = (char **) rl_completion_matches( text, 18 18 command_help_generator ); 19 19 20 20 if ( last_line ) free( last_line ); -
files/patch-DARWIN.def
1 --- conf/DARWIN.def 2004-08-11 07:56:14.000000000 -0500 2 +++ conf/DARWIN.def 2008-07-02 13:53:25.000000000 -0500 3 @@ -1,7 +1,7 @@ 4 ARCHCFLAGS = -DSOCKADHASLEN -DNOREXEC \ 5 -DRSHCOMMAND=\"/usr/bin/rsh\" \ 6 -DHASSTDLIB -DNEEDMENDIAN -DHASERRORVARS \ 7 - -DFAKEXDRFLOAT -DSYSERRISCONST \ 8 + -DSYSERRISCONST \ 9 -I/usr/include/malloc \ 10 -I/System/Library/Frameworks/System.framework/Headers/bsd/sys 11 # this last -I flag needed for tracer build... -
Portfile
3 3 PortSystem 1.0 4 4 5 5 name pvm 6 version 3.4.5 7 revision 1 6 version 3.4.6 8 7 categories science parallel net 9 8 platforms darwin 10 9 maintainers mww … … 21 20 ftp://ftp.netlib.org/pvm3/ \ 22 21 ftp://ftp.chg.ru/pub/prog/parallel/pvm3/ 23 22 distfiles ${name}${version}.tgz 24 checksums md5 086e6d707b40adba04bddba8e5b6b17d 23 checksums md5 7b5f0c80ea50b6b4b10b6128e197747b \ 24 sha1 dc22bb3a592bb37ab86f0de8d867f67949d12e91 \ 25 rmd160 fa38e35d1d7a8e31b9c2baeb486a7371d6162378 25 26 patchfiles patch-console-cons.c patch-src-global.h patch-src-lpvmgen.c \ 26 patch-src-pvmcruft.c patch-src-pvmd.c patch-tracer-trcutil.c 27 patch-src-pvmcruft.c patch-src-pvmd.c patch-tracer-trcutil.c \ 28 patch-DARWIN.def 27 29 28 30 set pvm_root ${prefix}/lib/pvm 29 31 set pvm_droot ${destroot}${pvm_root} … … 33 35 34 36 use_configure no 35 37 36 build.env PVM_ROOT=${worksrcpath} 37 38 platform darwin 8 { 39 pre-patch { 40 file copy -force ${filespath}/DARWIN8.def ${worksrcpath}/conf/DARWIN.def 41 } 42 build.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 43 } 44 45 platform darwin 9 { 46 pre-patch { 47 file copy -force ${filespath}/DARWIN9.def ${worksrcpath}/conf/DARWIN.def 48 } 49 build.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 50 } 38 build.env PVM_ROOT=${worksrcpath} \ 39 CC=${configure.cc} \ 40 CPP=${configure.cpp} 51 41 52 42 destroot { 53 43 xinstall -m 755 -d ${pvm_droot}/lib/${pvm_arch}/ ${pvm_droot}/conf