Module submission - bmon
sirocco@gmx.fr
sirocco at gmx.fr
Fri Jun 8 01:00:09 CEST 2007
module name : bmon
suggested section : net
update (y/n) : n
bugfix (y/n) : y
security (y/n) : n
Hello, since I've updated to gcc 4.1, some modules doesn't lin.
bmon it one of theses. Here is a patch to make it lin correctly.
I've not tested it with gcc 3.4 but it should works. I think it's a
typo error (I'm not C/C++ specialist) some "=" are missing, that's
what gcc told me, and it was right ;)
Guillaume
-------------- next part --------------
--- bmon/BUILD 1970-01-01 01:00:00.000000000 +0100
+++ bmon/BUILD 2007-06-08 00:56:16.000000000 +0200
@@ -0,0 +1,7 @@
+(
+ patch_it $SCRIPT_DIRECTORY/modif.patch 1 &&
+
+ default_build
+
+) > $C_FIFO 2>&1
+
--- bmon/modif.patch 1970-01-01 01:00:00.000000000 +0100
+++ bmon/modif.patch 2007-06-08 00:35:06.000000000 +0200
@@ -0,0 +1,24 @@
+diff -urN bmon-2.1.0/src/out_audio.c bmon-2.1.0-modif/src/out_audio.c
+--- bmon-2.1.0/src/out_audio.c 2005-04-05 17:01:33.000000000 +0200
++++ bmon-2.1.0-modif/src/out_audio.c 2007-06-08 00:29:59.000000000 +0200
+@@ -141,7 +141,7 @@
+ .om_draw = audio_draw,
+ .om_set_opts = audio_set_opts,
+ .om_probe = audio_probe,
+- .om_shutdown audio_shutdown,
++ .om_shutdown = audio_shutdown,
+ };
+
+ static void __init audio_init(void)
+diff -urN bmon-2.1.0/src/out_xml_event.c bmon-2.1.0-modif/src/out_xml_event.c
+--- bmon-2.1.0/src/out_xml_event.c 2005-04-05 17:01:33.000000000 +0200
++++ bmon-2.1.0-modif/src/out_xml_event.c 2007-06-08 00:30:33.000000000 +0200
+@@ -127,7 +127,7 @@
+ .om_draw = xml_event_draw,
+ .om_set_opts = xml_event_set_opts,
+ .om_probe = xml_event_probe,
+- .om_shutdown xml_event_shutdown,
++ .om_shutdown = xml_event_shutdown,
+ };
+
+ static void __init xml_event_init(void)
-------------- next part --------------
lvu submit bmon 2a2ed0e1479c8b8e1be8c449720aadf0 -
2.6.21.3 2.6.12 gcc-4.1.2 glibc-2.3.6
More information about the Lunar
mailing list