Add win4lin
This commit is contained in:
17
net-fs/ncpfs/files/ncpfs-2.2.6-gcc10.patch
Normal file
17
net-fs/ncpfs/files/ncpfs-2.2.6-gcc10.patch
Normal file
@@ -0,0 +1,17 @@
|
||||
--- ncpfs-2.2.6/sutil/ncpm_common.h.orig 2022-11-02 19:37:17.319311207 +0100
|
||||
+++ ncpfs-2.2.6/sutil/ncpm_common.h 2022-11-02 19:36:12.371834652 +0100
|
||||
@@ -15,10 +15,10 @@
|
||||
|
||||
#include "ncpmount.h"
|
||||
|
||||
-uid_t myuid;
|
||||
-uid_t myeuid;
|
||||
-char *progname;
|
||||
-char mount_point[MAXPATHLEN + 1];
|
||||
+extern uid_t myuid;
|
||||
+extern uid_t myeuid;
|
||||
+extern char *progname;
|
||||
+extern char mount_point[MAXPATHLEN + 1];
|
||||
|
||||
static inline int suser(void) {
|
||||
return myuid == 0;
|
||||
Reference in New Issue
Block a user