sumo: update to v0.26.0
authorÁlvaro Fernández Rojas <redacted>
Sun, 8 May 2016 19:02:44 +0000 (21:02 +0200)
committerÁlvaro Fernández Rojas <redacted>
Sun, 8 May 2016 19:02:44 +0000 (21:02 +0200)
Signed-off-by: Álvaro Fernández Rojas <redacted>
utils/sumo/Makefile
utils/sumo/patches/100-configure_fix.patch

index 0d98ea69cc77a13ff80fcdfed3cb8a53c019d5e4..27b7e31bcddfb3852d71626148713583ae4d183f 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2015 OpenWrt.org
+# Copyright (C) 2015-2016 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sumo
-PKG_VERSION:=0.25.0
+PKG_VERSION:=0.26.0
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-src-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/sumo
-PKG_MD5SUM:=6bfc4e1ff37fe4ba5d481ddc40323529
+PKG_MD5SUM:=a3a9c5c5260bad87d1736cc7cda1cbca
 PKG_MAINTAINER:=Álvaro Fernández Rojas <noltari@gmail.com>
 
 PKG_LICENSE:=GPL-3.0
@@ -31,6 +31,8 @@ CONFIGURE_ARGS += \
        --disable-dependency-tracking \
        --disable-silent-rules
 
+TARGET_CXXFLAGS+=-fpermissive
+
 define Package/sumo
   SECTION:=utils
   CATEGORY:=Utilities
index 6fff18ca707fe0a3f1548033fcae2b6685047e81..12d27b89cee2f0786e1fa38067b64795e6036017 100644 (file)
@@ -1,14 +1,14 @@
 --- a/configure.ac
 +++ b/configure.ac
 @@ -13,11 +13,6 @@ AC_LANG([C++])
- dnl the debug check has to be made before the program checks
- dnl because it modifies CXXFLAGS
--if test x$CXX = xclang++; then
--    CXXFLAGS="-msse2 $CXXFLAGS"
--else
--    CXXFLAGS="-msse2 -mfpmath=sse $CXXFLAGS"
--fi
- AC_ARG_ENABLE([debug], [AS_HELP_STRING([--enable-debug],[enable sumo debugging code [default=no].])])
- if test x$enable_debug = xyes; then
-     AC_DEFINE(_DEBUG, 1, [Define to 1 in order to enable sumo debugging code.])
+ case "$host" in
+    x86-*-linux* | ia64-*-linux* | i586-*-linux* | i686-*-linux* | x86_64-*-linux*)
+ dnl Make sure we are on architecture that supports SIMD
+-   if test x$CXX = xclang++; then
+-       CXXFLAGS="-msse2 $CXXFLAGS"
+-   else
+-       CXXFLAGS="-msse2 -mfpmath=sse $CXXFLAGS"
+-   fi
+    ;;
+    *-cygwin*)
+    AC_DEFINE([HAVE_CYGWIN], [1], [Define if compiling under cygwin])
git clone https://git.99rst.org/PROJECT