diff options
-rw-r--r-- | mail/evolution-exchange/files/patch-eplugin_exchange-operations.c | 2 | ||||
-rwxr-xr-x | mail/evolution/files/fix-plugins.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mail/evolution-exchange/files/patch-eplugin_exchange-operations.c b/mail/evolution-exchange/files/patch-eplugin_exchange-operations.c index 0b8e3e23d..49adfb514 100644 --- a/mail/evolution-exchange/files/patch-eplugin_exchange-operations.c +++ b/mail/evolution-exchange/files/patch-eplugin_exchange-operations.c @@ -14,5 +14,5 @@ +void g_module_unload (gpointer module); +void +g_module_unload (gpointer module) { -+ return NULL; ++ return; +} diff --git a/mail/evolution/files/fix-plugins.sh b/mail/evolution/files/fix-plugins.sh index 755fee890..0d25e324d 100755 --- a/mail/evolution/files/fix-plugins.sh +++ b/mail/evolution/files/fix-plugins.sh @@ -13,7 +13,7 @@ for i in ${plugin_srcs}; do printf "const char * g_module_check_init (gpointer module);\n" >> ${WRKSRC}/plugins/${i} printf "const char *\ng_module_check_init (gpointer module) {\n\treturn NULL;\n}\n" >> ${WRKSRC}/plugins/${i} printf "void g_module_unload (gpointer module);\n" >> ${WRKSRC}/plugins/${i} - printf "void\ng_module_unload (gpointer module) {\n\treturn NULL;\n}\n" >> ${WRKSRC}/plugins/${i} + printf "void\ng_module_unload (gpointer module) {\n\treturn;\n}\n" >> ${WRKSRC}/plugins/${i} dir=$(dirname ${WRKSRC}/plugins/${i}) if ! grep -q e_plugin_lib_enable ${dir}/*.c; then printf "#include <e-util/e-config.h>\n" >> ${WRKSRC}/plugins/${i} |