package/libcap: Fix fedora build
RFC PATCH 1/1 package/libcap: Fix fedora build
Fixes:
https://autobuild.buildroot.net/results/f6d/f6dc61a9d57e282691b87a3a8fadcb5d5ea8fd8b/
Signed-off-by Bernd Kuhls <[email protected]>
---
On my Debian system I cannot reproduce the build error.
The autobuilder log only shows Fedora machines failing:
https://autobuild.buildroot.net/?reason=libcap-2.77
so I added a Fedora patch hoping it fixes the problem. CC'ing the autobuild submitters as well.
The Debian build still succeeds.
package/libcap/0001-fedora-fix.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 package/libcap/0001-fedora-fix.patch
package/libcap/0001-fedora-fix.patch new file +22 -0
@@ -0,0 +1,22 @@ +Fix fedora build + +Patch downloaded from: +https://src.fedoraproject.org/rpms/libcap/c/d3979ba09dfa5020ce71a12147eec800295dc5ae?branch=rawhide + +Upstream: https://bugzilla.kernel.org/show_bug.cgi?id=220691#c4 + +Signed-off-by: Bernd Kuhls <[email protected]> + +diff --git a/libcap/Makefile b/libcap/Makefile +index f0eb87e..e90a950 100644 +--- a/libcap/Makefile ++++ b/libcap/Makefile +@@ -80,7 +80,7 @@ $(PSXTITLE).pc: $(PSXTITLE).pc.in + $< >$@ + + _makenames: _makenames.c cap_names.list.h +- $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $< -o $@ $(BUILD_LDFLAGS) ++ $(BUILD_CC) $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $< -o $@ + + cap_names.h: _makenames + ./_makenames > cap_names.h
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot