File: Use-nanosvg-package-instead-of-local-copy.patch

package info (click to toggle)
tksvg 0.15-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 796 kB
  • sloc: ansic: 4,393; sh: 414; makefile: 8
file content (31 lines) | stat: -rw-r--r-- 901 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From: Ole Streicher <olebole@debian.org>
Date: Tue, 6 Aug 2024 21:00:15 +0200
Subject: Use nanosvg package instead of local copy

---
 generic/tkImgSVG.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/generic/tkImgSVG.c b/generic/tkImgSVG.c
index 5dbc7c8..f0bc63a 100644
--- a/generic/tkImgSVG.c
+++ b/generic/tkImgSVG.c
@@ -39,9 +39,9 @@
 #define NANOSVG_SCOPE MODULE_SCOPE
 #define NANOSVG_ALL_COLOR_KEYWORDS
 #define NANOSVG_IMPLEMENTATION
-#include "nanosvg.h"
+#include <nanosvg/nanosvg.h>
 #define NANOSVGRAST_IMPLEMENTATION
-#include "nanosvgrast.h"
+#include <nanosvg/nanosvgrast.h>
 #include <tk.h>
 
 /* Adoption to use the original tk core file */
@@ -931,4 +931,4 @@ Tksvg_Init(Tcl_Interp *interp)
     Tk_CreatePhotoImageFormat(&tkImgFmtSVGnano);
     Tcl_PkgProvide(interp, PACKAGE_NAME, PACKAGE_VERSION);
     return TCL_OK;
-}
\ No newline at end of file
+}