Blame gtk+-1.2.10-c99.patch
|
|
e79dc16 |
diff -ur gtk+-1.2.10.orig/configure gtk+-1.2.10/configure
|
|
|
e79dc16 |
--- gtk+-1.2.10.orig/configure 2019-09-09 21:49:43.602211637 +0200
|
|
|
e79dc16 |
+++ gtk+-1.2.10/configure 2019-09-09 22:40:10.672294726 +0200
|
|
|
e79dc16 |
@@ -1151,7 +1151,7 @@
|
|
|
e79dc16 |
#line 1152 "configure"
|
|
|
e79dc16 |
#include "confdefs.h"
|
|
|
e79dc16 |
|
|
|
e79dc16 |
-main(){return(0);}
|
|
|
e79dc16 |
+int main(){return(0);}
|
|
|
e79dc16 |
EOF
|
|
|
e79dc16 |
if { (eval echo configure:1157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
e79dc16 |
ac_cv_prog_cc_works=yes
|
|
|
e79dc16 |
@@ -1867,7 +1867,7 @@
|
|
|
e79dc16 |
#line 1868 "configure"
|
|
|
e79dc16 |
#include "confdefs.h"
|
|
|
e79dc16 |
|
|
|
e79dc16 |
-main(){return(0);}
|
|
|
e79dc16 |
+int main(){return(0);}
|
|
|
e79dc16 |
EOF
|
|
|
e79dc16 |
if { (eval echo configure:1873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
|
|
|
e79dc16 |
ac_cv_prog_cc_works=yes
|
|
|
e79dc16 |
@@ -2457,6 +2457,7 @@
|
|
|
e79dc16 |
#line 2458 "configure"
|
|
|
e79dc16 |
#include "confdefs.h"
|
|
|
e79dc16 |
#include <ctype.h>
|
|
|
e79dc16 |
+#include <stdlib.h>
|
|
|
e79dc16 |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
e79dc16 |
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
|
e79dc16 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
|
e79dc16 |
@@ -2575,7 +2576,7 @@
|
|
|
e79dc16 |
#include "confdefs.h"
|
|
|
e79dc16 |
|
|
|
e79dc16 |
int main() {
|
|
|
e79dc16 |
-} $ac_kw foo() {
|
|
|
e79dc16 |
+} $ac_kw int foo() {
|
|
|
e79dc16 |
; return 0; }
|
|
|
e79dc16 |
EOF
|
|
|
e79dc16 |
if { (eval echo configure:2582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
e79dc16 |
@@ -4689,6 +4690,8 @@
|
|
|
e79dc16 |
#line 4690 "configure"
|
|
|
e79dc16 |
#include "confdefs.h"
|
|
|
e79dc16 |
|
|
|
e79dc16 |
+extern int ${x_direct_test_function}();
|
|
|
e79dc16 |
+
|
|
|
e79dc16 |
int main() {
|
|
|
e79dc16 |
${x_direct_test_function}()
|
|
|
e79dc16 |
; return 0; }
|
|
|
e79dc16 |
@@ -6008,6 +6011,7 @@
|
|
|
e79dc16 |
#line 6009 "configure"
|
|
|
e79dc16 |
#include "confdefs.h"
|
|
|
e79dc16 |
#include <ctype.h>
|
|
|
e79dc16 |
+#include <stdlib.h>
|
|
|
e79dc16 |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
e79dc16 |
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
|
e79dc16 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
|
e79dc16 |
diff -ur gtk+-1.2.10.orig/gdk/gdkinput.c gtk+-1.2.10/gdk/gdkinput.c
|
|
|
e79dc16 |
--- gtk+-1.2.10.orig/gdk/gdkinput.c 2000-01-27 22:10:44.000000000 +0100
|
|
|
e79dc16 |
+++ gtk+-1.2.10/gdk/gdkinput.c 2019-09-09 22:37:05.956183052 +0200
|
|
|
e79dc16 |
@@ -27,6 +27,7 @@
|
|
|
e79dc16 |
#include <stdlib.h>
|
|
|
e79dc16 |
#include <X11/Xlib.h>
|
|
|
e79dc16 |
#include <X11/Xutil.h>
|
|
|
e79dc16 |
+#include <string.h>
|
|
|
e79dc16 |
#include "config.h"
|
|
|
e79dc16 |
#include "gdk.h"
|
|
|
e79dc16 |
#include "gdkx.h"
|