File: 0005-Reproducible-build.patch

package info (click to toggle)
briquolo 0.5.7-9
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 9,004 kB
  • sloc: cpp: 17,795; ansic: 8,543; sh: 4,047; makefile: 691; yacc: 288; python: 132; sed: 16
file content (43 lines) | stat: -rw-r--r-- 1,145 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
From: Chris Lamb <lamby@debian.org>
Date: Sun, 17 May 2020 16:19:43 +0200
Subject: Make the build reproducible

Last-Update: 2020-05-12
---
 src/Constante.cpp           | 7 -------
 src/MOGL/MOGL_Constante.cpp | 4 ----
 2 files changed, 11 deletions(-)

diff --git a/src/Constante.cpp b/src/Constante.cpp
index 9e52dd9..c6fbda8 100644
--- a/src/Constante.cpp
+++ b/src/Constante.cpp
@@ -120,13 +120,6 @@ void Constante::_InitialiserVariables()
     _Global=DATADIR_BRIQUOLO;
     _DirLocale=LOCALEDIR;
   }
-  else
-  {
-    // Le fichier tmoin n'existe pas, cela signifie que l'on n'a pas fait le make install
-    // On doit prendre les fichier de donnes dans le rep des sources
-    _Global=SRCTOPDIR"/data";
-    _DirLocale=SRCTOPDIR"/po";
-  }
   _Data="/data";
   _Tableau="/tableau";
 
diff --git a/src/MOGL/MOGL_Constante.cpp b/src/MOGL/MOGL_Constante.cpp
index 90cd349..19b3be4 100644
--- a/src/MOGL/MOGL_Constante.cpp
+++ b/src/MOGL/MOGL_Constante.cpp
@@ -48,10 +48,6 @@ void MOGL_Constante::_InitialiserVariables()
   {
     _DataDir=DATADIR_BRIQUOLO"/data";
   }
-  else
-  {
-    _DataDir=SRCTOPDIR"/data/data";
-  }
 #endif
 }