summaryrefslogtreecommitdiffstats
path: root/mail/evolution
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-03-13 17:09:07 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-03-13 17:09:07 +0800
commit76e72db74cbee0d3cef53a66cea1729ddf805ec2 (patch)
tree8977f3a8392a0485363b2ec5d89827987fd6fe65 /mail/evolution
parentf9da2a0840a437118f05a3dd5d151d4255f82dd5 (diff)
downloadmarcuscom-ports-76e72db74cbee0d3cef53a66cea1729ddf805ec2.tar
marcuscom-ports-76e72db74cbee0d3cef53a66cea1729ddf805ec2.tar.gz
marcuscom-ports-76e72db74cbee0d3cef53a66cea1729ddf805ec2.tar.bz2
marcuscom-ports-76e72db74cbee0d3cef53a66cea1729ddf805ec2.tar.lz
marcuscom-ports-76e72db74cbee0d3cef53a66cea1729ddf805ec2.tar.xz
marcuscom-ports-76e72db74cbee0d3cef53a66cea1729ddf805ec2.tar.zst
marcuscom-ports-76e72db74cbee0d3cef53a66cea1729ddf805ec2.zip
Void functions do not return anything.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13807 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail/evolution')
-rwxr-xr-xmail/evolution/files/fix-plugins.sh2
1 files changed, 1 insertions, 1 deletions
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}