make it compilable with gcc 4.1.
Reported by: pointyhat via kris
This commit is contained in:
parent
9b141da044
commit
8d9e655d03
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179953
3 changed files with 36 additions and 0 deletions
|
@ -26,6 +26,8 @@ USE_GNOME= imlib
|
|||
USE_GETTEXT= yes
|
||||
USE_GMAKE= yes
|
||||
|
||||
MAKE_ENV+= CC="${CC}"
|
||||
|
||||
INCLUDES= gkrellm.h gkrellm_public_proto.h
|
||||
MAN1= gkrellm.1
|
||||
|
||||
|
|
21
sysutils/gkrellm/files/patch-src::chart.c
Normal file
21
sysutils/gkrellm/files/patch-src::chart.c
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: src/chart.c
|
||||
diff -u -p src/chart.c.orig src/chart.c
|
||||
--- src/chart.c.orig Sun Mar 17 10:44:49 2002
|
||||
+++ src/chart.c Sun Dec 17 00:10:41 2006
|
||||
@@ -22,6 +22,8 @@
|
||||
#include "gkrellm.h"
|
||||
#include "gkrellm_private_proto.h"
|
||||
|
||||
+static void set_grid_resolution_spin_button(Chart *, gint);
|
||||
+
|
||||
/* For grid images of height 2 pixels, make room at bottom of chartdata
|
||||
| window so both pixel lines will show.
|
||||
*/
|
||||
@@ -470,7 +472,6 @@ draw_chartdata_lines(Chart *cp, ChartDat
|
||||
static void
|
||||
set_auto_grid_resolution(Chart *cp, gint maxval)
|
||||
{
|
||||
- static void set_grid_resolution_spin_button(Chart *, gint);
|
||||
ChartConfig *cf = cp->config;
|
||||
gint grids, grid_res, maxval_base;
|
||||
|
13
sysutils/gkrellm/files/patch-src::gkrellm_private_proto.h
Normal file
13
sysutils/gkrellm/files/patch-src::gkrellm_private_proto.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
Index: src/gkrellm_private_proto.h
|
||||
diff -u src/gkrellm_private_proto.h.orig src/gkrellm_private_proto.h
|
||||
--- src/gkrellm_private_proto.h.orig Thu May 23 06:53:12 2002
|
||||
+++ src/gkrellm_private_proto.h Sun Dec 17 00:14:56 2006
|
||||
@@ -30,8 +30,6 @@
|
||||
extern gint window_decorations;
|
||||
extern gint n_system_plugins;
|
||||
|
||||
-extern GdkImlibBorder zero_border;
|
||||
-
|
||||
void load_plugin_monitors(void);
|
||||
|
||||
void create_plugin_config(GtkWidget *);
|
Loading…
Reference in a new issue