freebsd-ports/french/aster/files/post-patch-bibc__utilitai__mempid.c
Thierry Thomas d50519a41d Upgrade Code_Aster to 14.6.0-1.
This implies:

- french /aster builds fine with clang, but it seg-faults: switched to Gcc

- ASTK is upgraded to 2019.0-1

- math/mumps is upgraded to 5.1.2-aster7

- TFEL/MFront is now required, but when the compilers of tfel and aster are
  different, it cannot be linked
  . recopopy science/tfel to science/tfel-edf and depends on science/tfel-edf
  . science/tfel-edf is built by Gcc, from the sources included in Aster's
    tarball
  . register the conflicts
2020-11-26 20:46:02 +00:00

12 lines
347 B
C

--- bibc/utilitai/mempid.c.orig 2020-10-20 16:45:20.000000000 +0200
+++ bibc/utilitai/mempid.c 2020-11-10 19:29:26.945762000 +0100
@@ -77,7 +77,7 @@
kvm_close(kd);
/* VmSize */
- val[0] = B2K((uintmax_t)kp->ki_size);
+ val[0] = 0;
/* VmPeak - not defined in /compat/linux/proc/pid/status */
val[1] = -1;
iret = 0;