Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 729878 Details for
Bug 803404
net-im/toxic-0.10.1: error: 'PATH_MAX' undeclared here
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for toxic-0.10.1
toxic-0.10.1-NAME_MAX-and-PATH_MAX.patch (text/plain), 1.44 KB, created by
JoMull01
on 2021-08-03 14:49:27 UTC
(
hide
)
Description:
patch for toxic-0.10.1
Filename:
MIME Type:
Creator:
JoMull01
Created:
2021-08-03 14:49:27 UTC
Size:
1.44 KB
patch
obsolete
>diff -ruN src/autocomplete.c src/autocomplete.c >--- src/autocomplete.c 2021-07-26 15:04:59.172715491 -0400 >+++ src/autocomplete.c 2021-07-26 15:22:06.652686609 -0400 >@@ -25,10 +25,12 @@ > #include <string.h> > > #ifdef __APPLE__ >-#include <sys/types.h> > #include <sys/dir.h> >+#include <sys/types.h> >+#include <sys/sysinfo.h>//I can't verify that this is correct (no mac's around me), if possible, please check > #else > #include <dirent.h> >+#include <linux/limits.h> > #endif /* __APPLE__ */ > > #include "configdir.h" >diff -ruN src/file_transfers.h src/file_transfers.h >--- src/file_transfers.h 2021-07-26 15:39:36.765990567 -0400 >+++ src/file_transfers.h 2021-07-26 15:39:41.899323757 -0400 >@@ -24,6 +24,12 @@ > #define FILE_TRANSFERS_H > > #include <limits.h> >+//This includes NAME_MAX and PATH_MAX >+#ifdef __APPLE__ >+#include <sys/sysinfo.h> //I can't verify that this is correct (no mac's around me), if possible, please check >+#elif __linux__ >+#include <linux/limits.h> >+#endif > > #include "notify.h" > #include "toxic.h" >diff -ruN src/settings.h src/settings.h >--- src/settings.h 2021-07-26 15:04:59.176048823 -0400 >+++ src/settings.h 2021-07-26 15:12:01.772703590 -0400 >@@ -24,6 +24,12 @@ > #define SETTINGS_H > > #include <limits.h> >+//This includes NAME_MAX and PATH_MAX >+#ifdef __APPLE__ >+#include <sys/sysinfo.h> //I can't verify that this is correct (no mac's around me), if possible, please check >+#elif __linux__ >+#include <linux/limits.h> >+#endif > > #include <tox/tox.h> >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 803404
:
725890
|
725893
|
725896
| 729878 |
729880
|
730104
|
730106