Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37570638
en ru br
Репозитории ALT
S:3.27.6-alt1
5.1: 2.6.4-alt2
4.1: 2.6.3-alt1.M41.1
3.0: 2.0.5-alt1
www.altlinux.org/Changes

Группа :: Development/Tools
Пакет: cmake

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Патч: cmake-2.6.4-alt-gcc-workarounds.patch
Скачать


diff --git a/cmake/Source/kwsys/SystemInformation.cxx b/cmake/Source/kwsys/SystemInformation.cxx
index d443e4c..b59f941 100755
--- a/cmake/Source/kwsys/SystemInformation.cxx
+++ b/cmake/Source/kwsys/SystemInformation.cxx
@@ -1896,9 +1896,14 @@ bool SystemInformationImplementation::RetrieveClassicalCPUIdentity()
             case 5: sprintf (this->ChipID.ProcessorName,"Pentium II (0.25 micron)"); break;
             case 6: sprintf (this->ChipID.ProcessorName,"Pentium II With On-Die L2 Cache"); break;
             case 7: sprintf (this->ChipID.ProcessorName,"Pentium III (0.25 micron)"); break;
+/*
             case 8: sprintf (this->ChipID.ProcessorName,"Pentium III (0.18 micron) With 256 KB On-Die L2 Cache "); break;
             case 0xa: sprintf (this->ChipID.ProcessorName,"Pentium III (0.18 micron) With 1 Or 2 MB On-Die L2 Cache "); break;
             case 0xb: sprintf (this->ChipID.ProcessorName,"Pentium III (0.13 micron) With 256 Or 512 KB On-Die L2 Cache "); break;
+*/
+            case 8: sprintf (this->ChipID.ProcessorName,"Pentium III (0.18 micron) With 256 KB L2 Cache "); break;
+            case 0xa: sprintf (this->ChipID.ProcessorName,"Pentium III (0.18 micron), 1/2 MB L2 Cache "); break;
+            case 0xb: sprintf (this->ChipID.ProcessorName,"Pentium III (0.13 micron), 256/512 KB L2 Cache "); break;
             default: sprintf (this->ChipID.ProcessorName,"Unknown P6 family"); return false;
             }
           break;
diff --git a/cmake/Utilities/cmtar/encode.c b/cmake/Utilities/cmtar/encode.c
index 40b5707..e526868 100644
--- a/cmake/Utilities/cmtar/encode.c
+++ b/cmake/Utilities/cmtar/encode.c
@@ -32,7 +32,7 @@ th_finish(TAR *t)
   int i, sum = 0;
 
   if (t->options & TAR_GNU)
-    strncpy(t->th_buf.magic, "ustar  ", 8);
+    memcpy(t->th_buf.magic, "ustar  ", 8);
   else
   {
     strncpy(t->th_buf.version, TVERSION, TVERSLEN);
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin