This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: looking into SWT 3.0 M8 for native compilation with GCJ


> We needed the appended to make some versions of the swt gtk JNI code
> compile against newer versions of gtk.  I thought we had submitted
> this upstream... Peter?

The file name has apparently changed from structs.h to os_structs.h; and the patch
gets rejected:

$ patch os_structs.h os_structs.h.patch
patching file os_structs.h
Hunk #1 FAILED at 16.
1 out of 1 hunk FAILED -- saving rejects to file os_structs.h.rej

$ cat os_structs.h.rej
***************
*** 16,21 ****
  #ifndef INC_structs_H
  #define INC_structs_H
    
  #include <gtk/gtk.h>
  #include <gdk/gdk.h>
  #include <pango/pango.h>
--- 16,23 ----
  #ifndef INC_structs_H
  #define INC_structs_H
    
+ #undef GTK_DISABLE_DEPRECATED
+
  #include <gtk/gtk.h>
  #include <gdk/gdk.h>
  #include <pango/pango.h>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]