[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][xorg-team/lib/mesa][debian-unstable] path_max.diff: Updated.



Title: GitLab

Timo Aaltonen pushed to branch debian-unstable at X Strike Force / lib / mesa

Commits:

2 changed files:

Changes:

  • debian/changelog
    1
    +mesa (20.3.2-2) UNRELEASED; urgency=medium
    
    2
    +
    
    3
    +  * path_max.diff: Updated.
    
    4
    +
    
    5
    + -- Timo Aaltonen <tjaalton@debian.org>  Mon, 04 Jan 2021 09:07:25 +0200
    
    6
    +
    
    1 7
     mesa (20.3.2-1) unstable; urgency=medium
    
    2 8
     
    
    3 9
       * New upstream release.
    

  • debian/patches/path_max.diff
    1
    ---- a/src/compiler/glsl/tests/cache_test.c	2020-03-18 22:24:18.000000000 +0100
    
    2
    -+++ b/src/compiler/glsl/tests/cache_test.c	2020-03-30 12:09:05.000000000 +0200
    
    3
    -@@ -132,8 +132,8 @@
    
    1
    +--- a/src/compiler/glsl/tests/cache_test.c
    
    2
    ++++ b/src/compiler/glsl/tests/cache_test.c
    
    3
    +@@ -132,8 +132,8 @@ check_directories_created(const char *ca
    
    4 4
      {
    
    5 5
         bool sub_dirs_created = false;
    
    6 6
      
    
    ... ... @@ -11,7 +11,7 @@
    11 11
            char *full_path = NULL;
    
    12 12
            if (asprintf(&full_path, "%s%s", buf, ++cache_dir) != -1 ) {
    
    13 13
               struct stat sb;
    
    14
    -@@ -142,6 +142,7 @@
    
    14
    +@@ -142,6 +142,7 @@ check_directories_created(const char *ca
    
    15 15
      
    
    16 16
               free(full_path);
    
    17 17
            }
    
    ... ... @@ -32,3 +32,16 @@
    32 32
      bool error = false;
    
    33 33
      
    
    34 34
      static void
    
    35
    +--- a/src/gallium/auxiliary/pipe-loader/pipe_loader.c
    
    36
    ++++ b/src/gallium/auxiliary/pipe-loader/pipe_loader.c
    
    37
    +@@ -42,6 +42,10 @@
    
    38
    + #define PATH_MAX _MAX_PATH
    
    39
    + #endif
    
    40
    + 
    
    41
    ++#if !defined(PATH_MAX) && defined(__GNU__)
    
    42
    ++#define PATH_MAX (4096)
    
    43
    ++#endif
    
    44
    ++
    
    45
    + #define MODULE_PREFIX "pipe_"
    
    46
    + 
    
    47
    + static int (*backends[])(struct pipe_loader_device **, int) = {


  • Reply to: