Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932818 - media-gfx/freecad-9999 and media-gfx/freecad-0.21.2-r2 do not process command line arguments
Summary: media-gfx/freecad-9999 and media-gfx/freecad-0.21.2-r2 do not process command...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2024-05-27 04:52 UTC by Ivan Kostikov
Modified: 2024-05-29 17:07 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
media-gfx/freecad-9999 patch file (freecad-9999.patch,462 bytes, patch)
2024-05-27 04:52 UTC, Ivan Kostikov
Details | Diff
media-gfx/freecad-0.21.2-r2 patch file (freecad-0.21.2-r2.patch,472 bytes, patch)
2024-05-27 04:57 UTC, Ivan Kostikov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Kostikov 2024-05-27 04:52:14 UTC
Created attachment 894489 [details, diff]
media-gfx/freecad-9999 patch file

The freecad ebuild creates a script that itself runs freecad to fix another bug in coin3d (github issue #451). However, this script does not pass the arguments given to it to freecad and ignores them. This can be fixed by modifying the ebuild (patch file for freecad-9999 is attached) so that
		exec /usr/$(get_libdir)/${PN}/bin/FreeCAD
is changed to
		exec /usr/$(get_libdir)/${PN}/bin/FreeCAD "\$@"
under src_install().
Comment 1 Ivan Kostikov 2024-05-27 04:57:51 UTC
Created attachment 894490 [details, diff]
media-gfx/freecad-0.21.2-r2 patch file

Add freecad-0.21.2-r2 patch
Comment 2 Larry the Git Cow gentoo-dev 2024-05-29 17:07:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f8dbb6345ae081b5bb65af4ea20c0c8eb09e92e

commit 4f8dbb6345ae081b5bb65af4ea20c0c8eb09e92e
Author:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
AuthorDate: 2024-05-29 17:06:56 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2024-05-29 17:07:37 +0000

    media-gfx/freecad: fix build with boost 1.75
    
    and properly pass through arguments in wrapper
    
    Closes: https://bugs.gentoo.org/932454
    Closes: https://bugs.gentoo.org/932818
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 .../freecad/files/freecad-0.21.2-boost-175-1.patch | 22 +++++++++++++++++++
 .../freecad/files/freecad-0.21.2-boost-175-2.patch | 22 +++++++++++++++++++
 .../freecad/files/freecad-0.21.2-boost-175-3.patch | 25 ++++++++++++++++++++++
 media-gfx/freecad/freecad-0.21.2-r2.ebuild         |  5 ++++-
 media-gfx/freecad/freecad-9999.ebuild              |  2 +-
 5 files changed, 74 insertions(+), 2 deletions(-)