view src/atk-1-DllMain.patch @ 2858:7c6b29399d05

New script to make shared libraries from static libraries. This script should only be used as a temporary solution for those packages which do not have Makefiles that can be easily fixed to generate shared libraries. It would be better to fix the build systems of these libraries to correctly generate shared libraries using CMake or autotools.
author John W. Eaton <jwe@octave.org>
date Thu, 15 Nov 2012 16:14:26 -0500
parents 0bec20cb78f6
children 1c7c6c090223
line wrap: on
line source

diff -uNr atk-2.2.0-orig/atk/atkobject.c atk-2.2.0/atk/atkobject.c
--- atk-2.2.0-orig/atk/atkobject.c	2011-09-19 19:06:54.000000000 +0200
+++ atk-2.2.0/atk/atkobject.c	2012-04-14 20:26:12.763814596 +0200
@@ -366,7 +366,7 @@
 static HMODULE atk_dll;
 
 BOOL WINAPI
-DllMain (HINSTANCE hinstDLL,
+atk_DllMain (HINSTANCE hinstDLL,
 	 DWORD     fdwReason,
 	 LPVOID    lpvReserved)
 {