diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-03-14 02:19:01 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-03-14 02:19:01 +0800 |
commit | f14c8b54e7b020372dd87aade9013721cc5d6132 (patch) | |
tree | e0b85ddd995249e5efa26e6fe4d4a5ab7db70908 | |
parent | 57c03ffa3c245c17448d75d8007bb9345fe8bfbe (diff) | |
download | marcuscom-ports-f14c8b54e7b020372dd87aade9013721cc5d6132.tar marcuscom-ports-f14c8b54e7b020372dd87aade9013721cc5d6132.tar.gz marcuscom-ports-f14c8b54e7b020372dd87aade9013721cc5d6132.tar.bz2 marcuscom-ports-f14c8b54e7b020372dd87aade9013721cc5d6132.tar.lz marcuscom-ports-f14c8b54e7b020372dd87aade9013721cc5d6132.tar.xz marcuscom-ports-f14c8b54e7b020372dd87aade9013721cc5d6132.tar.zst marcuscom-ports-f14c8b54e7b020372dd87aade9013721cc5d6132.zip |
Add a stub symbol for e_plugin_lib_get_configure_widget.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13811 df743ca5-7f9a-e211-a948-0013205c9059
-rwxr-xr-x | mail/evolution/files/fix-plugins.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mail/evolution/files/fix-plugins.sh b/mail/evolution/files/fix-plugins.sh index d89e32aef..0236aa54a 100755 --- a/mail/evolution/files/fix-plugins.sh +++ b/mail/evolution/files/fix-plugins.sh @@ -23,6 +23,11 @@ for i in ${plugin_srcs}; do printf "gint e_plugin_lib_enable (EPlugin *ep, gint enable);\n" >> ${WRKSRC}/plugins/${i} printf "gint\ne_plugin_lib_enable (EPlugin *ep, gint enable) {\n\treturn 0;\n}\n" >> ${WRKSRC}/plugins/${i} fi + if ! grep -q e_plugin_lib_get_configure_widget ${dir}/*.c; then + printf "#include <e-util/e-config.h>\n" >> ${WRKSRC}/plugins/${i} + printf "GtkWidget *e_plugin_lib_get_configure_widget (EPlugin *plugin);\n" >> ${WRKSRC}/plugins/${i} + printf "GtkWidget *\ne_plugin_lib_get_configure_widget (EPlugin *plugin) {\n\treturn NULL;\n}" >> ${WRKSRC}/plugins/${i} + fi done for i in ${module_srcs}; do |