#8115: bad patching practice in cddlib-094f.p2.spkg
------------------------+---------------------------------------------------
Reporter: mvngu | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone: sage-4.3.2
Component: packages | Keywords: cddlib, polyhedra
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
------------------------+---------------------------------------------------
A problem with cddlib-094f.p2.spkg is that it patches upstream source
using a patch file, rather than copying a patched file over to the
appropriate place under the src/ directory. Consequently, there is no
clean separation between upstream source and patches that we apply to
cddlib-094f. Looking at spkg-install of cddlib-094f.p2.spkg, you get these
two lines for applying Sage-specific patches:
{{{
cp patches/allfaces.c src/src/
patch -p0 < patches/cdd_both_reps-make.patch
}}}
The first line is the preferred way to patch an upstream source because it
copies the patched file patches/allfaces.c over to src/src/.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8115>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.