Hello community,

here is the log from the commit of package ragel for openSUSE:Factory checked 
in at 2016-07-14 09:43:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ragel (Old)
 and      /work/SRC/openSUSE:Factory/.ragel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ragel"

Changes:
--------
--- /work/SRC/openSUSE:Factory/ragel/ragel.changes      2015-03-16 
09:38:50.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.ragel.new/ragel.changes 2016-07-14 
09:43:30.000000000 +0200
@@ -1,0 +2,14 @@
+Thu Jun 23 07:45:30 UTC 2016 - [email protected]
+
+- Update to new release 7.0.0.6
+* A condition implementation overhaul. Rather than augment the
+  input char with the result of condition evaluation, the input
+  char transition is found, then the condition is evaluated and
+  the transition further refined. This is conditions done right.
+* An intermediate codegen language. It is now possible to add
+  languages without understanding ragel internals. All that is
+  needed is a translation from a simple intermediate psudo-code.
+* NFA features for those hard-to-parse constructs and giant unions.
+- Add typesizes.diff
+
+-------------------------------------------------------------------

Old:
----
  ragel-6.9.tar.gz
  ragel-6.9.tar.gz.asc

New:
----
  ragel-7.0.0.6.tar.gz
  typesizes.diff

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ragel.spec ++++++
--- /var/tmp/diff_new_pack.63Y0zP/_old  2016-07-14 09:43:31.000000000 +0200
+++ /var/tmp/diff_new_pack.63Y0zP/_new  2016-07-14 09:43:31.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ragel
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           ragel   
-Version:        6.9
+Version:        7.0.0.6
 Release:        0
 Summary:        Finite state machine compiler
 License:        GPL-2.0+
@@ -26,9 +26,12 @@
 
 #Git-Clone:    git://git.complang.org/ragel
 Source:         http://www.colm.net/files/ragel/%name-%version.tar.gz
-Source1:        http://www.colm.net/files/ragel/%name-%version.tar.gz.asc
 Source2:        %name.keyring
+Patch1:         typesizes.diff
+BuildRequires:  automake
+BuildRequires:  colm
 BuildRequires:  gcc-c++
+BuildRequires:  kelbt
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -41,26 +44,29 @@
 
 %prep
 %setup -q
+%patch -P 1 -p1
 
 %build
+autoreconf -fiv
+export CXXFLAGS="%optflags -Wno-narrowing"
 %configure --docdir="%_docdir/%name"
-make %{?_smp_mflags};
+make %{?_smp_mflags}
 
 %check
-make check;
+make check
 
 %install
+%make_install
 b="%buildroot"
-make install DESTDIR="$b"
 c="$b/%_datadir/vim/site/syntax"
 mkdir -p "$c"
 install -pm0644 ragel*.vim "$c/"
 
 %files
 %defattr(-,root,root)
-%doc COPYING doc/ragel-guide.pdf
+%doc COPYING
 %_bindir/ragel
 %_mandir/man1/ragel.1*
-%_datadir/vim
+%_datadir/vim/
 
 %changelog

++++++ ragel-6.9.tar.gz -> ragel-7.0.0.6.tar.gz ++++++
++++ 175200 lines of diff (skipped)


++++++ typesizes.diff ++++++
From: Jan Engelhardt <[email protected]>
Date: 2016-06-23 13:45:22.132979834 +0200

On i386-linux, sizeof(int) == sizeof(long) and

 codegen.cc: In member function 'void TableArray::stringGenerate(long long 
int)':
 codegen.cc:194:3: error: duplicate case value
    case sizeof( long ):
    ^~~~
 codegen.cc:189:3: error: previously used here
    case sizeof( int ):
    ^~~~

---
 configure.ac   |    3 +++
 src/codegen.cc |    2 ++
 2 files changed, 5 insertions(+)

Index: ragel-7.0.0.6/configure.ac
===================================================================
--- ragel-7.0.0.6.orig/configure.ac
+++ ragel-7.0.0.6/configure.ac
@@ -59,6 +59,9 @@ AC_LANG_CPLUSPLUS
 dnl Check for definition of MAKE.
 AC_PROG_MAKE_SET
 
+AC_CHECK_SIZEOF([int])
+AC_CHECK_SIZEOF([long])
+
 dnl
 dnl Check for ragel.
 dnl
Index: ragel-7.0.0.6/src/codegen.cc
===================================================================
--- ragel-7.0.0.6.orig/src/codegen.cc
+++ ragel-7.0.0.6/src/codegen.cc
@@ -191,11 +191,13 @@ void TableArray::stringGenerate( long lo
                        p = (unsigned char *)&i;
                        n = sizeof(int);
                        break;
+#if SIZEOF_INT != SIZEOF_LONG
                case sizeof( long ):
                        l = value;
                        p = (unsigned char *)&l;
                        n = sizeof(long);
                        break;
+#endif
        }
 
        std::ios_base::fmtflags prevFlags = out.flags( std::ios::hex );

Reply via email to