commit ab280d275348f5d82671ce893f2d2b7021b1d225
Author: Jan Palus <[email protected]>
Date:   Mon Jan 1 21:43:05 2018 +0100

    use -O1 to fix build
    
    libglx.c: In function 'glXGetClientString':
    libglx.c:1396:40: error: array subscript is outside array bounds 
[-Werror=array-bounds]
                 free(dpyInfo->clientStrings[index]);

 libglvnd.spec | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/libglvnd.spec b/libglvnd.spec
index 530dffe..1802dc5 100644
--- a/libglvnd.spec
+++ b/libglvnd.spec
@@ -164,6 +164,7 @@ Pliki programistyczne glvnd interfejsów OpenGL ES 1, 2, 3.
 %{__autoheader}
 %{__automake}
 %configure \
+       CFLAGS="%{rpmcflags} -O1" \
        --disable-silent-rules \
        %{!?with_static_libs:--disable-static}
 %{__make}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libglvnd.git/commitdiff/ab280d275348f5d82671ce893f2d2b7021b1d225

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to