Skip to content

Commit

Permalink
(maint) temporary pxp patch gcc 13 support
Browse files Browse the repository at this point in the history
  • Loading branch information
h0tw1r3 committed Jan 11, 2024
1 parent ce51aa1 commit c5d2c85
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions configs/components/pxp-agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
else
# These platforms use the default OS toolchain, rather than pl-build-tools
cmake = 'cmake'
pkg.apply_patch 'patches/pxp-agent/gcc-13.patch'
toolchain = ''
special_flags += " -DCMAKE_CXX_FLAGS='#{settings[:cflags]} -Wno-deprecated -Wimplicit-fallthrough=0' "
special_flags += ' -DENABLE_CXX_WERROR=OFF ' unless platform.name =~ /sles-15/
Expand Down
12 changes: 12 additions & 0 deletions patches/pxp-agent/gcc-13.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/lib/inc/pxp-agent/pxp_connector.hpp b/lib/inc/pxp-agent/pxp_connector.hpp
index de36ce9..c77ca17 100644
--- a/lib/inc/pxp-agent/pxp_connector.hpp
+++ b/lib/inc/pxp-agent/pxp_connector.hpp
@@ -3,6 +3,7 @@
#include <vector>
#include <string>
#include <functional>
+#include <boost/cstdint.hpp>

namespace PCPClient {
struct ParsedChunks;

0 comments on commit c5d2c85

Please sign in to comment.