Hello community,

here is the log from the commit of package oyranos for openSUSE:Factory
checked in at Mon Sep 26 10:10:03 CEST 2011.



--------
--- oyranos/oyranos.changes     2011-09-20 11:13:29.000000000 +0200
+++ /mounts/work_src_done/STABLE/oyranos/oyranos.changes        2011-09-23 
11:47:32.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Sep 23 12:00:01 UTC 2011 - Kai-Uwe Behrmann <[email protected]> - 0.3.2
+
+- add patch for CUPS device message crash as spotted by cartman
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  oyranos_CUPS_fix_wrong_object_passing.patch

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

Other differences:
------------------
++++++ oyranos.spec ++++++
--- /var/tmp/diff_new_pack.XDMZ3k/_old  2011-09-26 10:09:56.000000000 +0200
+++ /var/tmp/diff_new_pack.XDMZ3k/_new  2011-09-26 10:09:56.000000000 +0200
@@ -38,6 +38,7 @@
 BuildRoot: %{_tmppath}/%{name}-root
 Prefix:    %{_prefix}
 
+Patch0:    oyranos_CUPS_fix_wrong_object_passing.patch
 Source1:   oyranos-rpmlintrc
 BuildRequires:  desktop-file-utils color-filesystem lcms2
 
@@ -234,6 +235,7 @@
 
 %prep
 %setup -q
+%patch0 -p1 -b .CUPS_fix_wrong_object_passing
 
 %build
 export CFLAGS="%{optflags}"

++++++ oyranos_CUPS_fix_wrong_object_passing.patch ++++++
diff --git a/modules/devices/oyranos_cmm_CUPS.c 
b/modules/devices/oyranos_cmm_CUPS.c
index e475d5f..e76c1a3 100644
--- a/modules/devices/oyranos_cmm_CUPS.c
+++ b/modules/devices/oyranos_cmm_CUPS.c
@@ -1148,7 +1148,7 @@ int CUPSgetProfiles                  ( const char        
* device_name,
             size_t size = 0;
             int tempfd = 0;
 
-            message(oyMSG_WARN, (oyStruct_s*)options, _DBG_FORMAT_ "\n "
+            message(oyMSG_WARN, (oyStruct_s*)user_options, _DBG_FORMAT_ "\n "
                 "Could not obtain profile information for %s. Downloading new 
profile: '%s'.",
                 _DBG_ARGS_, device_name?device_name:"???", profile_name);
            

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



Remember to have fun...

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

Reply via email to