forked from pool/motif
- Add fix-implicit-declarations-gcc14.patch * fixes builds with gcc14 OBS-URL: https://build.opensuse.org/request/show/1173684 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/motif?expand=0&rev=24
16 lines
457 B
Diff
16 lines
457 B
Diff
Index: b/lib/Xm/XpmI.h
|
|
===================================================================
|
|
--- a/lib/Xm/XpmI.h
|
|
+++ b/lib/Xm/XpmI.h
|
|
@@ -129,9 +129,9 @@ extern "C" {
|
|
extern FILE *popen();
|
|
#endif
|
|
|
|
-#if defined(SYSV) || defined(SVR4) || defined(VMS) || defined(WIN32) || defined (_SVID_SOURCE)
|
|
#include <string.h>
|
|
|
|
+#if defined(SYSV) || defined(SVR4) || defined(VMS) || defined(WIN32) || defined (_SVID_SOURCE)
|
|
#ifndef index
|
|
#define index strchr
|
|
#endif
|