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

            Bug ID: 423605
           Summary: Powerdevil fails to compile with ddcutil ≥ 0.9.9
           Product: Powerdevil
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: ande...@mit.edu
  Target Milestone: ---

ddcutil 0.9.9 changed the API of ddca_feature_list_string to accept a
DDCA_Feature_List parameter rather than DDCA_Feature_List*.

https://www.ddcutil.com/c_api_99/

Therefore, Powerdevil fails to compile:

daemon/backends/upower/ddcutilbrightness.cpp:59:81: error: could not convert '&
vcpList' from 'DDCA_Feature_List*' to 'DDCA_Feature_List'
   59 |         qCDebug(POWERDEVIL) << "ddca_feature_list: "<<
ddca_feature_list_string(&vcpList, "0x", ",");
      |                                                                        
        ^~~~~~~~
      |                                                                        
        |
      |                                                                        
        DDCA_Feature_List*
make[2]: ***
[daemon/backends/CMakeFiles/powerdevilupowerbackend.dir/build.make:233:
daemon/backends/CMakeFiles/powerdevilupowerbackend.dir/upower/ddcutilbrightness.cpp.o]
Error 1

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

Reply via email to