File: 0001-Fix-compilation-the-last-rebase-merge-went-wrong.patch

package info (click to toggle)
svn-all-fast-export 1.0.10%2Bgit20160822-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 364 kB
  • ctags: 348
  • sloc: cpp: 2,791; sh: 17; makefile: 8
file content (15 lines) | stat: -rw-r--r-- 751 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Fix FTBFS with dirent
Author: <uqs@spoerlein.net>
Origin: Upstream git: http://gitorious.org/svn2git/svn2git/commit/4d4456f422bae0dfdd514ed42801889bd66b6fa0/diffs/b5c3d3aa55621c44db439e4a73884e0d0bf9612c

--- a/src/svn.cpp
+++ b/src/svn.cpp
@@ -896,7 +896,7 @@
                                rev_from, changes, current, *match, matchRules, dirpool) == EXIT_FAILURE)
                 return EXIT_FAILURE;
         } else {
-            if (dirent->kind == svn_node_dir) {
+            if (i.value() == svn_node_dir) {
                 qDebug() << current << "rev" << revnum
                          << "did not match any rules; auto-recursing";
                 if (recurse(entry, change, entryFrom.isNull() ? 0 : entryFrom.constData(),