freebsd-ports/science/abinit/files/patch-src_02__clib_md5.c
Yuri Victorovich 4896dfbb92 Re-add port: science/abinit: Full-featured atomic-scale first-principles simulation software
The taball for the 8.10.3 version was replaced on the upstream website with significant updates in it.
The new tarball doesn't compile.
I preserved the previous 8.10.3 version tarball so that the package can build.
The new, 9.x version is upcoming.
2020-05-19 08:21:37 +00:00

11 lines
231 B
C

--- src/02_clib/md5.c.orig 2017-02-28 12:02:53 UTC
+++ src/02_clib/md5.c
@@ -47,7 +47,7 @@
#ifdef HAVE_MALLOC_MALLOC_H
# include <malloc/malloc.h>
#else
-# include <malloc.h>
+# include <stdlib.h>
#endif
#include "md5.h"