[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-windows
Subject: gpg-error-src and assuan2-src on msvc 2010
From: Cristian_Oneţ <onet.cristian () gmail ! com>
Date: 2010-11-20 10:57:44
Message-ID: AANLkTinM1wi3ZG+MuojxZm=THKEyOkA0DU9EFYZT0c8Q () mail ! gmail ! com
[Download RAW message or body]
Hi,
I've just updated emerge and was running 'emerge --update kmymoney'
when I came across two errors one in gpg-error-src and one in
assuan2-src. The errors where caused bu some defines which conflicted
some typedefs from <stdint.h>. In the attached patch I have just
commented these but whoever added those defines for a reason could fix
the patches to add the defines only if they are really needed.
Thanks,
Cristian
["win32-sources-vc100.patch" (application/octet-stream)]
Index: emerge/portage/win32libs-sources/assuan2-src/libassuan-2.0.1-20101029.diff
===================================================================
--- emerge/portage/win32libs-sources/assuan2-src/libassuan-2.0.1-20101029.diff (revision 1198899)
+++ emerge/portage/win32libs-sources/assuan2-src/libassuan-2.0.1-20101029.diff (working copy)
@@ -362,7 +362,7 @@
+
+/* Define to the type of an unsigned integer type of width exactly 16 bits if
+ such a type exists and the standard includes do not define it. */
-+#cmakedefine uint16_t @uint16_t@
++//#cmakedefine uint16_t @uint16_t@
+
+/* Define to the type of an unsigned integer type wide enough to hold a
+ pointer, if such a type exists, and if the system does not define it. */
Index: emerge/portage/win32libs-sources/gpg-error-src/libgpg-error-1.10-20101031.diff
===================================================================
--- emerge/portage/win32libs-sources/gpg-error-src/libgpg-error-1.10-20101031.diff (revision 1198899)
+++ emerge/portage/win32libs-sources/gpg-error-src/libgpg-error-1.10-20101031.diff (working copy)
@@ -380,8 +380,8 @@
+#define GPG_ERR_ENABLE_ERRNO_MACROS 1
+
+#if defined(HAVE_W32_SYSTEM)
-+#define uint32_t unsigned __int32
-+#define uint16_t unsigned __int16
++//#define uint32_t unsigned __int32
++//#define uint16_t unsigned __int16
+#endif
diff -Nru libgpg-error-1.10.orig/ConfigureChecks.cmake libgpg-error-1.10/ConfigureChecks.cmake
--- libgpg-error-1.10.orig/ConfigureChecks.cmake 1970-01-01 01:00:00.000000000 +0100
_______________________________________________
Kde-windows mailing list
Kde-windows@kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic