-
Notifications
You must be signed in to change notification settings - Fork 70
all: initial support for freebsd #429
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
c7abfeb to
88a0541
Compare
88a0541 to
67f8fe0
Compare
Both FreeBSD and Linux supports the `copy_file_range(2)` function, which behaves similarly to the `sendfile(2)` function, but has better compatibility.
1b2d54f to
4c97caa
Compare
|
This is still marked as draft, is it ready for review? |
| gitup | ||
| run: | | ||
| cmake -GNinja -B build -DCRASH_REPORTER=OFF -DUSE_JEMALLOC=OFF -DCMAKE_C_FLAGS="-I/usr/local/include -L/usr/local/lib" -DCMAKE_CXX_FLAGS="-I/usr/local/include -L/usr/local/lib" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does Jemalloc not work correctly on freebsd?
| #ifdef __FreeBSD__ | ||
| auto result = pam_start(config, user, &conv, &handle); | ||
| #else | ||
| auto result = pam_start_confdir(config, user, &conv, configDir, &handle); | ||
| #endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If pam can't be configured on bsd a note of that should be made on the configdir property
quickshell/src/services/pam/qml.hpp
Line 39 in 3918290
| Q_PROPERTY(QString configDirectory READ configDirectory WRITE setConfigDirectory NOTIFY configDirectoryChanged); |

Add initial support for FreeBSD.