Home | History | Annotate | Download | only in patches
      1 --- 2.0b3.1-ori/libgaim/plugins/perl/libgaimperl.c	2006-08-20 04:36:31.000000000 +0800
      2 +++ 2.0b3.1-my/libgaim/plugins/perl/libgaimperl.c	2006-08-30 14:46:14.189305000 +0800
      3 @@ -1,7 +1,7 @@
      4  #include <gmodule.h>
      5 -void __attribute__ ((constructor)) my_init(void);
      6 +void my_init(void);
      7  
      8 -void __attribute__ ((constructor)) my_init() {
      9 +void my_init() {
     10  	/* Very evil hack...puts perl.so's symbols in the global table
     11  	 * but does not create a circular dependancy because g_module_open
     12  	 * will only open the library once. */
     13