pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/cad/occt



Module Name:    pkgsrc
Committed By:   tnn
Date:           Mon Aug 19 17:13:49 UTC 2024

Modified Files:
        pkgsrc/cad/occt: distinfo
Added Files:
        pkgsrc/cad/occt/patches: patch-src_StdPrs_StdPrs__BRepFont.cxx

Log Message:
occt: fix fallout from freetype2 update


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/cad/occt/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/cad/occt/patches/patch-src_StdPrs_StdPrs__BRepFont.cxx

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/cad/occt/distinfo
diff -u pkgsrc/cad/occt/distinfo:1.4 pkgsrc/cad/occt/distinfo:1.5
--- pkgsrc/cad/occt/distinfo:1.4        Tue Feb 27 16:33:20 2024
+++ pkgsrc/cad/occt/distinfo    Mon Aug 19 17:13:49 2024
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2024/02/27 16:33:20 bouyer Exp $
+$NetBSD: distinfo,v 1.5 2024/08/19 17:13:49 tnn Exp $
 
 BLAKE2s (opencascade-7.7.0.tgz) = 3ac0f49a8d50e3c5eb86192f3d9d7bb1c52ae58e7f4816d32a9971665bbd0c0b
 SHA512 (opencascade-7.7.0.tgz) = 27ed889bbe95fa40fbb1840788ce0f2c58af67a6fec799f5705f6cad2567fcfeddbe461ba1854b65672392a604f8b41fed1f77b2cc0704f83746a58957d830c7
@@ -16,4 +16,5 @@ SHA1 (patch-src_Standard_Standard__CStri
 SHA1 (patch-src_Standard_Standard__Failure.cxx) = a10c3dcb43837fbb82f16fce8232ebdf5ba9d8f1
 SHA1 (patch-src_Standard_Standard__PrimitiveTypes.hxx) = 868c062a76fd1f77b272ac734f3b0c06eea0be51
 SHA1 (patch-src_Standard_Standard__StackTrace.cxx) = 166ab4d7b79a4fc7361c01196e6aca702f6e15f2
+SHA1 (patch-src_StdPrs_StdPrs__BRepFont.cxx) = 500ce77e5bc9a8577358a17ab14f37c2b8c445db
 SHA1 (patch-src_ViewerTest_ViewerTest__CmdParser.cxx) = d92c768377484a64731940cee387d9054114adab

Added files:

Index: pkgsrc/cad/occt/patches/patch-src_StdPrs_StdPrs__BRepFont.cxx
diff -u /dev/null pkgsrc/cad/occt/patches/patch-src_StdPrs_StdPrs__BRepFont.cxx:1.1
--- /dev/null   Mon Aug 19 17:13:49 2024
+++ pkgsrc/cad/occt/patches/patch-src_StdPrs_StdPrs__BRepFont.cxx       Mon Aug 19 17:13:49 2024
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_StdPrs_StdPrs__BRepFont.cxx,v 1.1 2024/08/19 17:13:49 tnn Exp $
+
+fix fallout from freetype2 update
+
+--- src/StdPrs/StdPrs_BRepFont.cxx.orig        2024-08-19 17:07:23.309314002 +0000
++++ src/StdPrs/StdPrs_BRepFont.cxx
+@@ -457,7 +457,7 @@ Standard_Boolean StdPrs_BRepFont::render
+   for (short aContour = 0, aStartIndex = 0; aContour < anOutline->n_contours; ++aContour)
+   {
+     const FT_Vector* aPntList = &anOutline->points[aStartIndex];
+-    const char* aTags      = &anOutline->tags[aStartIndex];
++    const char* aTags      = (const char*)&anOutline->tags[aStartIndex];
+     const short anEndIndex = anOutline->contours[aContour];
+     const short aPntsNb    = (anEndIndex - aStartIndex) + 1;
+     aStartIndex = anEndIndex + 1;



Home | Main Index | Thread Index | Old Index