diff options
-rw-r--r-- | graphics/gphoto2/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/gphoto2/Makefile b/graphics/gphoto2/Makefile index 2d03e3b04e02..f8434e80afd4 100644 --- a/graphics/gphoto2/Makefile +++ b/graphics/gphoto2/Makefile @@ -48,6 +48,8 @@ post-patch: s| install-docDATA||g ; \ s| install-figureDATA||g ; \ s|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' + @${FIND} ${WRKSRC} -name "*.[ch]" | ${XARGS} ${REINPLACE_CMD} -e \ + 's|malloc\.h|stdlib.h|g' post-install: .if !defined(NOPORTDOCS) |