mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
media-gfx/freecad: Stop converting line endings
Closes: https://bugs.gentoo.org/939791 Signed-off-by: Chris Mayo <aklhfex@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
--- a/src/Tools/SubWCRev.py
|
||||
+++ b/src/Tools/SubWCRev.py
|
||||
@@ -510,12 +510,6 @@ def main():
|
||||
bindir = a
|
||||
|
||||
vcs = [
|
||||
- GitControl(),
|
||||
- DebianGitHub(),
|
||||
- BazaarControl(),
|
||||
- Subversion(),
|
||||
- MercurialControl(),
|
||||
- DebianChangelog(),
|
||||
UnknownControl(),
|
||||
]
|
||||
for i in vcs:
|
||||
@@ -130,7 +130,6 @@ DEPEND="${RDEPEND}
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
app-text/dos2unix
|
||||
dev-lang/swig
|
||||
test? (
|
||||
$(python_gen_cond_dep 'dev-python/pyyaml[${PYTHON_USEDEP}]')
|
||||
@@ -164,7 +163,7 @@ REQUIRED_USE="
|
||||
# There is no py3.12 support planned for pyside2
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.0.0-Gentoo-specific-don-t-check-vcs.patch
|
||||
"${FILESDIR}"/${PN}-1.0.0-r1-Gentoo-specific-don-t-check-vcs.patch
|
||||
"${FILESDIR}"/${PN}-0.21.0-0001-Gentoo-specific-disable-ccache-usage.patch
|
||||
"${FILESDIR}"/${PN}-9999-tests-src-Qt-only-build-test-for-BUILD_GUI-ON.patch
|
||||
)
|
||||
@@ -183,8 +182,6 @@ src_prepare() {
|
||||
# Fix desktop file
|
||||
sed -e 's/Exec=FreeCAD/Exec=freecad/' -i src/XDGData/org.freecad.FreeCAD.desktop || die
|
||||
|
||||
find "${S}" -type f -exec dos2unix -q {} \; || die "failed to convert to unix line endings"
|
||||
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user