Hello community,

here is the log from the commit of package lcms2 for openSUSE:Factory checked 
in at 2011-11-25 11:12:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lcms2 (Old)
 and      /work/SRC/openSUSE:Factory/.lcms2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lcms2", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/lcms2/lcms2.changes      2011-09-23 
02:07:39.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.lcms2.new/lcms2.changes 2011-11-25 
10:12:33.000000000 +0100
@@ -1,0 +2,6 @@
+Thu Nov 24 02:12:00 UTC 2011 - crrodrig...@opensuse.org
+
+- Open all fds with O_CLOEXEC
+- Use gcc visibility, symbol table shrinks around 50% ...
+
+-------------------------------------------------------------------

Old:
----
  lcms2-2.2.tar.bz2

New:
----
  lcms2-2.2.tar.gz
  lcms2-ocloexec.patch
  lcms2-visibility.patch

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

Other differences:
------------------
++++++ lcms2.spec ++++++
--- /var/tmp/diff_new_pack.E8fpuI/_old  2011-11-25 10:12:34.000000000 +0100
+++ /var/tmp/diff_new_pack.E8fpuI/_new  2011-11-25 10:12:34.000000000 +0100
@@ -39,9 +39,11 @@
 %endif
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Source0:        %{name}-%{version}.tar.bz2
+Source0:        
http://sourceforge.net/projects/lcms/files/lcms/%{version}/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
 Patch:          lcms-endian.patch
+Patch1:         lcms2-ocloexec.patch
+Patch2:         lcms2-visibility.patch
 
 %description
 Littlecms is a small speed optimized color management engine.
@@ -84,11 +86,13 @@
 %prep
 %setup -q
 %patch
+%patch1
+%patch2
 chmod a-x doc/* COPYING AUTHORS
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
-export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+#export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
+#export CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
 
 %configure --disable-static
 

++++++ lcms2-ocloexec.patch ++++++
--- src/cmscgats.c.orig
+++ src/cmscgats.c
@@ -835,7 +835,7 @@ void InSymbol(cmsIT8* it8)
                     return;
                 }
 
-                FileNest->Stream = fopen(FileNest->FileName, "rt");
+                FileNest->Stream = fopen(FileNest->FileName, "rte");
                 if (FileNest->Stream == NULL) {
 
                         SynError(it8, "File %s not found", FileNest->FileName);
@@ -1669,7 +1669,7 @@ cmsBool CMSEXPORT cmsIT8SaveToFile(cmsHA
 
     memset(&sd, 0, sizeof(sd));
 
-    sd.stream = fopen(cFileName, "wt");
+    sd.stream = fopen(cFileName, "wte");
     if (!sd.stream) return FALSE;
     
     WriteStr(&sd, it8->SheetType);
@@ -2142,7 +2142,7 @@ cmsBool IsMyFile(const char* FileName)
    cmsUInt32Number Size;
    cmsUInt8Number Ptr[133];
 
-   fp = fopen(FileName, "rt");
+   fp = fopen(FileName, "rte");
    if (!fp) {
        cmsSignalError(0, cmsERROR_FILE, "File '%s' not found", FileName);
        return FALSE;
@@ -2220,7 +2220,7 @@ cmsHANDLE  CMSEXPORT cmsIT8LoadFromFile(
      if (!hIT8) return NULL;
 
 
-     it8 ->FileStack[0]->Stream = fopen(cFileName, "rt");
+     it8 ->FileStack[0]->Stream = fopen(cFileName, "rte");
 
      if (!it8 ->FileStack[0]->Stream) {         
          cmsIT8Free(hIT8);
++++++ lcms2-visibility.patch ++++++
--- src/lcms2_internal.h.orig
+++ src/lcms2_internal.h
@@ -37,6 +37,7 @@
 // assert macro is part of C99 as per 7.2
 #include <assert.h>
 
+#pragma GCC visibility push(hidden)
 // Some needed constants
 #ifndef M_PI
 #       define M_PI        3.14159265358979323846
@@ -625,4 +626,5 @@ cmsBool   _cmsBuildRGB2XYZtransferMatrix
 
 
 #define _lcms_internal_H
+#pragma GCC visibility pop
 #endif
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to