1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Fix build on 6.3

PR:		ports/125744
Submitted by:	Cheng-Tao Lin <b89605222 at ntu.edu.tw> (maintainer)
This commit is contained in:
Rong-En Fan 2008-07-19 14:05:36 +00:00
parent 3ac449f2a7
commit 5ab7d66a05
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217100
5 changed files with 40 additions and 5 deletions

View File

@ -46,10 +46,6 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.if ${OSVERSION} < 700000
BROKEN= does not compile
.endif
pre-patch:
@${REINPLACE_CMD} -e 's,linux,sys,' \
${WRKSRC}/src/plugins/volume/volume-impl.c

View File

@ -0,0 +1,19 @@
--- src/configurator.c.orig 2008-07-17 14:36:27.000000000 +0800
+++ src/configurator.c 2008-07-17 14:38:36.000000000 +0800
@@ -46,6 +46,7 @@
void restart(void);
void gtk_run(void);
void panel_config_save(Panel* panel);
+void save_global_config(void);
static void logout(void);
Command commands[] = {
@@ -532,7 +533,7 @@
gtk_box_pack_start( (GtkBox*)GTK_DIALOG(dlg)->vbox, scroll,
TRUE, TRUE, 4 );
view = (GtkTreeView*)gtk_tree_view_new();
- gtk_container_add( (GtkContainer*)scroll, view );
+ gtk_container_add( (GtkContainer*)scroll, (GtkWidget*)view );
tree_sel = gtk_tree_view_get_selection( view );
gtk_tree_selection_set_mode( tree_sel, GTK_SELECTION_BROWSE );

View File

@ -0,0 +1,10 @@
--- src/panel.h.orig 2008-07-17 14:40:37.000000000 +0800
+++ src/panel.h 2008-07-17 14:41:21.000000000 +0800
@@ -190,6 +190,7 @@
void panel_set_dock_type(Panel *p);
void panel_set_orientation(Panel *p);
void panel_update_background( Panel* p );
+void panel_destroy( Panel* p );
extern const char* lxpanel_get_file_manager();
extern const char* lxpanel_get_terminal();

View File

@ -0,0 +1,11 @@
--- src/systray/fixedtip.h.orig 2008-07-17 14:48:22.000000000 +0800
+++ src/systray/fixedtip.h 2008-07-17 14:49:43.000000000 +0800
@@ -52,6 +52,8 @@
void (* clicked) (NaFixedTip *fixedtip);
};
+ void fixed_tip_hide(void);
+
GType na_fixed_tip_get_type (void);
GtkWidget *na_fixed_tip_new (GtkWidget *parent,

View File

@ -65,7 +65,6 @@ lib/lxpanel/plugins/volume.so
@dirrmtry lib/lxpanel
@dirrm %%DATADIR%%/ui
@dirrm %%DATADIR%%/profile/default/panels
@dirrm %%DATADIR%%/profile/default/config
@dirrm %%DATADIR%%/profile/default
@dirrm %%DATADIR%%/profile
@dirrm %%DATADIR%%/images