Revision: 18065 http://gar.svn.sourceforge.net/gar/?rev=18065&view=rev Author: dmichelsen Date: 2012-05-21 14:01:00 +0000 (Mon, 21 May 2012) Log Message: ----------- libgadu/trunk: Update to 1.11.1 and some build fixes
Modified Paths: -------------- csw/mgar/pkg/libgadu/trunk/Makefile csw/mgar/pkg/libgadu/trunk/checksums Added Paths: ----------- csw/mgar/pkg/libgadu/trunk/files/0003-Pack-structure-on-Sun-Studio.patch Modified: csw/mgar/pkg/libgadu/trunk/Makefile =================================================================== --- csw/mgar/pkg/libgadu/trunk/Makefile 2012-05-21 12:16:01 UTC (rev 18064) +++ csw/mgar/pkg/libgadu/trunk/Makefile 2012-05-21 14:01:00 UTC (rev 18065) @@ -27,7 +27,7 @@ NAME = libgadu # -VERSION = 1.11.0 +VERSION = 1.11.1 GARTYPE = v2 CATEGORIES = lib @@ -39,6 +39,11 @@ PATCHFILES += 0001-Use-127.0.0.1-for-localhost-or-fail.patch PATCHFILES += 0002-Do-not-forcefully-set-CFLAGS-to-gcc-specific-stuff.patch +# Make sure to pack stuff +PATCHFILES += 0003-Pack-structure-on-Sun-Studio.patch +EXTRA_CFLAGS += -misalign +EXTRA_LDFLAGS += -misalign + VENDOR_URL = http://toxygen.net/libgadu # There are zero-sized structs @@ -46,4 +51,7 @@ BUILD64_LIBS_ONLY = 1 +# The testsuite has some issues with pragma +SKIPTEST ?= 1 + include gar/category.mk Modified: csw/mgar/pkg/libgadu/trunk/checksums =================================================================== --- csw/mgar/pkg/libgadu/trunk/checksums 2012-05-21 12:16:01 UTC (rev 18064) +++ csw/mgar/pkg/libgadu/trunk/checksums 2012-05-21 14:01:00 UTC (rev 18065) @@ -1 +1 @@ -c779891298ce5d081c1e871e1e5b256d libgadu-1.11.0.tar.gz +01016ad3b0ea955b61ef4badf2bd48bf libgadu-1.11.1.tar.gz Added: csw/mgar/pkg/libgadu/trunk/files/0003-Pack-structure-on-Sun-Studio.patch =================================================================== --- csw/mgar/pkg/libgadu/trunk/files/0003-Pack-structure-on-Sun-Studio.patch (rev 0) +++ csw/mgar/pkg/libgadu/trunk/files/0003-Pack-structure-on-Sun-Studio.patch 2012-05-21 14:01:00 UTC (rev 18065) @@ -0,0 +1,38 @@ +From 66d9b908a996c52584353ca00d3caa521dc63d62 Mon Sep 17 00:00:00 2001 +From: Dagobert Michelsen <d...@opencsw.org> +Date: Fri, 15 Jul 2011 15:32:26 +0200 +Subject: [PATCH] Pack structure on Sun Studio + +--- + include/libgadu.h.in | 8 ++++++++ + 1 files changed, 8 insertions(+), 0 deletions(-) + +diff --git a/include/libgadu.h.in b/include/libgadu.h.in +index 149ffa9..5cec59a 100644 +--- a/include/libgadu.h.in ++++ b/include/libgadu.h.in +@@ -33,6 +33,10 @@ + #ifndef __GG_LIBGADU_H + #define __GG_LIBGADU_H + ++#ifdef __sun ++#pragma pack(1) ++#endif ++ + #ifdef __cplusplus + #ifdef _WIN32 + #pragma pack(push, 1) +@@ -2302,6 +2306,10 @@ struct gg_dcc7_dunno1 { + #endif + #endif + ++#ifdef __sun ++#pragma pack() ++#endif ++ + #endif /* __GG_LIBGADU_H */ + + /* +-- +1.7.6 + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ devel mailing list devel@lists.opencsw.org https://lists.opencsw.org/mailman/listinfo/devel