diff options
author | nork <nork@FreeBSD.org> | 2005-09-25 17:55:29 +0800 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2005-09-25 17:55:29 +0800 |
commit | 337c87396e19fec67cb3e02fa671444a2ca35b14 (patch) | |
tree | 97506125bac49e059867de3ddafc8d6ca5ccbf11 /java/eclipse | |
parent | 1b0496b01f459e1c8f1a89546578f8bdfc3011d5 (diff) | |
download | freebsd-ports-gnome-337c87396e19fec67cb3e02fa671444a2ca35b14.tar.gz freebsd-ports-gnome-337c87396e19fec67cb3e02fa671444a2ca35b14.tar.zst freebsd-ports-gnome-337c87396e19fec67cb3e02fa671444a2ca35b14.zip |
Fix build error by wrong gtk libraries.
PR: ports/86538
Submitted by: Mark Hobden <markhobden@gmail.com>
Diffstat (limited to 'java/eclipse')
-rw-r--r-- | java/eclipse/Makefile | 2 | ||||
-rw-r--r-- | java/eclipse/files/manualpatch-plugins-swt-gtk-os_custom.h | 59 |
2 files changed, 61 insertions, 0 deletions
diff --git a/java/eclipse/Makefile b/java/eclipse/Makefile index 445e679b66d8..5e0a5f23e6a7 100644 --- a/java/eclipse/Makefile +++ b/java/eclipse/Makefile @@ -108,6 +108,8 @@ post-patch: ${FILESDIR}/manualpatch-plugins-swt-gtk-make_freebsd.mak @${PATCH} ${PATCH_DIST_ARGS} "${SWTGTK}/build.sh" \ ${FILESDIR}/manualpatch-plugins-swt-gtk-build.sh + @${PATCH} ${PATCH_DIST_ARGS} "${SWTGTK}/os_custom.h" \ + ${FILESDIR}/manualpatch-plugins-swt-gtk-os_custom.h do-build: @(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} \ diff --git a/java/eclipse/files/manualpatch-plugins-swt-gtk-os_custom.h b/java/eclipse/files/manualpatch-plugins-swt-gtk-os_custom.h new file mode 100644 index 000000000000..0e47fc2a22f4 --- /dev/null +++ b/java/eclipse/files/manualpatch-plugins-swt-gtk-os_custom.h @@ -0,0 +1,59 @@ +--- plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h.orig Mon Jun 27 21:54:10 2005 ++++ plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_custom.h Thu Jul 14 20:28:19 2005 +@@ -21,31 +21,31 @@ + #define PTR_sizeof() sizeof(void *) + + /* Libraries for dynamic loaded functions */ +-#define gtk_file_chooser_add_filter_LIB "libgtk-x11-2.0.so.0" +-#define gtk_file_chooser_dialog_new_LIB "libgtk-x11-2.0.so.0" +-#define gtk_file_chooser_get_current_folder_LIB "libgtk-x11-2.0.so.0" +-#define gtk_file_chooser_get_filename_LIB "libgtk-x11-2.0.so.0" +-#define gtk_file_chooser_get_filenames_LIB "libgtk-x11-2.0.so.0" +-#define gtk_file_chooser_set_current_folder_LIB "libgtk-x11-2.0.so.0" +-#define gtk_file_chooser_set_current_name_LIB "libgtk-x11-2.0.so.0" +-#define gtk_file_chooser_set_extra_widget_LIB "libgtk-x11-2.0.so.0" +-#define gtk_file_chooser_set_filename_LIB "libgtk-x11-2.0.so.0" +-#define gtk_file_chooser_set_select_multiple_LIB "libgtk-x11-2.0.so.0" +-#define gtk_file_filter_add_pattern_LIB "libgtk-x11-2.0.so.0" +-#define gtk_file_filter_new_LIB "libgtk-x11-2.0.so.0" +-#define gtk_file_filter_set_name_LIB "libgtk-x11-2.0.so.0" +-#define gtk_tree_selection_get_selected_rows_LIB "libgtk-x11-2.0.so.0" +-#define gtk_tree_view_column_cell_get_position_LIB "libgtk-x11-2.0.so.0" +-#define gtk_entry_set_alignment_LIB "libgtk-x11-2.0.so.0" +-#define gdk_draw_pixbuf_LIB "libgdk-x11-2.0.so.0" +-#define gdk_screen_get_default_LIB "libgdk-x11-2.0.so.0" +-#define gdk_screen_get_monitor_at_window_LIB "libgdk-x11-2.0.so.0" +-#define gdk_screen_get_monitor_geometry_LIB "libgdk-x11-2.0.so.0" +-#define gdk_screen_get_n_monitors_LIB "libgdk-x11-2.0.so.0" +-#define gdk_screen_get_number_LIB "libgdk-x11-2.0.so.0" +-#define gdk_window_set_keep_above_LIB "libgdk-x11-2.0.so.0" +-#define gdk_window_set_accept_focus_LIB "libgdk-x11-2.0.so.0" +-#define gdk_x11_screen_get_window_manager_name_LIB "libgdk-x11-2.0.so.0" ++#define gtk_file_chooser_add_filter_LIB "libgtk-x11-2.0.so" ++#define gtk_file_chooser_dialog_new_LIB "libgtk-x11-2.0.so" ++#define gtk_file_chooser_get_current_folder_LIB "libgtk-x11-2.0.so" ++#define gtk_file_chooser_get_filename_LIB "libgtk-x11-2.0.so" ++#define gtk_file_chooser_get_filenames_LIB "libgtk-x11-2.0.so" ++#define gtk_file_chooser_set_current_folder_LIB "libgtk-x11-2.0.so" ++#define gtk_file_chooser_set_current_name_LIB "libgtk-x11-2.0.so" ++#define gtk_file_chooser_set_extra_widget_LIB "libgtk-x11-2.0.so" ++#define gtk_file_chooser_set_filename_LIB "libgtk-x11-2.0.so" ++#define gtk_file_chooser_set_select_multiple_LIB "libgtk-x11-2.0.so" ++#define gtk_file_filter_add_pattern_LIB "libgtk-x11-2.0.so" ++#define gtk_file_filter_new_LIB "libgtk-x11-2.0.so" ++#define gtk_file_filter_set_name_LIB "libgtk-x11-2.0.so" ++#define gtk_tree_selection_get_selected_rows_LIB "libgtk-x11-2.0.so" ++#define gtk_tree_view_column_cell_get_position_LIB "libgtk-x11-2.0.so" ++#define gtk_entry_set_alignment_LIB "libgtk-x11-2.0.so" ++#define gdk_draw_pixbuf_LIB "libgdk-x11-2.0.so" ++#define gdk_screen_get_default_LIB "libgdk-x11-2.0.so" ++#define gdk_screen_get_monitor_at_window_LIB "libgdk-x11-2.0.so" ++#define gdk_screen_get_monitor_geometry_LIB "libgdk-x11-2.0.so" ++#define gdk_screen_get_n_monitors_LIB "libgdk-x11-2.0.so" ++#define gdk_screen_get_number_LIB "libgdk-x11-2.0.so" ++#define gdk_window_set_keep_above_LIB "libgdk-x11-2.0.so" ++#define gdk_window_set_accept_focus_LIB "libgdk-x11-2.0.so" ++#define gdk_x11_screen_get_window_manager_name_LIB "libgdk-x11-2.0.so" + + /* Field accessors */ + #define GTK_ACCEL_LABEL_SET_ACCEL_STRING(arg0, arg1) (arg0)->accel_string = arg1 |