gaim_cvs: build fix
authorPhilipp Zabel <philipp.zabel@gmail.com>
Sat, 11 Feb 2006 15:20:38 +0000 (15:20 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sat, 11 Feb 2006 15:20:38 +0000 (15:20 +0000)
 - drop desktop-name-cvs.patch, doesn't apply anymore
 - work around the strftime %z support test

packages/gaim/files/configure-strftime.patch [new file with mode: 0644]
packages/gaim/gaim_cvs.bb
site/arm-linux

diff --git a/packages/gaim/files/configure-strftime.patch b/packages/gaim/files/configure-strftime.patch
new file mode 100644 (file)
index 0000000..8062105
--- /dev/null
@@ -0,0 +1,25 @@
+--- gaim/configure.ac  2006-02-09 00:04:40.000000000 +0100
++++ gaim/configure.ac  2006-02-09 22:37:00.000000000 +0100
+@@ -111,6 +111,14 @@
+ AC_CHECK_FUNC(dlopen, LIBDL="", [AC_CHECK_LIB(dl, dlopen, LIBDL="-ldl")])
+ AC_MSG_CHECKING(for the %z format string in strftime())
++
++if test "x$gaim_cv_HAVE_STRFTIME_Z_FORMAT" = "xyes"; then
++      AC_MSG_RESULT(yes)
++      AC_DEFINE([HAVE_STRFTIME_Z_FORMAT], [1],
++                                      [Define to 1 if you have a strftime() that supports the %z format string.])
++elif test "x$gaim_cv_HAVE_STRFTIME_Z_FORMAT" = "xno"; then
++      AC_MSG_RESULT(no)
++else
+ AC_TRY_RUN([
+ #ifdef HAVE_SYS_TIME_H
+ #include <sys/time.h>
+@@ -145,6 +153,7 @@
+       AC_MSG_RESULT(no)
+ ]
+ )
++fi
+ dnl #######################################################################
index 801ec7d..2505b1b 100644 (file)
@@ -4,8 +4,8 @@ PV = "2.0+cvs-${SRCDATE}"
 
 SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/gaim;module=gaim \
        file://no-superimposed-version-on-logo.patch;patch=1 \
-       file://desktop-name-cvs.patch;patch=1 \
        file://gtk-deprecated-2.0.0.patch;patch=1 \
+       file://configure-strftime.patch;patch=1 \
        "
 
 include gaim.inc
index e3e9968..95596c9 100644 (file)
@@ -362,3 +362,6 @@ with_broken_putenv=${with_broken_putenv=no}
 
 # xffm
 jm_cv_func_working_readdir=yes
+
+# gaim
+gaim_cv_HAVE_STRFTIME_Z_FORMAT=${gaim_cv_HAVE_STRFTIME_Z_FORMAT=yes}