mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-26 09:46:09 +00:00
The Perl module was broken in gaim since perl.h defined STATIC which
broke the plug-in initialization. To fix this, check for a namespace friendly GAIM_STATIC_PRPL macro definition to decide if we need to build modules statically. Obtained from: GAIM CVS
This commit is contained in:
parent
66f55d03e6
commit
5c2f7eb4df
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102307
@ -6,7 +6,7 @@
|
||||
|
||||
PORTNAME= gaim
|
||||
PORTVERSION= 0.75
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES?= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
20
net-im/gaim/files/patch-src_plugin.h
Normal file
20
net-im/gaim/files/patch-src_plugin.h
Normal file
@ -0,0 +1,20 @@
|
||||
--- src/plugin.h.orig Fri Feb 27 15:18:51 2004
|
||||
+++ src/plugin.h Fri Feb 27 15:19:15 2004
|
||||
@@ -117,7 +117,7 @@
|
||||
/**
|
||||
* Handles the initialization of modules.
|
||||
*/
|
||||
-#if !defined(GAIM_PLUGINS) || defined(STATIC)
|
||||
+#if !defined(GAIM_PLUGINS) || defined(GAIM_STATIC_PRPL)
|
||||
# define GAIM_INIT_PLUGIN(pluginname, initfunc, plugininfo) \
|
||||
gboolean gaim_init_##pluginname##_plugin(void) { \
|
||||
GaimPlugin *plugin = gaim_plugin_new(TRUE, NULL); \
|
||||
@@ -125,7 +125,7 @@
|
||||
initfunc((plugin)); \
|
||||
return gaim_plugin_register(plugin); \
|
||||
}
|
||||
-#else /* GAIM_PLUGINS && !STATIC */
|
||||
+#else /* GAIM_PLUGINS && !GAIM_STATIC_PRPL */
|
||||
# define GAIM_INIT_PLUGIN(pluginname, initfunc, plugininfo) \
|
||||
G_MODULE_EXPORT gboolean gaim_init_plugin(GaimPlugin *plugin) { \
|
||||
plugin->info = &(plugininfo); \
|
@ -6,7 +6,7 @@
|
||||
|
||||
PORTNAME= gaim
|
||||
PORTVERSION= 0.75
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES?= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
20
net/gaim/files/patch-src_plugin.h
Normal file
20
net/gaim/files/patch-src_plugin.h
Normal file
@ -0,0 +1,20 @@
|
||||
--- src/plugin.h.orig Fri Feb 27 15:18:51 2004
|
||||
+++ src/plugin.h Fri Feb 27 15:19:15 2004
|
||||
@@ -117,7 +117,7 @@
|
||||
/**
|
||||
* Handles the initialization of modules.
|
||||
*/
|
||||
-#if !defined(GAIM_PLUGINS) || defined(STATIC)
|
||||
+#if !defined(GAIM_PLUGINS) || defined(GAIM_STATIC_PRPL)
|
||||
# define GAIM_INIT_PLUGIN(pluginname, initfunc, plugininfo) \
|
||||
gboolean gaim_init_##pluginname##_plugin(void) { \
|
||||
GaimPlugin *plugin = gaim_plugin_new(TRUE, NULL); \
|
||||
@@ -125,7 +125,7 @@
|
||||
initfunc((plugin)); \
|
||||
return gaim_plugin_register(plugin); \
|
||||
}
|
||||
-#else /* GAIM_PLUGINS && !STATIC */
|
||||
+#else /* GAIM_PLUGINS && !GAIM_STATIC_PRPL */
|
||||
# define GAIM_INIT_PLUGIN(pluginname, initfunc, plugininfo) \
|
||||
G_MODULE_EXPORT gboolean gaim_init_plugin(GaimPlugin *plugin) { \
|
||||
plugin->info = &(plugininfo); \
|
Loading…
Reference in New Issue
Block a user