FreeBSD Bugzilla – Attachment 192019 Details for
Bug 227148
[MAINTAINER] cad/calculix: fix build with clang 6.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix type mismatch.
cad_calculix.diff (text/plain), 2.18 KB, created by
Pedro F. Giffuni
on 2018-03-31 23:04:05 UTC
(
hide
)
Description:
Fix type mismatch.
Filename:
MIME Type:
Creator:
Pedro F. Giffuni
Created:
2018-03-31 23:04:05 UTC
Size:
2.18 KB
patch
obsolete
>Index: cad/calculix/Makefile >=================================================================== >--- cad/calculix/Makefile (revision 466067) >+++ cad/calculix/Makefile (working copy) >@@ -15,10 +15,10 @@ > > LICENSE= GPLv2 > >+BROKEN_FreeBSD_10= Does not build with clang on FreeBSD 10, causes segfaults when built with gcc >+ > RUN_DEPENDS= ccx:cad/calculix-ccx > >-BROKEN_FreeBSD_10= Does not build with clang on FreeBSD 10, causes segfaults when built with gcc >- > DIST_SOURCES= cgx_${PORTVERSION}.all${EXTRACT_SUFX} > DIST_HTM= cgx_${PORTVERSION}.htm${EXTRACT_SUFX} > DIST_PDF= cgx_${PORTVERSION}.pdf >Index: cad/calculix/files/patch-cgx__VER_src_uselibSNL.cpp >=================================================================== >--- cad/calculix/files/patch-cgx__VER_src_uselibSNL.cpp (nonexistent) >+++ cad/calculix/files/patch-cgx__VER_src_uselibSNL.cpp (working copy) >@@ -0,0 +1,20 @@ >+--- cgx_2.13/src/uselibSNL.cpp.orig 2017-10-07 09:58:00 UTC >++++ cgx_2.13/src/uselibSNL.cpp >+@@ -934,7 +934,7 @@ int createBlendedNurbs(int nr, Points ** >+ // (5) create the cgx nurbs >+ // printf(" create blended nurbs\n"); >+ buffer[0]='S'; >+- buffer[1]=(char)NULL; >++ buffer[1]='\0'; >+ getNewName( name, buffer ); >+ for (i=0; i<MAX_LINE_LENGTH; i++) sname[i]=name[i]; >+ if(printFlag) printf ("store NURS Nr:%d Name:%s\n", anzGeo->nurs+1, name); >+@@ -1012,7 +1012,7 @@ int createBlendedNurbs(int nr, Points ** >+ for (j=0; j<nurbs[nr].v_npnt; j++) >+ { >+ buffer[0]='p'; >+- buffer[1]=(char)NULL; >++ buffer[1]='\0'; >+ getNewName( name, buffer ); >+ nurbs[nr].ctlpnt[i][j] = pnt( name, surface->controlPoints()[ index ].x(), surface->controlPoints()[ index ].y(), surface->controlPoints()[ index ].z(), 0); >+ point=*pntpntr; /* update pointer */ > >Property changes on: cad/calculix/files/patch-cgx__VER_src_uselibSNL.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:keywords >## -0,0 +1 ## >+FreeBSD=%H >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 227148
: 192019