diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-08 03:14:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-08 03:14:47 +0000 |
commit | 15478b615783e9a29c10a1d488af5498e5b3c3d6 (patch) | |
tree | 340463e487b9676fe1d6569f8601a8991019d9e5 /app-editors/bluefish/files/bluefish-2.2.9-fix-incompatible-pointer.patch | |
parent | 6d44cd74809cea5f81bf52ff9cd0aa902d6b6866 (diff) |
gentoo auto-resync : 08:12:2022 - 03:14:47
Diffstat (limited to 'app-editors/bluefish/files/bluefish-2.2.9-fix-incompatible-pointer.patch')
-rw-r--r-- | app-editors/bluefish/files/bluefish-2.2.9-fix-incompatible-pointer.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/app-editors/bluefish/files/bluefish-2.2.9-fix-incompatible-pointer.patch b/app-editors/bluefish/files/bluefish-2.2.9-fix-incompatible-pointer.patch new file mode 100644 index 000000000000..7cf8900d4f9f --- /dev/null +++ b/app-editors/bluefish/files/bluefish-2.2.9-fix-incompatible-pointer.patch @@ -0,0 +1,20 @@ +Clang16 will not allow to assign incompatible pointer types by default. +Therefore we need to and const to the third parameter of this function +to match the pointer XmlHashScanner this function is later assigned to. + +Bug: https://bugs.gentoo.org/882207 +Patch has been sent to upstream here: https://sourceforge.net/p/bluefish/tickets/66/ + +Pascal Jäger <pascal.jaeger@leimstift.de> (2022-12-07) + +--- a/src/plugin_infbrowser/infb_dtd.c ++++ b/src/plugin_infbrowser/infb_dtd.c +@@ -80,7 +80,7 @@ static gchar *infb_dtd_str_content(xmlElementContentPtr ct,gchar *sofar) { + return ret; + } + +-static void infb_dtd_element_to_group(void *payload, void *data, xmlChar *name) { ++static void infb_dtd_element_to_group(void *payload, void *data,const xmlChar *name) { + xmlElementPtr el = (xmlElementPtr)payload; + switch(name[0]) { + case 'a':case 'b':case 'c':case 'd':case 'e': |