monotone-commits-diffs
[Top][All Lists]
Advanced

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

[Monotone-commits-diffs] net.venge.monotone: baa4a4a14f4d6c182079acad0b


From: code
Subject: [Monotone-commits-diffs] net.venge.monotone: baa4a4a14f4d6c182079acad0bc6d1e366c23cc9
Date: Sun, 27 Mar 2011 16:38:47 +0200 (CEST)

revision:            baa4a4a14f4d6c182079acad0bc6d1e366c23cc9
date:                2011-03-26T21:42:31
author:              address@hidden
branch:              net.venge.monotone
changelog:
fix gcc 4.5.2 compiler warnings, one failing test on Win32

* INSTALL_windows_native.txt: update to latest versions

* src/win32/get_system_flavour.cc: 
* src/paths.cc (dirname): fix gcc 4.5.2 compiler warnings

* test/func/schema_migration_new_db/__driver__.lua: add canonicalize for Win32

manifest:
format_version "1"

new_manifest [a7e1bb457906732590b309582eb805ed7add4d0c]

old_revision [0b3fcf518523bfd35cf2e4e6d06c36f52e8649a9]

patch "INSTALL_windows_native.txt"
 from [720fd6b6c8f3696e572a3f2f5466b9518d1aadcf]
   to [d67a72a79605d8e65abc2529e06481fad204724f]

patch "src/paths.cc"
 from [c724539af68eb71b98431d565eade79c2dcadf15]
   to [59d74d02bbdaaeda940843ab6d9f6cdd816e2caa]

patch "src/win32/get_system_flavour.cc"
 from [504a6ac65967da7d4b4a437d0beebc04ee8f969d]
   to [08c4e014bf680bd9396fe2a70571d215560337a6]

patch "test/func/schema_migration_new_db/__driver__.lua"
 from [b1ed03f18f2480f322746b2e142f21ad005ae9cf]
   to [3c9bd83bd39e98ced7d78a436143968717e11a0a]
