aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/fuse
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-08-26 22:20:19 +0900
committerOphestra <cat@gensokyo.uk>2026-08-26 22:20:19 +0900
commit120ce960a705dd619e416ecbc70bab25ac90375d (patch)
tree31d2556cda5e9d1b67eddfaac9db73c3f07dcf8d /internal/rosa/package/fuse
parentcf100a75a1f072f75a3bdef115c0a7a20d16c9de (diff)
internal/rosa/package/fuse: include missing headers
The example relies on transitive includes which changed in the new toolchain. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/package/fuse')
-rw-r--r--internal/rosa/package/fuse/example-include.patch24
-rw-r--r--internal/rosa/package/fuse/package.az34
2 files changed, 58 insertions, 0 deletions
diff --git a/internal/rosa/package/fuse/example-include.patch b/internal/rosa/package/fuse/example-include.patch
new file mode 100644
index 00000000..906be32d
--- /dev/null
+++ b/internal/rosa/package/fuse/example-include.patch
@@ -0,0 +1,24 @@
+diff --git a/example/cxxopts.hpp b/example/cxxopts.hpp
+index 80b695a9..5f81202a 100644
+--- a/example/cxxopts.hpp
++++ b/example/cxxopts.hpp
+@@ -25,6 +25,7 @@ THE SOFTWARE.
+ #ifndef CXXOPTS_HPP_INCLUDED
+ #define CXXOPTS_HPP_INCLUDED
+
++#include <algorithm>
+ #include <cstring>
+ #include <cctype>
+ #include <exception>
+diff --git a/example/passthrough_hp.cc b/example/passthrough_hp.cc
+index 2dc0f950..fad8ac3b 100644
+--- a/example/passthrough_hp.cc
++++ b/example/passthrough_hp.cc
+@@ -76,6 +76,7 @@
+ #include <cstdio>
+ #include <cstdlib>
+ #include "cxxopts.hpp"
++#include <functional>
+ #include <mutex>
+ #include <syslog.h>
+ #include <atomic>
diff --git a/internal/rosa/package/fuse/package.az b/internal/rosa/package/fuse/package.az
new file mode 100644
index 00000000..398fe0df
--- /dev/null
+++ b/internal/rosa/package/fuse/package.az
@@ -0,0 +1,34 @@
+package fuse {
+ description = "the reference implementation of the Linux FUSE interface";
+ website = "https://github.com/libfuse/libfuse";
+ anitya = 861;
+
+ version# = "3.18.2";
+ source = remoteGitHubRelease {
+ suffix = "libfuse/libfuse";
+ tag = "fuse-"+version;
+ name = "fuse-"+version+".tar.gz";
+ checksum = "iL-7b7eUtmlVSf5cSq0dzow3UiqSjBmzV3cI_ENPs1tXcHdktkG45j1V12h-4jZe";
+ compress = gzip;
+ };
+ patches = [ "example-include.patch" ];
+
+ exec = meson {
+ setup = {
+ "default_library": "both";
+ "tests": "true";
+ "useroot": "false";
+ "initscriptdir": "/system/etc";
+ };
+
+ postCompile = "python3 -m pytest test/";
+ // this project uses pytest
+ test = false;
+ };
+
+ inputs = [
+ python-pytest,
+
+ kernel-headers,
+ ];
+}