mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
parent
dd37ce0f66
commit
93479a21bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=485899
4 changed files with 97 additions and 8 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= inventor
|
||||
PORTVERSION= 2.1.5.p10
|
||||
PORTREVISION= 14
|
||||
PORTREVISION= 15
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= ftp://oss.sgi.com/projects/inventor/download/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/-/}
|
||||
|
@ -14,17 +14,16 @@ COMMENT= SGI's Open Inventor (TM)
|
|||
|
||||
LICENSE= LGPL21
|
||||
|
||||
BROKEN= fails to build
|
||||
ONLY_FOR_ARCHS= amd64 i386
|
||||
CONFLICTS= Coin-[0-9]* SoXt-[0-9]*
|
||||
|
||||
LIB_DEPENDS= libfreetype.so:print/freetype2
|
||||
|
||||
CONFLICTS= Coin-[0-9]* SoXt-[0-9]*
|
||||
|
||||
USES= gl gmake iconv jpeg motif
|
||||
USE_XORG= x11 xext xi xp xt
|
||||
USE_GL= glu glw
|
||||
USES= gmake iconv jpeg motif
|
||||
USE_GL= gl glu glw
|
||||
USE_LDCONFIG= yes
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
@ -46,6 +45,7 @@ DEBUG_MAKE_ENV= LIBTYPE=debug
|
|||
|
||||
LDFLAGS+= -Wl,--add-needed
|
||||
LLD_UNSAFE= yes
|
||||
CFLAGS+= -Wno-c++11-narrowing # cause of "lib/interaction/src/draggers/geom/SoCenterballDraggerGeom.h"
|
||||
|
||||
post-patch:
|
||||
# Fix for print/freetype2 v2.7, where FT_Done_GlyphSlot function is not exported
|
||||
|
@ -55,5 +55,4 @@ post-patch:
|
|||
${WRKSRC}/libFL/ang/GNUmakefile
|
||||
@${REINPLACE_CMD} -e 's|%%ICONV_LIB%%|${ICONV_LIB}|' \
|
||||
${WRKSRC}/lib/GNUmakefile
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,70 @@
|
|||
--- lib/database/src/sb/SbTime.c++.orig 2018-11-05 18:10:14 UTC
|
||||
+++ lib/database/src/sb/SbTime.c++
|
||||
@@ -190,52 +190,52 @@ SbTime::format(const char *fmt) const
|
||||
|
||||
case 'D':
|
||||
if (negative) *s++ = '-';
|
||||
- s += sprintf(s, "%ld", tday);
|
||||
+ s += sprintf(s, "%d", tday);
|
||||
break;
|
||||
|
||||
case 'H':
|
||||
if (negative) *s++ = '-';
|
||||
- s += sprintf(s, "%ld", thour);
|
||||
+ s += sprintf(s, "%d", thour);
|
||||
break;
|
||||
|
||||
case 'M':
|
||||
if (negative) *s++ = '-';
|
||||
- s += sprintf(s, "%ld", tmin);
|
||||
+ s += sprintf(s, "%d", tmin);
|
||||
break;
|
||||
|
||||
case 'S':
|
||||
if (negative) *s++ = '-';
|
||||
- s += sprintf(s, "%ld", tsec);
|
||||
+ s += sprintf(s, "%d", tsec);
|
||||
break;
|
||||
|
||||
case 'I':
|
||||
if (negative) *s++ = '-';
|
||||
- s += sprintf(s, "%ld", tmilli);
|
||||
+ s += sprintf(s, "%d", tmilli);
|
||||
break;
|
||||
|
||||
case 'U':
|
||||
if (negative) *s++ = '-';
|
||||
- s += sprintf(s, "%ld", tmicro);
|
||||
+ s += sprintf(s, "%d", tmicro);
|
||||
break;
|
||||
|
||||
case 'h':
|
||||
- s += sprintf(s, "%.2ld", rhour);
|
||||
+ s += sprintf(s, "%.2d", rhour);
|
||||
break;
|
||||
|
||||
case 'm':
|
||||
- s += sprintf(s, "%.2ld", rmin);
|
||||
+ s += sprintf(s, "%.2d", rmin);
|
||||
break;
|
||||
|
||||
case 's':
|
||||
- s += sprintf(s, "%.2ld", rsec);
|
||||
+ s += sprintf(s, "%.2d", rsec);
|
||||
break;
|
||||
|
||||
case 'i':
|
||||
- s += sprintf(s, "%.3ld", rmilli);
|
||||
+ s += sprintf(s, "%.3d", rmilli);
|
||||
break;
|
||||
|
||||
case 'u':
|
||||
- s += sprintf(s, "%.6ld", rmicro);
|
||||
+ s += sprintf(s, "%.6d", rmicro);
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
*** lib/database/src/sb/SbTime.c++ Sat Dec 14 18:06:53 2002
|
||||
--- lib/database/src/sb/SbTime.c++.new Sat Dec 14 17:15:06 2002
|
||||
***************
|
||||
|
|
12
graphics/inventor/files/patch-src__so_nodes-SoText2.c++
Normal file
12
graphics/inventor/files/patch-src__so_nodes-SoText2.c++
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- lib/database/src/so/nodes/SoText2.c++.orig 2018-11-05 17:54:41 UTC
|
||||
+++ lib/database/src/so/nodes/SoText2.c++
|
||||
SoText2.c++
|
||||
@@ -889,7 +889,7 @@ SoBitmapFontCache::createUniFontList(con
|
||||
fontNums = new SbPList;
|
||||
|
||||
while (s1 = (char *)strchr(s, ';')) {
|
||||
- *s1 = (char)NULL; /* font name is pointed to s */
|
||||
+ *s1 = 0; /* font name is pointed to s */
|
||||
|
||||
if ((fn = flCreateFont((const GLubyte*)s, mat, 0, NULL)) == (FLfontNumber)0) {
|
||||
#ifdef DEBUG
|
11
graphics/inventor/files/patch-src__so_nodes-SoText3.c++
Normal file
11
graphics/inventor/files/patch-src__so_nodes-SoText3.c++
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- lib/database/src/so/nodes/SoText3.c++.orig 2018-11-05 17:54:33 UTC
|
||||
+++ lib/database/src/so/nodes/SoText3.c++
|
||||
@@ -1473,7 +1473,7 @@ SoOutlineFontCache::createUniFontList(co
|
||||
fontNums = new SbPList;
|
||||
|
||||
while (s1 = (char *)strchr(s, ';')) {
|
||||
- *s1 = (char)NULL; /* font name is pointed to s */
|
||||
+ *s1 = 0; /* font name is pointed to s */
|
||||
|
||||
if ((fn = flCreateFont((const GLubyte*)s, mat, 0, NULL)) == (FLfontNumber)0) {
|
||||
#ifdef DEBUG
|
Loading…
Add table
Reference in a new issue