[darwinbuild-changes] [263] trunk

source_changes at macosforge.org source_changes at macosforge.org
Wed Oct 4 02:02:05 PDT 2006


Revision: 263
          http://trac.macosforge.org/projects/darwinbuild/changeset/263
Author:   ssen
Date:     2006-10-04 02:02:05 -0700 (Wed, 04 Oct 2006)

Log Message:
-----------
Add support for patch overlay files

Modified Paths:
--------------
    trunk/CHANGES
    trunk/darwinbuild/darwinbuild

Modified: trunk/CHANGES
===================================================================
--- trunk/CHANGES	2005-09-16 23:44:01 UTC (rev 262)
+++ trunk/CHANGES	2006-10-04 09:02:05 UTC (rev 263)
@@ -2,6 +2,7 @@
 -----------------------------------
 
 Release 0.X.Y [now]
+	- darwinbuild: Add support for "src_foo.c.add" patches as overlays
 	- updated Makfile to honor DSTROOT
 	- darwinxref: Added additive and subtractive dependencies
 	- darwintrace: prevent the log file descriptor from being closed

Modified: trunk/darwinbuild/darwinbuild
===================================================================
--- trunk/darwinbuild/darwinbuild	2005-09-16 23:44:01 UTC (rev 262)
+++ trunk/darwinbuild/darwinbuild	2006-10-04 09:02:05 UTC (rev 263)
@@ -465,6 +465,10 @@
 		*.patch*)
 		    $catprog "$SourceCache/$patchfile" | patch -l -f -p0
 		    ;;
+		*.add*)
+		    newfile=`echo $patchfile | sed -e 's/\.add.*$//' -e 's,_,/,g'`
+		    $catprog "$SourceCache/$patchfile" > "./$newfile"
+		    ;;
 		*)
 		    echo "Don't know how to apply $patchfile"
 		    ;;

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/9bf6f1cd/attachment-0001.html


More information about the darwinbuild-changes mailing list