Репозиторий Sisyphus
Последнее обновление: 22 января 2022 | Пакетов: 17486 | Посещений: 22817453
en ru br
Репозитории ALT

Группа :: Видео
Пакет: aqsis

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

Патч: aqsis-gcc11.patch
Скачать


diff --git a/thirdparty/partio/src/src/lib/io/ZIP.cpp b/thirdparty/partio/src/src/lib/io/ZIP.cpp
index d06be09..37dde67 100644
--- a/thirdparty/partio/src/src/lib/io/ZIP.cpp
+++ b/thirdparty/partio/src/src/lib/io/ZIP.cpp
@@ -355,7 +355,7 @@ public:
         process(true);
         deflateEnd(&strm);
         if(header){
-            std::ios::streampos final_position=ostream.tellp();
+            std::streampos final_position=ostream.tellp();
             header->uncompressed_size=uncompressed_size;
             header->crc=crc;
             ostream.seekp(header->header_offset);
@@ -450,9 +450,9 @@ ZipFileWriter::
 ~ZipFileWriter()
 {
     // Write all file headers
-    std::ios::streampos final_position=ostream.tellp();
+    std::streampos final_position=ostream.tellp();
     for(unsigned int i=0;i<files.size();i++){files[i]->Write(ostream,true);delete files[i];}
-    std::ios::streampos central_end=ostream.tellp();
+    std::streampos central_end=ostream.tellp();
     // Write end of central
     Write_Primitive(ostream,(unsigned int)0x06054b50); // end of central
     Write_Primitive(ostream,(unsigned short)0); // this disk number
@@ -501,10 +501,10 @@ Find_And_Read_Central_Header()
     // Find the header
     // NOTE: this assumes the zip file header is the last thing written to file...
     istream.seekg(0,std::ios_base::end);
-    std::ios::streampos end_position=istream.tellg();
+    std::streampos end_position=istream.tellg();
     unsigned int max_comment_size=0xffff; // max size of header
     unsigned int read_size_before_comment=22;
-    std::ios::streamoff read_start=max_comment_size+read_size_before_comment;
+    std::streamoff read_start=max_comment_size+read_size_before_comment;
     if(read_start>end_position) read_start=end_position;
     istream.seekg(end_position-read_start);
     char *buf=new char[read_start];
 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin