summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2005-03-10 20:25:05 +0000
committerTony Vroon <chainsaw@gentoo.org>2005-03-10 20:25:05 +0000
commiteaead2f2fad431a5a5ae518dcb92c2ac9b8c0b07 (patch)
treec79524f19fdaba38e7bbd7700118430323e90061 /sys-fs/reiser4progs/files
parentAdded pcmcia to IUSE and closing bug #78714. (diff)
downloadhistorical-eaead2f2fad431a5a5ae518dcb92c2ac9b8c0b07.tar.gz
historical-eaead2f2fad431a5a5ae518dcb92c2ac9b8c0b07.tar.bz2
historical-eaead2f2fad431a5a5ae518dcb92c2ac9b8c0b07.zip
GCC 4 compat fix by Bret Towe <magnade@gmail.com>, closes bug #81054.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-fs/reiser4progs/files')
-rw-r--r--sys-fs/reiser4progs/files/reiser4progs-1.0.3-gcc4.patch45
1 files changed, 45 insertions, 0 deletions
diff --git a/sys-fs/reiser4progs/files/reiser4progs-1.0.3-gcc4.patch b/sys-fs/reiser4progs/files/reiser4progs-1.0.3-gcc4.patch
new file mode 100644
index 000000000000..e9d0b3d7259a
--- /dev/null
+++ b/sys-fs/reiser4progs/files/reiser4progs-1.0.3-gcc4.patch
@@ -0,0 +1,45 @@
+diff -urN ../tmp-orig/reiser4progs-1.0.3/plugin/key/key_large/key_large.c \
+ ./plugin/key/key_large/key_large.c
+--- ../tmp-orig/reiser4progs-1.0.3/plugin/key/key_large/key_large.c 2004-10-19 \
+ 23:02:47.000000000 +0200
++++ ./plugin/key/key_large/key_large.c 2005-01-03 17:13:29.425846752 +0100
+@@ -6,7 +6,7 @@
+ #ifdef ENABLE_LARGE_KEYS
+ #include "key_large.h"
+
+-extern reiser4_plug_t key_large_plug;
++static reiser4_plug_t key_large_plug;
+
+ /* Returns minimal key */
+ static reiser4_key_t *key_large_minimal(void) {
+diff -urN ../tmp-orig/reiser4progs-1.0.3/plugin/key/key_short/key_short.c \
+ ./plugin/key/key_short/key_short.c
+--- ../tmp-orig/reiser4progs-1.0.3/plugin/key/key_short/key_short.c 2004-10-19 \
+ 23:02:27.000000000 +0200
++++ ./plugin/key/key_short/key_short.c 2005-01-03 17:13:12.000000000 +0100
+@@ -6,7 +6,7 @@
+ #ifdef ENABLE_SHORT_KEYS
+ #include "key_short.h"
+
+-extern reiser4_plug_t key_short_plug;
++static reiser4_plug_t key_short_plug;
+
+ /* Returns minimal key */
+ static reiser4_key_t *key_short_minimal(void) {
+diff -urN ../tmp-orig/reiser4progs-1.0.3/plugin/oid/oid40/oid40.c \
+ ./plugin/oid/oid40/oid40.c
+--- ../tmp-orig/reiser4progs-1.0.3/plugin/oid/oid40/oid40.c 2004-12-02 \
+ 17:13:27.000000000 +0100
++++ ./plugin/oid/oid40/oid40.c 2005-01-03 17:09:38.000000000 +0100
+@@ -8,7 +8,7 @@
+ #include "oid40.h"
+ #include "oid40_repair.h"
+
+-extern reiser4_plug_t oid40_plug;
++static reiser4_plug_t oid40_plug;
+
+ static uint32_t oid40_get_state(generic_entity_t *entity) {
+ aal_assert("umka-2088", entity != NULL);
+
+
+