From: Jakub Bogusz Date: Sun, 18 Feb 2007 12:38:18 +0000 (+0000) Subject: - outdated X-Git-Tag: auto/th/lsvpd-1_0_3-1~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Flsvpd.git;a=commitdiff_plain;h=d73f74d;hp=403122227cecf9bc3662cf6078544ccd78ea3018 - outdated Changed files: lsvpd-gcc4.patch -> 1.2 --- diff --git a/lsvpd-gcc4.patch b/lsvpd-gcc4.patch deleted file mode 100644 index fee6f95..0000000 --- a/lsvpd-gcc4.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- lsvpd-0.16.0/src/device_scsi.c.orig 2006-09-20 15:11:49.000000000 +0000 -+++ lsvpd-0.16.0/src/device_scsi.c 2006-09-20 15:14:08.596244500 +0000 -@@ -382,7 +382,7 @@ - s.supertype = DEVICE_TYPE_SCSI; - i = 0; - while (NULL != (x = device_scsi_ds_prefixes[i].type)) { -- if (DEVICE_TYPE_SCSI != x) { -+ if (strcmp(DEVICE_TYPE_SCSI, x)) { - s.type = x; - node_type_register(&s); - } ---- lsvpd-0.16.0/src/init.h.orig 2006-09-13 23:58:24.000000000 +0000 -+++ lsvpd-0.16.0/src/init.h 2006-09-20 15:29:28.845091000 +0000 -@@ -57,23 +57,10 @@ - * - * Thanks to Rusty Russell, Jeremy Kerr and David Gibson for hints on - * all of this. -- * -- * Building with -funit-at-a-time will result in a link failure, since -- * it optimises away pretty much everything to do with this code. -- * This means that building with -O2 will fail, since it implies the -- * above optimisation. However, it is possible to build with -O2 by -- * adding -fno-unit-at-a-time. Thanks to Olaf Hering -- * for working this out. - */ -- -- /* -- * When building for GCC 4.1.0 ( perhaps 4.0.X and/or >4.1.0) the -O -- * option will optimise all this away, so you need to include the -- * -fno-unit-at-a-time option. -- */ - - #define INIT(fn) static initcall_t __initcall_##fn \ --__attribute__((__unused__)) \ -+__attribute__((__used__)) \ - __attribute__((__section__("init_call"))) = &fn - - static inline void call_inits (void)