From:
[email protected]
Package: sjog
Severity: normal
Tags: patch
When building 'sjog' with gcc-3.4 I get the following error:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DPKGDATADIR=\""/usr/share/sjog"\" -DSYSCONFDIR=\""/etc"\" -g -O2 -c sjog_
brightness.c
sjog_brightness.c: In function `sjog_brightness_check_jog_position': sjog_brightness.c:59: error: label at end of compound statement
make[3]: *** [sjog_brightness.o] Error 1
make[3]: Leaving directory `/sjog-0.5/src'
With the attached patch 'sjog' can be compiled using gcc-3.4.
Regards
Andreas Jochens
diff -urN ../tmp-orig/sjog-0.5/src/sjog_brightness.c ./src/sjog_brightness.c --- ../tmp-orig/sjog-0.5/src/sjog_brightness.c 2004-08-12 08:24:19.203235526 +0200
+++ ./src/sjog_brightness.c 2004-08-12 08:23:57.986349064 +0200
@@ -54,8 +54,6 @@
sjog_set_brightness(currentBrightness);
break;
- default:
-
}
}
diff -urN ../tmp-orig/sjog-0.5/src/sjog_scroll.c ./src/sjog_scroll.c
--- ../tmp-orig/sjog-0.5/src/sjog_scroll.c 2001-08-06 17:14:57.000000000 +0200
+++ ./src/sjog_scroll.c 2004-08-12 08:24:14.655117317 +0200
@@ -65,8 +65,6 @@
sjog_scroll_up();
break;
- default:
-
}
}
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)