diff options
Diffstat (limited to 'gnome-extra/evolution-data-server/files/evolution-data-server-1.12.1-icaltz-util.patch')
-rw-r--r-- | gnome-extra/evolution-data-server/files/evolution-data-server-1.12.1-icaltz-util.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-1.12.1-icaltz-util.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-1.12.1-icaltz-util.patch deleted file mode 100644 index 982291b274aa..000000000000 --- a/gnome-extra/evolution-data-server/files/evolution-data-server-1.12.1-icaltz-util.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -ur a/calendar/libical/src/libical/icaltz-util.c b/calendar/libical/src/libical/icaltz-util.c ---- a/calendar/libical/src/libical/icaltz-util.c 2007-10-12 07:31:10 +0100 -+++ b/calendar/libical/src/libical/icaltz-util.c 2007-10-19 11:34:38 +0100 -@@ -23,9 +23,11 @@ - #include <string.h> - #if defined(sun) && defined(__SVR4) - #include <sys/byteorder.h> --#else -+#elif defined(__linux__) - #include <byteswap.h> - #include <endian.h> -+#else -+#include <sys/endian.h> - #endif - #include <limits.h> - #include <time.h> -@@ -89,7 +91,11 @@ - if ((BYTE_ORDER == BIG_ENDIAN) && sizeof (int) == 4) - return *(const int *) ptr; - else if (BYTE_ORDER == LITTLE_ENDIAN && sizeof (int) == 4) -+#ifdef __linux__ - return bswap_32 (*(const int *) ptr); -+#else -+ return bswap32 (*(const uint32_t *) ptr); -+#endif - #endif - else - { |