From: <dat...@us...> - 2006-09-14 19:26:11
|
Revision: 17277 http://svn.sourceforge.net/gaim/?rev=17277&view=rev Author: datallah Date: 2006-09-14 12:26:04 -0700 (Thu, 14 Sep 2006) Log Message: ----------- Patch from Joymarquis to make qq compile on win32. Modified Paths: -------------- trunk/libgaim/protocols/qq/Makefile.mingw trunk/libgaim/protocols/qq/crypt.c Property Changed: ---------------- trunk/libgaim/protocols/qq/ Property changes on: trunk/libgaim/protocols/qq ___________________________________________________________________ Name: svn:ignore - Makefile.in Makefile .deps .libs *.la *.lo + Makefile.in Makefile .deps .libs *.la *.lo *.dll Modified: trunk/libgaim/protocols/qq/Makefile.mingw =================================================================== --- trunk/libgaim/protocols/qq/Makefile.mingw 2006-09-14 18:53:56 UTC (rev 17276) +++ trunk/libgaim/protocols/qq/Makefile.mingw 2006-09-14 19:26:04 UTC (rev 17277) @@ -1,17 +1,14 @@ # # Makefile.mingw # -# Description: Makefile for win32 (mingw) version of OpenQ src +# Description: Makefile for win32 (mingw) version of the QQ prpl # GAIM_TOP := ../../.. include $(GAIM_TOP)/libgaim/win32/global.mak -TARGET = openq -OPENQ_TOP := .. +TARGET = libqq TYPE = PLUGIN -OPENQ_VERSION := $(shell cat $(OPENQ_TOP)/VERSION) -DEFINES += -DOPENQ_VERSION=\"$(OPENQ_VERSION)\" # Static or Plugin... ifeq ($(TYPE),STATIC) @@ -27,7 +24,6 @@ ## INCLUDE PATHS ## INCLUDE_PATHS += \ - -I$(OPENQ_ROOT) \ -I$(GTK_TOP)/include \ -I$(GTK_TOP)/include/glib-2.0 \ -I$(GTK_TOP)/lib/glib-2.0/include \ @@ -73,7 +69,6 @@ send_core.c \ send_file.c \ sendqueue.c \ - show.c \ sys_msg.c \ udp_proxy_s5.c \ utils.c @@ -110,7 +105,7 @@ ## CLEAN RULES ## clean: - rm -rf $(OBJECTS) - rm -rf $(TARGET).dll + rm -f $(OBJECTS) + rm -f $(TARGET).dll include $(GAIM_COMMON_TARGETS) Modified: trunk/libgaim/protocols/qq/crypt.c =================================================================== --- trunk/libgaim/protocols/qq/crypt.c 2006-09-14 18:53:56 UTC (rev 17276) +++ trunk/libgaim/protocols/qq/crypt.c 2006-09-14 19:26:04 UTC (rev 17277) @@ -38,7 +38,11 @@ 0x61C88647 is what we can track on the ASM codes.!! */ +#ifdef _WIN32 +#include "win32dep.h" +#else #include <arpa/inet.h> +#endif #include <string.h> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |