Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37857834
en ru br
ALT Linux repos
S:0.32-alt2

Group :: System/Libraries
RPM: libowfat

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: libowfat-0.32-debian-fix-gcc10.patch
Download


Description: Fix FTBFS with gcc-10
---
--- libowfat-0.30.orig/buffer/buffer_0small.c
+++ libowfat-0.30/buffer/buffer_0small.c
@@ -6,7 +6,7 @@ static ssize_t b0read(int fd,char* buf,
   return read(fd,buf,len);
 }
 
-char buffer_0_space[128];
-static buffer it = BUFFER_INIT_READ(b0read,0,buffer_0_space,sizeof buffer_0_space);
+char buffer_0small_space[128];
+static buffer it = BUFFER_INIT_READ(b0read,0,buffer_0small_space,sizeof buffer_0small_space);
 buffer *buffer_0small = ⁢
 
--- libowfat-0.30.orig/buffer/buffer_1small.c
+++ libowfat-0.30/buffer/buffer_1small.c
@@ -1,7 +1,7 @@
 #include <unistd.h>
 #include "buffer.h"
 
-char buffer_1_space[128];
-static buffer it = BUFFER_INIT(write,1,buffer_1_space,sizeof buffer_1_space);
+char buffer_1small_space[128];
+static buffer it = BUFFER_INIT(write,1,buffer_1small_space,sizeof buffer_1small_space);
 buffer *buffer_1small = &it;
 
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin