diff options
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/buffy/Makefile | 9 | ||||
-rw-r--r-- | x11-themes/buffy/files/patch-gtk-engine_draw.c | 74 |
2 files changed, 76 insertions, 7 deletions
diff --git a/x11-themes/buffy/Makefile b/x11-themes/buffy/Makefile index 3fc0a30d3a67..2e62e00befc1 100644 --- a/x11-themes/buffy/Makefile +++ b/x11-themes/buffy/Makefile @@ -20,17 +20,12 @@ COMMENT= A GTK theme engine looking like SGI enhanced Motif (aka Roxy) WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_GNOME= gtk12 +USE_LDCONFIG= yes GNU_CONFIGURE= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 700042 -BROKEN= Broken with gcc 4.2 -.endif - post-patch: @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/ltconfig -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/x11-themes/buffy/files/patch-gtk-engine_draw.c b/x11-themes/buffy/files/patch-gtk-engine_draw.c new file mode 100644 index 000000000000..9832da6d931d --- /dev/null +++ b/x11-themes/buffy/files/patch-gtk-engine_draw.c @@ -0,0 +1,74 @@ +--- gtk-engine/draw.c.orig 2007-11-12 14:41:47.000000000 +0100 ++++ gtk-engine/draw.c 2007-11-12 14:43:43.000000000 +0100 +@@ -97,7 +97,7 @@ + }; + + +-static void ++void + draw_shadow(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, gint x, gint y, gint width, gint height) + { + +@@ -260,7 +260,7 @@ + } + + +-static void ++void + draw_arrow(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, GtkArrowType arrow_type, gint fill, gint x, gint y, gint width, gint height) + { + +@@ -351,7 +351,7 @@ + gdk_draw_polygon(window, shadowGCs[1], TRUE, points, 3); + } + +-static void ++void + draw_diamond(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, gint x, gint y, gint width, gint height) + { + gint half_width; +@@ -441,7 +441,7 @@ + } + } + +-static void ++void + draw_string(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, gint x, gint y, const gchar * string) + { + +@@ -467,7 +467,7 @@ + + } + +-static void ++void + draw_box(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, gint x, gint y, gint width, gint height) + { + g_return_if_fail(style != NULL); +@@ -764,7 +764,7 @@ + + + +-static void ++void + draw_check(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, gint x, gint y, gint width, gint height) + { + +@@ -836,7 +836,7 @@ + } + } + +-static void ++void + draw_shadow_gap(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, gint x, gint y, gint width, gint height, GtkPositionType gap_side, gint gap_x, gint gap_width) + { + GdkRectangle rect; +@@ -889,7 +889,7 @@ + gdk_gc_set_clip_rectangle(style->bg_gc[GTK_STATE_NORMAL], NULL); + } + +-static void ++void + draw_box_gap(GtkStyle * style, GdkWindow * window, GtkStateType state_type, GtkShadowType shadow_type, GdkRectangle * area, GtkWidget * widget, gchar * detail, gint x, gint y, gint width, gint height, GtkPositionType gap_side, gint gap_x, gint gap_width) + { + GdkRectangle rect; |