0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-09-24 10:42:29 +00:00
Files
termux-packages/root-packages/nwipe/src-nwipe.c.patch
Sylirre 6200d80b32 fix(main/nwipe): package belongs to root-repo
This package refuses to run without root permissions and should be
placed to the root-repo.

Additionally add more fixes for hardcoded paths to prevent errors
related to configuration files.
2025-07-08 13:47:57 +03:00

12 lines
229 B
Diff

--- a/src/nwipe.c
+++ b/src/nwipe.c
@@ -44,7 +44,7 @@
#include "temperature.h"
#include <sys/ioctl.h> /* FIXME: Twice Included */
-#include <sys/shm.h>
+#include <linux/shm.h>
#include <wait.h>
#include <parted/parted.h>