unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob 6f68fe41a01daad92b6845b2f6f0897906860797 824 bytes (raw)
name: gnu/packages/patches/libphonenumber-reproducible-build.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
 
diff --git a/tools/cpp/src/cpp-build/generate_geocoding_data.cc b/tools/cpp/src/cpp-build/generate_geocoding_data.cc
index 021cf5c8..5948e140 100644
--- a/tools/cpp/src/cpp-build/generate_geocoding_data.cc
+++ b/tools/cpp/src/cpp-build/generate_geocoding_data.cc
@@ -88,6 +88,7 @@ class DirEntry {
 
   const std::string& name() const { return name_; }
   DirEntryKinds kind() const { return kind_; }
+  bool operator<(const DirEntry& d) { return name_ < d.name(); }
 
  private:
   std::string name_;
@@ -115,6 +116,7 @@ bool ListDirectory(const string& path, vector<DirEntry>* entries) {
     errno = 0;
     entry = readdir(dir);
     if (entry == NULL) {
+      std::sort(entries->begin(), entries->end());
       return errno == 0;
     }
     if (strcmp(entry->d_name, ".") == 0 || strcmp(entry->d_name, "..") == 0) {

debug log:

solving 6f68fe41a0 ...
found 6f68fe41a0 in https://yhetil.org/guix-patches/20220720003653.211106-1-antero@mailbox.org/

applying [1/1] https://yhetil.org/guix-patches/20220720003653.211106-1-antero@mailbox.org/
diff --git a/gnu/packages/patches/libphonenumber-reproducible-build.patch b/gnu/packages/patches/libphonenumber-reproducible-build.patch
new file mode 100644
index 0000000000..6f68fe41a0

1:12: trailing whitespace.
 
1:16: trailing whitespace.
 
Checking patch gnu/packages/patches/libphonenumber-reproducible-build.patch...
Applied patch gnu/packages/patches/libphonenumber-reproducible-build.patch cleanly.
warning: 2 lines add whitespace errors.

index at:
100644 6f68fe41a01daad92b6845b2f6f0897906860797	gnu/packages/patches/libphonenumber-reproducible-build.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).