Hello community,

here is the log from the commit of package orc for openSUSE:Factory checked in 
at 2017-11-23 09:33:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/orc (Old)
 and      /work/SRC/openSUSE:Factory/.orc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "orc"

Thu Nov 23 09:33:54 2017 rev:38 rq:544013 version:0.4.28

Changes:
--------
--- /work/SRC/openSUSE:Factory/orc/orc.changes  2017-09-13 21:42:04.231124684 
+0200
+++ /work/SRC/openSUSE:Factory/.orc.new/orc.changes     2017-11-23 
09:34:01.135271441 +0100
@@ -1,0 +2,8 @@
+Mon Nov 20 18:15:15 UTC 2017 - [email protected]
+
+- Update to version 0.4.28:
+  + Numerous undefined behaviour fixes.
+  + Ability to disable tests.
+  + Fix meson dist behaviour.
+
+-------------------------------------------------------------------

Old:
----
  orc-0.4.27.tar.gz

New:
----
  orc-0.4.28.tar.gz

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

Other differences:
------------------
++++++ orc.spec ++++++
--- /var/tmp/diff_new_pack.5uRWYL/_old  2017-11-23 09:34:02.483222260 +0100
+++ /var/tmp/diff_new_pack.5uRWYL/_new  2017-11-23 09:34:02.487222113 +0100
@@ -18,7 +18,7 @@
 
 
 Name:           orc
-Version:        0.4.27
+Version:        0.4.28
 Release:        0
 Summary:        The Oil Runtime Compiler
 License:        BSD-3-Clause

++++++ orc-0.4.27.tar.gz -> orc-0.4.28.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orc-orc-0.4.27/Makefile.am 
new/orc-orc-0.4.28/Makefile.am
--- old/orc-orc-0.4.27/Makefile.am      2017-07-17 17:16:35.000000000 +0200
+++ new/orc-orc-0.4.28/Makefile.am      2017-11-20 16:15:58.000000000 +0100
@@ -1,9 +1,22 @@
 
 AUTOMAKE_OPTIONS = foreign
 
-SUBDIRS = orc orc-test tools examples doc testsuite
+if BUILD_TESTS
+ORCTEST_DIR = orc-test
+TESTSUITE_DIR= testsuite
+else
+ORCTEST_DIR =
+TESTSUITE_DIR =
+endif
 
-EXTRA_DIST = COPYING RELEASE autogen.sh gtk-doc.make orc.m4
+SUBDIRS = orc $(ORCTEST_DIR) tools $(TESTSUITE_DIR) examples doc
+
+DIST_SUBDIRS = orc orc-test tools examples testsuite doc
+
+
+EXTRA_DIST = COPYING RELEASE autogen.sh gtk-doc.make orc.m4 \
+       $(shell find "$(top_srcdir)" -type f -name meson.build ! -path 
"$(top_srcdir)/orc-0.4.*" ) \
+       meson_options.txt orc/orc.map
 
 DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orc-orc-0.4.27/RELEASE new/orc-orc-0.4.28/RELEASE
--- old/orc-orc-0.4.27/RELEASE  2017-07-17 17:16:35.000000000 +0200
+++ new/orc-orc-0.4.28/RELEASE  2017-11-20 16:15:58.000000000 +0100
@@ -1,3 +1,10 @@
+0.4.28
+======
+
+  - Numerous undefined behaviour fixes (Edward Hervey)
+  - Ability to disable tests (Edward Hervey)
+  - Fix meson dist behaviour (Tim-Philipp Müller)
+
 0.4.27
 ======
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orc-orc-0.4.27/configure.ac 
new/orc-orc-0.4.28/configure.ac
--- old/orc-orc-0.4.27/configure.ac     2017-07-17 17:16:35.000000000 +0200
+++ new/orc-orc-0.4.28/configure.ac     2017-11-20 16:15:58.000000000 +0100
@@ -1,5 +1,5 @@
 AC_PREREQ([2.68])
-AC_INIT([orc], [0.4.27], 
[http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer&component=orc],[orc])
+AC_INIT([orc], [0.4.28], 
[http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer&component=orc],[orc])
 dnl don't forget to update libversion
 
 AS_NANO(ORC_GIT=no,ORC_GIT=yes)
@@ -22,7 +22,7 @@
 dnl - interfaces added/removed/changed -> increment CURRENT, REVISION = 0
 dnl - interfaces added -> increment AGE
 dnl - interfaces removed -> AGE = 0
-ORC_LIBVERSION="27:0:27"
+ORC_LIBVERSION="28:0:28"
 AC_SUBST(ORC_LIBVERSION)
 LT_PREREQ([2.2.6])
 LT_INIT([dlopen win32-dll disable-static])
@@ -204,6 +204,19 @@
 AM_CONDITIONAL(ENABLE_BACKEND_C64X, test "x$ENABLE_BACKEND_C64X" = "xyes")
 AM_CONDITIONAL(ENABLE_BACKEND_MIPS, test "x$ENABLE_BACKEND_MIPS" = "xyes")
 
