Search
j0ke.net Open Build Service
>
Projects
>
server:backup
>
bacula
> 2.4.4-fortify.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File 2.4.4-fortify.patch of Package bacula
This patch permit to disable the _FORTIFY_SOURCE flag that is added by some distributions. Apply it to version 2.4.4 with: cd <bacula-source> patch -p0 <2.4.4-fortify.patch ./configure <your options> make ... make install Index: src/bacula.h =================================================================== --- src/bacula.h (révision 8436) +++ src/bacula.h (copie de travail) @@ -34,6 +34,13 @@ #ifndef _BACULA_H #define _BACULA_H 1 +/* Disable FORTIFY_SOURCE, because bacula uses is own memory + * manager + */ +#ifdef _FORTIFY_SOURCE +#undef _FORTIFY_SOURCE +#endif + #ifdef __cplusplus /* Workaround for SGI IRIX 6.5 */ #define _LANGUAGE_C_PLUS_PLUS 1