Hello community,

here is the log from the commit of package virtuoso for openSUSE:Factory
checked in at Fri Sep 9 12:28:00 CEST 2011.



--------
--- virtuoso/virtuoso.changes   2011-08-07 14:29:17.000000000 +0200
+++ /mounts/work_src_done/STABLE/virtuoso/virtuoso.changes      2011-09-08 
18:13:49.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Sep  8 16:04:42 UTC 2011 - [email protected]
+
+- Add virtuoso-opensource-utf8.patch to fix UTF-8 related problems,
+  bko #271664
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  virtuoso-opensource-utf8.patch

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

Other differences:
------------------
++++++ virtuoso.spec ++++++
--- /var/tmp/diff_new_pack.Ef3VEk/_old  2011-09-09 12:27:47.000000000 +0200
+++ /var/tmp/diff_new_pack.Ef3VEk/_new  2011-09-09 12:27:47.000000000 +0200
@@ -19,7 +19,7 @@
 
 Name:           virtuoso
 Version:        6.1.3
-Release:        5
+Release:        7
 License:        GPLv2
 Summary:        Relational database server with RDF
 Url:            http://virtuoso.openlinksw.com/
@@ -34,6 +34,8 @@
 Patch2:         virtuoso-opensource-6.1.0-external_iodbc.patch
 # PATCH-FIX-UPSTREAM isql-buffer-overflow.patch [email protected] -- Fix buffer 
overflow in isql.c
 Patch3:         isql-buffer-overflow.patch
+# PATCH-FIX-UPSTREAM virtuoso-opensource-utf8.patch [email protected] -- bko 
#271664
+Patch4:         virtuoso-opensource-utf8.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  bison
 BuildRequires:  fastjar
@@ -97,6 +99,7 @@
 %patch1
 %patch2 -p1
 %patch3
+%patch4
 
 %build
 rm -rf libsrc/util/pcrelib

++++++ virtuoso-opensource-utf8.patch ++++++
Index: libsrc/Wi/xqf.c
===================================================================
RCS file: /opldev/source/CVS-MASTER/virtuoso-opensource/libsrc/Wi/xqf.c,v
retrieving revision 1.21.2.9
retrieving revision 1.21.2.12
diff -u -r1.21.2.9 -r1.21.2.12
--- libsrc/Wi/xqf.c     3 Mar 2011 11:56:45 -0000       1.21.2.9
+++ libsrc/Wi/xqf.c     26 Aug 2011 19:34:56 -0000      1.21.2.12
@@ -3520,6 +3552,12 @@
   desc = xqf_str_parser_descs + desc_idx;
   if (DV_DB_NULL == arg_dtp)
     return NEW_DB_NULL;
+  /* if we have wide and we want typed string we do utf8, cast do to default 
charset so we do not do it */
+  if (DV_WIDE == arg_dtp && desc->p_dest_dtp == DV_STRING)
+    {
+      res = box_wide_as_utf8_char (arg, box_length (arg) / sizeof (wchar_t) - 
1, DV_STRING);
+      goto res_ready;
+    }
   if (DV_STRING != arg_dtp)
     {
       caddr_t err = NULL;

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



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to