Skip to content

Commit

Permalink
science/paraview: remove useless sbrk use
Browse files Browse the repository at this point in the history
There was a single use in a debug statement so just remove it.

Approved by:	thierry (maintainer)
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D42977
  • Loading branch information
brooksdavis committed Dec 11, 2023
1 parent f2348b3 commit b5f490f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
4 changes: 1 addition & 3 deletions science/paraview/Makefile
@@ -1,6 +1,6 @@
PORTNAME= paraview
DISTVERSION= ${PARAVIEW_VER}.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= science graphics
MASTER_SITES= http://www.paraview.org/files/v${PARAVIEW_VER}/
DISTNAME= ParaView-v${PORTVERSION}
Expand All @@ -14,8 +14,6 @@ LICENSE_NAME= ParaView_License
LICENSE_FILE= ${WRKSRC}/License_v1.2.txt
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

BROKEN_aarch64= fails to link: undefined reference to `sbrk'
BUILD_DEPENDS= ${PYNUMPY} \
cli11>0:devel/cli11 \
utf8cpp>0:devel/utf8cpp \
Expand Down
@@ -0,0 +1,12 @@
--- VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfArray.cxx.orig
+++ VTK/ThirdParty/xdmf2/vtkxdmf2/libsrc/XdmfArray.cxx
@@ -310,9 +310,6 @@
if( this->DataPointer == NULL ) {
XdmfDebug("Allocation Failed");
perror(" Alloc :" );
-#ifndef _WIN32
- XdmfDebug("End == " << sbrk(0) );
-#endif
}
}
XdmfDebug("Data Pointer = " << this->DataPointer );

0 comments on commit b5f490f

Please sign in to comment.