pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/mapserver/patches



Module Name:    pkgsrc
Committed By:   gdt
Date:           Thu Aug 22 16:16:30 UTC 2024

Added Files:
        pkgsrc/geography/mapserver/patches: patch-src_mapagg.cpp
            patch-src_renderers_agg_src_agg__font__freetype.cpp

Log Message:
geography/mapserver: Add patches

I remember cvs add on them, but CVS doesn't....


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/geography/mapserver/patches/patch-src_mapagg.cpp \
    pkgsrc/geography/mapserver/patches/patch-src_renderers_agg_src_agg__font__freetype.cpp

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

Added files:

Index: pkgsrc/geography/mapserver/patches/patch-src_mapagg.cpp
diff -u /dev/null pkgsrc/geography/mapserver/patches/patch-src_mapagg.cpp:1.1
--- /dev/null   Thu Aug 22 16:16:30 2024
+++ pkgsrc/geography/mapserver/patches/patch-src_mapagg.cpp     Thu Aug 22 16:16:30 2024
@@ -0,0 +1,21 @@
+$NetBSD: patch-src_mapagg.cpp,v 1.1 2024/08/22 16:16:30 gdt Exp $
+
+Cope with API breakage in FreeType 2.13.3.
+
+https://github.com/MapServer/MapServer/issues/7142
+
+--- src/mapagg.cpp.orig        2024-08-22 15:16:49.699944231 +0000
++++ src/mapagg.cpp
+@@ -291,10 +291,10 @@ bool decompose_ft_outline(const FT_Outli
+ 
+   FT_Vector *point;
+   FT_Vector *limit;
+-  char *tags;
++  unsigned char *tags;
+ 
+   int n;     // index of contour in outline
+-  int first; // index of first point in contour
++  unsigned first; // index of first point in contour
+   char tag;  // current point's state
+ 
+   first = 0;
Index: pkgsrc/geography/mapserver/patches/patch-src_renderers_agg_src_agg__font__freetype.cpp
diff -u /dev/null pkgsrc/geography/mapserver/patches/patch-src_renderers_agg_src_agg__font__freetype.cpp:1.1
--- /dev/null   Thu Aug 22 16:16:30 2024
+++ pkgsrc/geography/mapserver/patches/patch-src_renderers_agg_src_agg__font__freetype.cpp      Thu Aug 22 16:16:30 2024
@@ -0,0 +1,21 @@
+$NetBSD: patch-src_renderers_agg_src_agg__font__freetype.cpp,v 1.1 2024/08/22 16:16:30 gdt Exp $
+
+Cope with API breakage in FreeType 2.13.3.
+
+https://github.com/MapServer/MapServer/issues/7142
+
+--- src/renderers/agg/src/agg_font_freetype.cpp.orig   2024-08-22 15:18:29.469633241 +0000
++++ src/renderers/agg/src/agg_font_freetype.cpp
+@@ -154,10 +154,10 @@ namespace mapserver
+ 
+         FT_Vector*  point;
+         FT_Vector*  limit;
+-        char*       tags;
++        unsigned char* tags;
+ 
+         int   n;         // index of contour in outline
+-        int   first;     // index of first point in contour
++        unsigned   first;     // index of first point in contour
+         char  tag;       // current point's state
+ 
+         first = 0;



Home | Main Index | Thread Index | Old Index