diff options
author | Joonas Niilola <juippis@gentoo.org> | 2021-02-16 09:11:09 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-02-16 09:11:09 +0200 |
commit | b74dc61c869a750563368af98db0758853b7cd23 (patch) | |
tree | e97eba05a8e0fe34a7dbae6c8bd5a5c48c3b2d12 /media-gfx/freecad | |
parent | games-util/lutris: Removed old (diff) | |
download | gentoo-b74dc61c869a750563368af98db0758853b7cd23.tar.gz gentoo-b74dc61c869a750563368af98db0758853b7cd23.tar.bz2 gentoo-b74dc61c869a750563368af98db0758853b7cd23.zip |
media-gfx/freecad: fix patch file formatting
Closes: https://bugs.gentoo.org/770820
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'media-gfx/freecad')
2 files changed, 16 insertions, 16 deletions
diff --git a/media-gfx/freecad/files/freecad-0.19_pre20201231-0001-FindCoin3DDoc.cmake-fix-patch-for-coin-docs.patch b/media-gfx/freecad/files/freecad-0.19_pre20201231-0001-FindCoin3DDoc.cmake-fix-patch-for-coin-docs.patch index d0097ab07308..9f4131f15a3d 100644 --- a/media-gfx/freecad/files/freecad-0.19_pre20201231-0001-FindCoin3DDoc.cmake-fix-patch-for-coin-docs.patch +++ b/media-gfx/freecad/files/freecad-0.19_pre20201231-0001-FindCoin3DDoc.cmake-fix-patch-for-coin-docs.patch @@ -13,14 +13,14 @@ index c6c92f2..1af53c2 100644 --- a/cMake/FindCoin3DDoc.cmake +++ b/cMake/FindCoin3DDoc.cmake @@ -22,7 +22,7 @@ IF (COIN3D_FOUND) - # Unix systems - find_path(COIN3D_DOC_PATH index.html - /usr/share/doc/libcoin80-doc/html -- /usr/share/doc/coin/html -+ /usr/share/doc/coin-4.0.0/html - /usr/share/doc/Coin/html - ) - IF( EXISTS ${COIN3D_DOC_PATH}) + # Unix systems
+ find_path(COIN3D_DOC_PATH index.html
+ /usr/share/doc/libcoin80-doc/html
+- /usr/share/doc/coin/html
++ /usr/share/doc/coin-4.0.0/html
+ /usr/share/doc/Coin/html
+ )
+ IF( EXISTS ${COIN3D_DOC_PATH})
-- 2.30.0 diff --git a/media-gfx/freecad/files/freecad-0.19_pre20201231-0003-Gentoo-specific-don-t-check-vcs.patch b/media-gfx/freecad/files/freecad-0.19_pre20201231-0003-Gentoo-specific-don-t-check-vcs.patch index 1a384198ae38..ac8d194d00ea 100644 --- a/media-gfx/freecad/files/freecad-0.19_pre20201231-0003-Gentoo-specific-don-t-check-vcs.patch +++ b/media-gfx/freecad/files/freecad-0.19_pre20201231-0003-Gentoo-specific-don-t-check-vcs.patch @@ -13,14 +13,14 @@ index 9795450..59938bd 100644 --- a/src/Tools/SubWCRev.py +++ b/src/Tools/SubWCRev.py @@ -455,7 +455,7 @@ def main(): - if o in ("-b", "--bindir"): - bindir = a - -- vcs=[GitControl(), DebianGitHub(), BazaarControl(), Subversion(), MercurialControl(), DebianChangelog(), UnknownControl()] -+ vcs=[UnknownControl()] - for i in vcs: - if i.extractInfo(srcdir, bindir): - # Open the template file and the version file + if o in ("-b", "--bindir"):
+ bindir = a
+
+- vcs=[GitControl(), DebianGitHub(), BazaarControl(), Subversion(), MercurialControl(), DebianChangelog(), UnknownControl()]
++ vcs=[UnknownControl()]
+ for i in vcs:
+ if i.extractInfo(srcdir, bindir):
+ # Open the template file and the version file
-- 2.30.1 |