diff options
Diffstat (limited to 'sys-fs/reiser4progs/files')
-rw-r--r-- | sys-fs/reiser4progs/files/reiser4progs-1.0.7-gcc-4.4.patch | 15 | ||||
-rw-r--r-- | sys-fs/reiser4progs/files/reiser4progs-1.0.7-readline-6.3.patch | 16 |
2 files changed, 31 insertions, 0 deletions
diff --git a/sys-fs/reiser4progs/files/reiser4progs-1.0.7-gcc-4.4.patch b/sys-fs/reiser4progs/files/reiser4progs-1.0.7-gcc-4.4.patch new file mode 100644 index 000000000000..3f32af5d78b4 --- /dev/null +++ b/sys-fs/reiser4progs/files/reiser4progs-1.0.7-gcc-4.4.patch @@ -0,0 +1,15 @@ +http://bugs.gentoo.org/269240 + +fix build failure when using gcc-4.4 + +--- reiser4progs-1.0.7/plugin/node/node40/node40.c ++++ reiser4progs-1.0.7/plugin/node/node40/node40.c +@@ -994,7 +994,7 @@ + func = cb_comp_key3; + #elif defined(ENABLE_LARGE_KEYS) + func = cb_comp_key4; +-#elif ++#else + func = NULL; + #endif + diff --git a/sys-fs/reiser4progs/files/reiser4progs-1.0.7-readline-6.3.patch b/sys-fs/reiser4progs/files/reiser4progs-1.0.7-readline-6.3.patch new file mode 100644 index 000000000000..9de53bd41203 --- /dev/null +++ b/sys-fs/reiser4progs/files/reiser4progs-1.0.7-readline-6.3.patch @@ -0,0 +1,16 @@ +https://bugs.gentoo.org/504472 + +fix building w/readline-6.3 -- the old CPPFunction define has been deleted + +--- a/libmisc/ui.c ++++ b/libmisc/ui.c +@@ -256,8 +256,7 @@ static void _init(void) { + + #if defined(HAVE_LIBREADLINE) && defined(HAVE_READLINE_READLINE_H) + rl_initialize(); +- rl_attempted_completion_function = +- (CPPFunction *)misc_complete; ++ rl_attempted_completion_function = misc_complete; + #endif + + aal_exception_set_handler(misc_exception_handler); |