gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-


From: Benjamin Wolsey
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_final-630-g8902484
Date: Tue, 09 Aug 2011 14:05:58 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  89024843114a7b0359c267f172d4c741e7cdea7d (commit)
       via  94cb9598c4008789f2fb0b5d03e42ed37ee401b3 (commit)
      from  05bdc969ed629967c6b34f3f95e50a2c5991cbef (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=89024843114a7b0359c267f172d4c741e7cdea7d


commit 89024843114a7b0359c267f172d4c741e7cdea7d
Author: Benjamin Wolsey <address@hidden>
Date:   Tue Aug 9 15:26:02 2011 +0200

    Drop unneeded configure tests.
    
    We don't use POSIX shared memory as the pp doesn't. Don't test for float
    behaviour as we don't use this any more. Do check for librt for
    clock_gettime though.

diff --git a/configure.ac b/configure.ac
index 603d1f9..0f00b6c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1876,40 +1876,6 @@ dnl and probably for many other guis too ...
 GNASH_PATH_X11
 AM_CONDITIONAL(HAVE_X11, [test x$x11 = xyes])
 
-AC_CHECK_LIB(rt, shm_unlink)
-AC_CHECK_FUNCS(shm_open shm_unlink)
-
-dnl if test x$cross_compiling = xno; then
-AC_LANG_PUSH(C++)
-AC_MSG_CHECKING([to see if float formatting is broken])
-AC_RUN_IFELSE([
-  AC_LANG_PROGRAM([#include <cmath>
-    void testFloat(double d, double& s)
-    {
-        d /= 1000.0;
-        s = std::fmod(d, 86400.0);
-    }], [
-     double d = 3.0935415006117e+23;
-     double s;
-     testFloat(d, s);
-     if (static_cast<int>(s) != 61440) {
-         return 1;
-     }])],                         dnl end of LANG_PROGRAM
-     broken_float=no,              dnl returns 0, works
-     broken_float=yes,             dnl returns 1, broken
-     broken_float=no               dnl cross compiling
-)                                  dnl end of RUN_IFELSE
-AC_LANG_POP(C++)
-dnl fi
-
-if test x${broken_float} = xyes; then
-  AC_MSG_RESULT([yes])
-  AC_DEFINE(HAVE_BROKEN_FLOAT, [1], [Has broken float support])
-else
-  AC_MSG_RESULT([no])
-fi
-AM_CONDITIONAL(BROKEN_FLOAT, [ test x$broken_float = xyes ])
-
 dnl See if ipc_perm structure has the ipc_perm.key field, and if so,
 dnl which variant of the name is used.
 ipc_key=no
@@ -2053,6 +2019,7 @@ fi
 AC_CHECK_FUNCS(sysconf)
 AC_CHECK_FUNCS(shmget shmat shmdt mmap)
 AC_CHECK_FUNCS(scandir)         dnl supported by BSD and Linux, but you never 
know...
+AC_CHECK_LIB(rt, clock_gettime)
 AC_CHECK_FUNC(clock_gettime, AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Has 
clock_gettime()] ))
 dnl Look for Win32 networking stuff
 AC_CHECK_HEADERS(winsock.h)

http://git.savannah.gnu.org/cgit//commit/?id=94cb9598c4008789f2fb0b5d03e42ed37ee401b3


commit 94cb9598c4008789f2fb0b5d03e42ed37ee401b3
Author: Benjamin Wolsey <address@hidden>
Date:   Tue Aug 9 09:23:48 2011 +0200

    Output as int.

diff --git a/libcore/swf/DefineBitsTag.cpp b/libcore/swf/DefineBitsTag.cpp
index cf8b80e..bb84815 100644
--- a/libcore/swf/DefineBitsTag.cpp
+++ b/libcore/swf/DefineBitsTag.cpp
@@ -417,7 +417,7 @@ readLossless(SWFStream& in, TagType tag)
 
     IF_VERBOSE_PARSE(
         log_parse(_("  defbitslossless2: tag = %d, fmt = %d, "
-                "w = %d, h = %d"), tag, bitmap_format, width, height);
+                "w = %d, h = %d"), tag, +bitmap_format, width, height);
     );
 
     std::auto_ptr<image::GnashImage> image;  

-----------------------------------------------------------------------

Summary of changes:
 configure.ac                  |   35 +----------------------------------
 libcore/swf/DefineBitsTag.cpp |    2 +-
 2 files changed, 2 insertions(+), 35 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]