+dnl building of tests
+AC_ARG_ENABLE(tests,
+  AS_HELP_STRING([--disable-tests],[disable building test apps]),
+  [
+    case "${enableval}" in
+      yes) BUILD_TESTS=yes ;;
+      no)  BUILD_TESTS=no ;;
+      *)   AC_MSG_ERROR(bad value ${enableval} for --disable-tests) ;;
+    esac
+  ],
+[BUILD_TESTS=yes]) dnl Default value
+AM_CONDITIONAL(BUILD_TESTS,         test "x$BUILD_TESTS" = "xyes")
+
 dnl Check for -Bsymbolic-functions linker flag used to avoid
 dnl intra-library PLT jumps, if available.
 AC_ARG_ENABLE(Bsymbolic,
@@ -255,3 +268,22 @@
 ])
 AC_OUTPUT
 
+echo "
+
+Configuration
+       Version                    : ${VERSION}
+       Source code location       : ${srcdir}
+       Prefix                     : ${prefix}
+       Compiler                   : ${CC}
+
+       API Documentation          : ${enable_gtk_doc}
+
+       Enable SSE backend         : ${ENABLE_BACKEND_SSE}
+       Enable MMX backend         : ${ENABLE_BACKEND_MMX}
+       Enable ALTIVEC backend     : ${ENABLE_BACKEND_ALTIVEC}
+       Enable NEON backend        : ${ENABLE_BACKEND_NEON}
+       Enable C64X backend        : ${ENABLE_BACKEND_C64X}
+       Enable MIPS backend        : ${ENABLE_BACKEND_MIPS}
+
+       Building test apps         : ${BUILD_TESTS}
+"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orc-orc-0.4.27/meson.build 
new/orc-orc-0.4.28/meson.build
--- old/orc-orc-0.4.27/meson.build      2017-07-17 17:16:35.000000000 +0200
+++ new/orc-orc-0.4.28/meson.build      2017-11-20 16:15:58.000000000 +0100
@@ -1,4 +1,4 @@
-project ('orc', 'c', version : '0.4.27',
+project ('orc', 'c', version : '0.4.28',
                      meson_version : '>= 0.32.0',
                      default_options : ['buildtype=debugoptimized',
                                         'warning_level=1',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orc-orc-0.4.27/orc/orccpu-x86.c 
new/orc-orc-0.4.28/orc/orccpu-x86.c
--- old/orc-orc-0.4.27/orc/orccpu-x86.c 2017-07-17 17:16:35.000000000 +0200
+++ new/orc-orc-0.4.28/orc/orccpu-x86.c 2017-11-20 16:15:58.000000000 +0100
@@ -520,10 +520,10 @@
     if (edx & (1<<22)) {
       orc_x86_mmx_flags |= ORC_TARGET_MMX_MMXEXT;
     }
-    if (edx & (1<<31)) {
+    if (edx & (1U<<31)) {
       orc_x86_mmx_flags |= ORC_TARGET_MMX_3DNOW;
     }
-    if (edx & (1<<30)) {
+    if (edx & (1U<<30)) {
       orc_x86_mmx_flags |= ORC_TARGET_MMX_3DNOWEXT;
     }
   }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orc-orc-0.4.27/orc/orcemulateopcodes.c 
new/orc-orc-0.4.28/orc/orcemulateopcodes.c
--- old/orc-orc-0.4.27/orc/orcemulateopcodes.c  2017-07-17 17:16:35.000000000 
+0200
+++ new/orc-orc-0.4.28/orc/orcemulateopcodes.c  2017-11-20 16:15:58.000000000 
+0100
@@ -15,11 +15,11 @@
 #define ORC_MAX(a,b) ((a)>(b) ? (a) : (b))
 #define ORC_SB_MAX 127
 #define ORC_SB_MIN (-1-ORC_SB_MAX)
-#define ORC_UB_MAX 255
+#define ORC_UB_MAX (orc_uint8)255
 #define ORC_UB_MIN 0
 #define ORC_SW_MAX 32767
 #define ORC_SW_MIN (-1-ORC_SW_MAX)
-#define ORC_UW_MAX 65535
+#define ORC_UW_MAX (orc_uint16)65535
 #define ORC_UW_MIN 0
 #define ORC_SL_MAX 2147483647
 #define ORC_SL_MIN (-1-ORC_SL_MAX)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orc-orc-0.4.27/orc/orcprogram-c.c 
new/orc-orc-0.4.28/orc/orcprogram-c.c
--- old/orc-orc-0.4.27/orc/orcprogram-c.c       2017-07-17 17:16:35.000000000 
+0200
+++ new/orc-orc-0.4.28/orc/orcprogram-c.c       2017-11-20 16:15:58.000000000 
+0100
@@ -110,11 +110,11 @@
     "#define ORC_MAX(a,b) ((a)>(b) ? (a) : (b))\n"
     "#define ORC_SB_MAX 127\n"
     "#define ORC_SB_MIN (-1-ORC_SB_MAX)\n"
-    "#define ORC_UB_MAX 255\n"
+    "#define ORC_UB_MAX (orc_uint8) 255\n"
     "#define ORC_UB_MIN 0\n"
     "#define ORC_SW_MAX 32767\n"
     "#define ORC_SW_MIN (-1-ORC_SW_MAX)\n"
-    "#define ORC_UW_MAX 65535\n"
+    "#define ORC_UW_MAX (orc_uint16)65535\n"
     "#define ORC_UW_MIN 0\n"
     "#define ORC_SL_MAX 2147483647\n"
     "#define ORC_SL_MIN (-1-ORC_SL_MAX)\n"
@@ -823,7 +823,7 @@
     }
   } else if (p->vars[insn->src_args[0]].vartype == ORC_VAR_TYPE_CONST) {
     if (p->vars[insn->src_args[0]].size <= 4) {
-      ORC_ASM_CODE(p,"    %s = (int)0x%08x; /* %d or %gf */\n", dest,
+      ORC_ASM_CODE(p,"    %s = 0x%08x; /* %d or %gf */\n", dest,
           (unsigned int)p->vars[insn->src_args[0]].value.i,
           (int)p->vars[insn->src_args[0]].value.i,
           p->vars[insn->src_args[0]].value.f);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orc-orc-0.4.27/orc/orcutils.h 
new/orc-orc-0.4.28/orc/orcutils.h
--- old/orc-orc-0.4.27/orc/orcutils.h   2017-07-17 17:16:35.000000000 +0200
+++ new/orc-orc-0.4.28/orc/orcutils.h   2017-11-20 16:15:58.000000000 +0100
@@ -53,6 +53,7 @@
 
 } OrcCompileResult;
 
+#include <stddef.h>
 
 #ifndef _ORC_INTEGER_TYPEDEFS_
 #define _ORC_INTEGER_TYPEDEFS_
@@ -122,8 +123,14 @@
 
 #define ORC_PTR_TO_INT(x) ((int)(orc_intptr)(x))
 #define ORC_PTR_OFFSET(ptr,offset) ((void *)(((unsigned char *)(ptr)) + 
(offset)))
-#define ORC_STRUCT_OFFSET(struct_type, member)    \
-      (ORC_PTR_TO_INT((unsigned char *) &((struct_type*) 0)->member))
+
+#if (defined(__GNUC__)  && __GNUC__ >= 4) || defined (_MSC_VER)
+#define ORC_STRUCT_OFFSET(struct_type, member) \
+      ((int) offsetof (struct_type, member))
+#else
+#define ORC_STRUCT_OFFSET(struct_type, member) \
+      ((int) ((unsigned char **) &((struct_type*) 0)->member))
+#endif
 
 #ifdef ORC_ENABLE_UNSTABLE_API
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orc-orc-0.4.27/testsuite/exec_parse.c 
new/orc-orc-0.4.28/testsuite/exec_parse.c
--- old/orc-orc-0.4.27/testsuite/exec_parse.c   2017-07-17 17:16:35.000000000 
+0200
+++ new/orc-orc-0.4.28/testsuite/exec_parse.c   2017-11-20 16:15:58.000000000 
+0100
@@ -46,8 +46,10 @@
   for(i=0;i<n;i++){
     if (verbose) printf("%s\n", programs[i]->name);
     orc_test_compare_output_full (programs[i], 0);
+    orc_program_free (programs[i]);
   }
 
+  free (code);
   if (error) return 1;
   return 0;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orc-orc-0.4.27/testsuite/test_parse.c 
new/orc-orc-0.4.28/testsuite/test_parse.c
--- old/orc-orc-0.4.27/testsuite/test_parse.c   2017-07-17 17:16:35.000000000 
+0200
+++ new/orc-orc-0.4.28/testsuite/test_parse.c   2017-11-20 16:15:58.000000000 
+0100
@@ -65,5 +65,7 @@
   if (error || n == 0)
     return 1;
 
+  free (programs);
+
   return 0;
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/orc-orc-0.4.27/tools/Makefile.am 
new/orc-orc-0.4.28/tools/Makefile.am
--- old/orc-orc-0.4.27/tools/Makefile.am        2017-07-17 17:16:35.000000000 
+0200
+++ new/orc-orc-0.4.28/tools/Makefile.am        2017-11-20 16:15:58.000000000 
+0100
@@ -1,5 +1,12 @@
 
-bin_PROGRAMS = orcc orc-bugreport
+SOURCES = orcc.c orc-bugreport.c
+
+bin_PROGRAMS = orcc
+
+if BUILD_TESTS
+# orc-bugreport depends on liborc_test
+bin_PROGRAMS += orc-bugreport
+endif
 
 AM_CFLAGS = $(ORC_CFLAGS)
 LDADD = $(ORC_LIBS)


Reply via email to