Ticket #22541: pvm-3.4.6.diff

File pvm-3.4.6.diff, 3.5 KB (added by ryandesign (Ryan Carsten Schmidt), 14 years ago)
  • files/patch-console-cons.c

     
    1 --- console/cons.c      2001-02-08 00:10:09.000000000 +0100
    2 +++ console/cons.c      2006-08-18 10:28:46.000000000 +0200
    3 @@ -788,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 @@
    44                        last_line = (char *) NULL;
    55                }
    66 
    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 );
    99 
    1010        }
    1111 
    12 @@ -797,7 +797,7 @@
     12@@ -801,7 +801,7 @@
    1313 
    1414                if ( !last_line || strcmp( last_line, rl_line_buffer ) ) {
    1515 
    16 -                       matches = completion_matches( text,
    17 +                       matches = rl_completion_matches( text,
     16-                       matches = (char **) completion_matches( text,
     17+                       matches = (char **) rl_completion_matches( text,
    1818                                command_help_generator );
    1919 
    2020                        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

     
    33PortSystem 1.0
    44
    55name                    pvm
    6 version                 3.4.5
    7 revision                1
     6version                 3.4.6
    87categories              science parallel net
    98platforms               darwin
    109maintainers             mww
     
    2120                                ftp://ftp.netlib.org/pvm3/ \
    2221                                ftp://ftp.chg.ru/pub/prog/parallel/pvm3/
    2322distfiles               ${name}${version}.tgz
    24 checksums               md5 086e6d707b40adba04bddba8e5b6b17d
     23checksums               md5     7b5f0c80ea50b6b4b10b6128e197747b \
     24                                sha1    dc22bb3a592bb37ab86f0de8d867f67949d12e91 \
     25                                rmd160  fa38e35d1d7a8e31b9c2baeb486a7371d6162378
    2526patchfiles              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
    2729
    2830set pvm_root    ${prefix}/lib/pvm
    2931set pvm_droot   ${destroot}${pvm_root}
     
    3335
    3436use_configure   no
    3537
    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 }
     38build.env               PVM_ROOT=${worksrcpath} \
     39                                CC=${configure.cc} \
     40                                CPP=${configure.cpp}
    5141
    5242destroot        {
    5343        xinstall -m 755 -d ${pvm_droot}/lib/${pvm_arch}/ ${pvm_droot}/conf