Blame arj-3.10.22-no_remove_static_const.patch
|
|
42d3218 |
Patch by Guillem Jover <guillem@debian.org> for arj <= 3.10.22, to not
|
|
|
42d3218 |
build integr.o with optimizations, otherwise GCC 4.0 removes the static
|
|
|
42d3218 |
const variable. For further information, please see also Debian tracker
|
|
|
42d3218 |
at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318366
|
|
|
42d3218 |
|
|
|
42d3218 |
---
|
|
|
42d3218 |
integr.c | 2 +-
|
|
|
42d3218 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
42d3218 |
|
|
|
42d3218 |
--- a/integr.c
|
|
|
42d3218 |
+++ b/integr.c
|
|
|
42d3218 |
@@ -5,7 +5,7 @@
|
|
|
42d3218 |
*
|
|
|
42d3218 |
*/
|
|
|
42d3218 |
|
|
|
42d3218 |
-static const char intergrity_identifier[] = {
|
|
|
42d3218 |
+static volatile const char intergrity_identifier[] = {
|
|
|
42d3218 |
0xB0, 0x03, 0xB0, 0x02, 0xB0, 0x03,
|
|
|
42d3218 |
0xB0, 0x04, 0xB0, 0x05,
|
|
|
42d3218 |
0x90, 0x90, 0x90, 0x90,
|