summaryrefslogtreecommitdiff
path: root/pkgs/by-name/tt/ttf2pt1/ttf2pt1-gcc14.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/tt/ttf2pt1/ttf2pt1-gcc14.patch')
-rw-r--r--pkgs/by-name/tt/ttf2pt1/ttf2pt1-gcc14.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/pkgs/by-name/tt/ttf2pt1/ttf2pt1-gcc14.patch b/pkgs/by-name/tt/ttf2pt1/ttf2pt1-gcc14.patch
new file mode 100644
index 000000000000..22503463c87a
--- /dev/null
+++ b/pkgs/by-name/tt/ttf2pt1/ttf2pt1-gcc14.patch
@@ -0,0 +1,47 @@
+diff --git a/ft.c b/ft.c
+index 4ca1ca6..3ae9ac9 100644
+--- a/ft.c
++++ b/ft.c
+@@ -457,7 +457,7 @@ static double lastx, lasty;
+
+ static int
+ outl_moveto(
+- FT_Vector *to,
++ const FT_Vector *to,
+ void *unused
+ )
+ {
+@@ -477,7 +477,7 @@ outl_moveto(
+
+ static int
+ outl_lineto(
+- FT_Vector *to,
++ const FT_Vector *to,
+ void *unused
+ )
+ {
+@@ -493,8 +493,8 @@ outl_lineto(
+
+ static int
+ outl_conicto(
+- FT_Vector *control1,
+- FT_Vector *to,
++ const FT_Vector *control1,
++ const FT_Vector *to,
+ void *unused
+ )
+ {
+@@ -514,9 +514,9 @@ outl_conicto(
+
+ static int
+ outl_cubicto(
+- FT_Vector *control1,
+- FT_Vector *control2,
+- FT_Vector *to,
++ const FT_Vector *control1,
++ const FT_Vector *control2,
++ const FT_Vector *to,
+ void *unused
+ )
+ {
+