============================================================
--- src/win32/get_system_flavour.cc	504a6ac65967da7d4b4a437d0beebc04ee8f969d
+++ src/win32/get_system_flavour.cc	08c4e014bf680bd9396fe2a70571d215560337a6
@@ -16,7 +16,7 @@ struct table_entry
 struct table_entry
 {
   unsigned long key;
-  char *val;
+  const char *val;
 };
 
 void key_to_string(unsigned long key,
============================================================
--- src/paths.cc	c724539af68eb71b98431d565eade79c2dcadf15
+++ src/paths.cc	59d74d02bbdaaeda940843ab6d9f6cdd816e2caa
@@ -1,5 +1,5 @@
 // Copyright (C) 2005 Nathaniel Smith <address@hidden>
-//               2008, 2010 Stephen Leake <address@hidden>
+//               2008, 2010 - 2011 Stephen Leake <address@hidden>
 //
 // This program is made available under the GNU GPL version 2.0 or
 // greater. See the accompanying file COPYING for details.
@@ -555,7 +555,7 @@ any_path::dirname() const
   // dirname() of a direct child of the root is the root
   if (sep == 0 || (sep == 1 && s[1] == '/')
 #ifdef WIN32
-      || (sep == 1 || sep == 2 && s[1] == ':')
+      || (sep == 1 || (sep == 2 && s[1] == ':'))
 #endif
       )
     return any_path(s, 0, sep+1);
@@ -593,7 +593,7 @@ system_path::dirname() const
   // dirname() of a direct child of the root is the root
   if (sep == 0 || (sep == 1 && s[1] == '/')
 #ifdef WIN32
-      || (sep == 1 || sep == 2 && s[1] == ':')
+      || (sep == 1 || (sep == 2 && s[1] == ':'))
 #endif
       )
     return system_path(s, 0, sep+1);
============================================================
--- INSTALL_windows_native.txt	720fd6b6c8f3696e572a3f2f5466b9518d1aadcf
+++ INSTALL_windows_native.txt	d67a72a79605d8e65abc2529e06481fad204724f
@@ -23,23 +23,23 @@
 mingw-get-inst| latest  | http://sourceforge.net/projects/mingw/files/
                         | -> Automated MinGW Installer
                         | -> mingw-get-inst
-                        | -> mingw-get-inst-20101030
-                        | -> mingw-get-inst-20101030.exe
-boost         | 1.45.1  | http://sourceforge.net/projects/boost/files/
-                        | -> boost -> 1.54.0 -> boost_1_45_0.tar.gz
+                        | -> mingw-get-inst-20110211
+                        | -> mingw-get-inst-20110211.exe
+boost         | 1.46.1  | http://sourceforge.net/projects/boost/files/
+                        | -> boost -> 1.46.1 -> boost_1_46_1.tar.gz
 Lua           | 5.1.4   | http://www.lua.org/
                         | -> download
                         | -> "...current release is >Lua 5.1.4<" under "Source"
                         | lua-5.1.4.tar.gz
-pcre          | 8.11    | http://www.pcre.org/
+pcre          | 8.12    | http://www.pcre.org/
                         | -> ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
-                        | -> pcre-8.11.tar.gz
+                        | -> pcre-8.12.tar.gz
 botan         | 1.8.11  | http://botan.randombit.net/download.html
                         | "Source: >tar/gzip<" under "Current Stable Release"
-sqlite3       | 3.7.4   | http://www.sqlite.org/download.html
-                        | -> sqlite-autoconf-3070400.tar.gz
-libidn        | 1.19    | ftp://ftp.gnu.org/gnu/libidn/
-                        | -> libidn-1.19.tar.gz
+sqlite3       | 3.7.5   | http://www.sqlite.org/download.html
+                        | -> sqlite-autoconf-3070500.tar.gz
+libidn        | 1.20    | ftp://ftp.gnu.org/gnu/libidn/
+                        | -> libidn-1.20.tar.gz
 Depends.exe   |         | http://www.dependencywalker.com/ ; also comes with Visual Studio
 
 In general, there are two versions of most tools on the
@@ -90,11 +90,11 @@
   $ cd /usr
   $ mkdir src
   $ cd src
-  $ tar -zxf ../boost_1_45_1.tar.gz
+  $ tar -zxf ../boost_1_46_1.tar.gz
   This may give errors about gid_t out of range, and then say
   "Exiting with failure status due to previous errors"; you can
   ignore this.
-  $ cd boost_1_45_1
+  $ cd boost_1_46_1
   $ cp -a boost /mingw/include
 
 04. Lua
@@ -106,8 +106,8 @@
 
 05. pcre
    $ cd /usr/src
-   $ tar -zxf ../pcre-8.11.tar.gz
-   $ cd pcre-8.11
+   $ tar -zxf ../pcre-8.12.tar.gz
+   $ cd pcre-8.12
    $ ./configure --prefix=/mingw
    $ make install
 
@@ -125,15 +125,15 @@
 
 07. sqlite3
    $ cd /usr/src
-   $ tar -zxf ../sqlite-autoconf-3070400.tar.gz
-   $ cd sqlite-autoconf-3070400
+   $ tar -zxf ../sqlite-autoconf-3070500.tar.gz
+   $ cd sqlite-autoconf-3070500
    $ ./configure --prefix=/mingw
    $ make install
 
 08. libidn
    $ cd /usr/src
-   $ tar -zxf ../libidn-1.19.tar.gz
-   $ cd libidn-1.19
+   $ tar -zxf ../libidn-1.20.tar.gz
+   $ cd libidn-1.20
    $ ./configure --prefix=/mingw
    $ make install
 
@@ -151,8 +151,8 @@
    monotone binary will take several extra seconds to start.
    $ cd /c/.../monotone
    $ autoreconf -i # not needed if you use the distributed tarball
-   $ CXXFLAGS="-static-libgcc -static-libstdc++ -O2 -Wall"; export CXXFLAGS
-   $ LDFLAGS="-static-libgcc -static-libstdc++"; export LDFLAGS
+   $ export CXXFLAGS="-static-libgcc -static-libstdc++ -g -O2 -Wall"
+   $ export LDFLAGS="-static-libgcc -static-libstdc++"
    $ ./configure
    $ make
 
============================================================
--- test/func/schema_migration_new_db/__driver__.lua	b1ed03f18f2480f322746b2e142f21ad005ae9cf
+++ test/func/schema_migration_new_db/__driver__.lua	3c9bd83bd39e98ced7d78a436143968717e11a0a
@@ -9,4 +9,5 @@ check(mtn("db", "migrate"), 0, false, tr
 
 check(get("expected-stderr.txt"))
 check(mtn("db", "migrate"), 0, false, true)
+canonicalize("stderr")
 check(samefile("stderr", "expected-stderr.txt"))

reply via email to

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