summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2024-09-07 17:43:34 +0800
committerErik Kundiman <erik@megapahit.org>2024-09-07 17:43:34 +0800
commit3aacb2ec3f49d82e99af516bef4cd547f55dc3e0 (patch)
tree354055fd5142f3cce292b815c502b2b0f3dc956e
parent905053182cb217b10295501b4840da85b5f7df59 (diff)
Make colladadom 2.3 build on Ubuntu 24.04.1 GCC 13
-rw-r--r--patches/collada-dom-v2.3-r7.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/patches/collada-dom-v2.3-r7.patch b/patches/collada-dom-v2.3-r7.patch
index dc603d8af4..f80a42580e 100644
--- a/patches/collada-dom-v2.3-r7.patch
+++ b/patches/collada-dom-v2.3-r7.patch
@@ -57,7 +57,7 @@ index 17fbaea..93b8256 100644
-add_library(collada14dom SHARED ${COLLADA_BASE_SOURCES} ${dom_files})
+add_library(collada14dom STATIC ${COLLADA_BASE_SOURCES} ${dom_files})
+target_compile_options(collada14dom PRIVATE
-+ "-Wno-error=unused-result" "-Wno-cast-user-defined"
++ "-Wno-error=unused-result" "-Wno-cast-user-defined" "-Wno-nonnull"
+)
+target_include_directories(collada14dom PRIVATE
+ ${colladadom_SOURCE_DIR}/include