[PD-dev] add_string_support.patch

Hans-Christoph Steiner hans at eds.org
Tue May 1 20:35:18 CEST 2007


On May 1, 2007, at 2:59 AM, zmoelnig at iem.at wrote:

> Quoting Hans-Christoph Steiner <hans at eds.org>:
>
>>>
>>> try "-p 2"
>>
>> This is automated, so that would mean changing all the patches in
>> packages/patches.  I think it would be much easier to change that one
>> patch to remove the path information.
>
> the last one was another mail where i clicked "send" before thinking.
>
> the "-p 2" would strip _at most_ the first 2 "path-elements" (see 'man
> patch' for a better explanation) of the filenames. so
> "pd/src/g_rtext.c" becomes "g_rtext.c", while "src/g_canvas.c" becomes
> "g_canvas.c" and "m_pd.h" stays the same.
>
> so all patches should apply just as fine as they do now, and the
> string-support patch would apply too.
>
> apart from that, i agree that all patches should be "normalized" in  
> a way.
> (and that "string" really should be "blob")

Feel free to add this stuff to the build system, as long as it works  
on all platforms.  an older sed is installed on everything in the  
auto-build farm.  But it might save more trouble in the long run to  
keep a consistent format.  Hard to say...

.hc


>
>
> mfg,.asr
> IOhannes
>
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev


------------------------------------------------------------------------

Terrorism is not an enemy.  It cannot be defeated.  It's a tactic.   
It's about as sensible to say we declare war on night attacks and  
expect we're going to win that war.  We're not going to win the war  
on terrorism.        - retired U.S. Army general, William Odom






More information about the Pd-dev mailing list