summaryrefslogtreecommitdiffstats
path: root/mail/evolution
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-03-13 16:58:49 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2010-03-13 16:58:49 +0800
commita949884a90415a82bc593e71082c6657455a6925 (patch)
treef17785087cd5a5219182295310b5bd63482352fe /mail/evolution
parent35f34ada149c137e5af7fd9c1fedc5a433e6cbd4 (diff)
downloadmarcuscom-ports-a949884a90415a82bc593e71082c6657455a6925.tar
marcuscom-ports-a949884a90415a82bc593e71082c6657455a6925.tar.gz
marcuscom-ports-a949884a90415a82bc593e71082c6657455a6925.tar.bz2
marcuscom-ports-a949884a90415a82bc593e71082c6657455a6925.tar.lz
marcuscom-ports-a949884a90415a82bc593e71082c6657455a6925.tar.xz
marcuscom-ports-a949884a90415a82bc593e71082c6657455a6925.tar.zst
marcuscom-ports-a949884a90415a82bc593e71082c6657455a6925.zip
Correct prototypes for g_module stub functions.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13805 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail/evolution')
-rwxr-xr-xmail/evolution/files/fix-plugins.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/evolution/files/fix-plugins.sh b/mail/evolution/files/fix-plugins.sh
index 265182877..755fee890 100755
--- a/mail/evolution/files/fix-plugins.sh
+++ b/mail/evolution/files/fix-plugins.sh
@@ -10,10 +10,10 @@ for i in ${plugin_srcs}; do
continue
fi
cp ${WRKSRC}/plugins/${i} ${WRKSRC}/plugins/${i}.bak
- printf "char * g_module_check_init (void);\n" >> ${WRKSRC}/plugins/${i}
- printf "char *\ng_module_check_init () {\n\treturn NULL;\n}\n" >> ${WRKSRC}/plugins/${i}
- printf "char * g_module_unload (void);\n" >> ${WRKSRC}/plugins/${i}
- printf "char *\ng_module_unload () {\n\treturn NULL;\n}\n" >> ${WRKSRC}/plugins/${i}
+ 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}
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}