https://bugs.kde.org/show_bug.cgi?id=475617

            Bug ID: 475617
           Summary: Fixed needed to compile krita under Fedora
    Classification: Applications
           Product: krita
           Version: git master (please specify the git hash!)
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: General
          Assignee: krita-bugs-n...@kde.org
          Reporter: dov.grobg...@gmail.com
  Target Milestone: ---

SUMMARY

When trying to compile krita commit f35274b26c1eeab410ba7b82d62d156107f6f46f
under Fedora 37, I had to apply the following patch to compile:

```
diff --git a/3rdparty_vendor/raqm/CMakeLists.txt
b/3rdparty_vendor/raqm/CMakeLists.txt
index 3d42fe186b..6518c83b36 100644
--- a/3rdparty_vendor/raqm/CMakeLists.txt
+++ b/3rdparty_vendor/raqm/CMakeLists.txt
@@ -86,6 +86,7 @@ set(libraqm_SRC

 add_library(libraqm STATIC ${libraqm_SRC})
 set_property(TARGET libraqm PROPERTY C_STANDARD 99)
+set_property(TARGET libraqm PROPERTY POSITION_INDEPENDENT_CODE ON)

 target_include_directories(libraqm INTERFACE ${libraqm_src_SOURCE_DIR}/src)
 target_include_directories(libraqm PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
```

Meta question:

- Should I have opened a merge request?
- Should I attach the patch as an attachment?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to