/proc isn't even mounted by default on FreeBSD, causing Wine to crash,
yet everything it provides is always available through sysctl(3)
and/or libprocstat(3). This patchset changes Wine to use sysctl()
calls instead of /proc/curproc/file, and gets Wine working with /proc
unmounted.
Damjan Jovanovic (8):
server: use sysctl instead of /proc/curproc/file on FreeBSD
loader: use sysctl instead of /proc/curproc/file on FreeBSD
ntdll: use sysctl instead of /proc/curproc/file on FreeBSD
libs/…
[View More]wine: use sysctl instead of /proc/curproc/file on FreeBSD
widl: use sysctl instead of /proc/curproc/file on FreeBSD
winegcc: use sysctl instead of /proc/curproc/file on FreeBSD
wmc: use sysctl instead of /proc/curproc/file on FreeBSD
wrc: use sysctl instead of /proc/curproc/file on FreeBSD
dlls/ntdll/unix/loader.c | 14 +++++++++++++-
libs/wine/config.c | 16 ++++++++++++++--
loader/main.c | 15 ++++++++++++---
server/unicode.c | 16 +++++++++++++++-
tools/widl/widl.c | 12 +++++++++++-
tools/winegcc/winegcc.c | 12 +++++++++++-
tools/wmc/wmc.c | 12 +++++++++++-
tools/wrc/wrc.c | 12 +++++++++++-
8 files changed, 98 insertions(+), 11 deletions(-)
--
2.32.0
[View Less]
---------- Forwarded message ---------
From: Yusuf Khan <yusisamerican(a)gmail.com>
Date: Fri, Oct 22, 2021 at 4:01 PM
Subject: Re: [PATCH 1/2] Add xinputuap.dll
To: Alex Henrie <alexhenrie24(a)gmail.com>
On Fri, Oct 22, 2021 at 3:52 PM Yusuf Khan <yusisamerican(a)gmail.com> wrote:
>
> Hi Alex!
>
> I have added the changes you have suggested. I do not know what names
> of the applications were since I have an awful memory. When I checked
> my custom build …
[View More]of wine I saw in my notes document that an app was not
> booting without this DLL, it was dated 10/12/21 which was quite recent
> so it probably wouldn't break any modern functionality. I just sent a
> patch file to this mailing list.
>
> -Yusuf Khan
>
> On Thu, Oct 21, 2021 at 9:11 PM Alex Henrie <alexhenrie24(a)gmail.com> wrote:
> >
> > Hello Yusuf, and thank you for your interest in contributing to Wine!
> >
> > You should add the new DLL to configure.ac instead of configure. Run
> > `autoconf` to copy the changes from configure.ac to configure, but
> > only commit the changes to configure.ac to Git, not the changes to
> > configure. Send it all as one patch and only attach one patch to each
> > email that you send to the wine-devel mailing list.
> >
> > What are the names of the applications that require this DLL?
> >
> > -Alex
[View Less]
Wine doesn't provide this header. When building with mingw tools, it
ends up including the header from the mingw toolchain's headers. When
building with Clang in MSVC mode, it fails to include the header
altogether.
Signed-off-by: Martin Storsjö <martin(a)martin.st>
---
libs/mpg123/config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libs/mpg123/config.h b/libs/mpg123/config.h
index 77986b2a513..ba3e217ee0d 100644
--- a/libs/mpg123/config.h
+++ b/libs/mpg123/…
[View More]config.h
@@ -219,7 +219,7 @@
#define HAVE_STRERROR 1
/* Define to 1 if you have the <strings.h> header file. */
-#define HAVE_STRINGS_H 1
+/* #undef HAVE_STRINGS_H */
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
--
2.25.1
[View Less]