pidgin: cfa223b3: Build fixes on OpenSolaris. Closes #118...
darkrain42 at pidgin.im
darkrain42 at pidgin.im
Sun May 16 12:05:33 EDT 2010
-----------------------------------------------------------------
Revision: cfa223b3386ae5aea84acf03fb9eb9b741364d29
Ancestor: c4a874926d07b8597db4b78a181a89cf720a8418
Author: brian.lu at sun.com
Date: 2010-05-16T15:57:51
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/cfa223b3386ae5aea84acf03fb9eb9b741364d29
Modified files:
ChangeLog configure.ac libpurple/protocols/gg/lib/libgadu.h
ChangeLog:
Build fixes on OpenSolaris. Closes #11841.
-------------- next part --------------
============================================================
--- ChangeLog 1e1ee62b5fef93870702d926669a1410d8f4126d
+++ ChangeLog ab48bdc5cd7f93f29e9e6a633bfbb95de14ad3c2
@@ -1,6 +1,9 @@ version 2.7.1 (??/??/????):
Pidgin and Finch: The Pimpin' Penguin IM Clients That're Good for the Soul
version 2.7.1 (??/??/????):
+ General:
+ * Build fixes on OpenSolaris. (Brian Lu)
+
Pidgin:
* Restore the tray icon's blinking functionality.
============================================================
--- configure.ac 85dbc3b656106a2b44fe6e6e65e9c19b5a6ce96d
+++ configure.ac 1735f0523633c803e9a301c37b8836ba06f1f42e
@@ -115,6 +115,9 @@ AC_FUNC_ALLOCA
PKG_PROG_PKG_CONFIG
AC_FUNC_ALLOCA
+dnl Check for Sun compiler
+AC_CHECK_DECL([__SUNPRO_C], [SUNCC="yes"], [SUNCC="no"])
+
dnl Checks for header files.
AC_HEADER_STDC
AC_HEADER_SYS_WAIT
@@ -1337,6 +1340,10 @@ fi
DEBUG_CFLAGS="-Wall $DEBUG_CFLAGS"
CFLAGS="-g $CFLAGS"
fi
+
+if test "x$SUNCC" = "xyes"; then
+ CFLAGS="-features=extensions"
+fi
AC_SUBST(CFLAGS)
AC_PATH_PROG(pidginpath, pidgin)
============================================================
--- libpurple/protocols/gg/lib/libgadu.h bfab61f288b9169e581a9512002e41ee2a8cb730
+++ libpurple/protocols/gg/lib/libgadu.h 57f82cfdc71a0878452d425b688dc2f39bcc5f02
@@ -117,7 +117,7 @@ typedef unsigned int uint32_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
-#ifndef __CYGWIN__
+#if !defined(__CYGWIN__) && !defined(__SunOS)
#define __int8_t_defined
typedef signed char int8_t;
typedef signed short int16_t;
More information about the Commits
mailing list