75403cef76
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
23 lines
1.1 KiB
Diff
23 lines
1.1 KiB
Diff
Index: libraries/source/fcollada/src/Makefile
|
|
===================================================================
|
|
--- a/libraries/source/fcollada/src/Makefile
|
|
+++ b/libraries/source/fcollada/src/Makefile
|
|
@@ -224,7 +224,7 @@ OBJECTS_RELEASE = $(addprefix output/rel
|
|
OBJECTS_TEST = $(addprefix output/test/,$(SOURCE:.cpp=.o) $(TEST_SOURCE:.cpp=.o))
|
|
OBJECTS_ALL = $(OBJECTS_DEBUG) $(OBJECTS_RELEASE) $(OBJECTS_TEST)
|
|
|
|
-all: output/libFColladaSD.a output/libFColladaSR.a install
|
|
+all: output/libFColladaSR.a install
|
|
|
|
output_dirs:
|
|
bash -c 'mkdir -p output/{debug,release,test}/{FCollada/{FCDocument,FMath,FUtils,FColladaTest/{FCTestAssetManagement,FCTestExportImport,FCTestXRef}},FColladaPlugins/FArchiveXML}'
|
|
@@ -244,8 +244,7 @@ output/libFColladaSR.a: $(OBJECTS_RELEAS
|
|
output/FColladaTest: $(OBJECTS_TEST) | output_dirs
|
|
$(CXX) -o $@ $(LDFLAGS) $(OBJECTS_TEST) $(LIBS)
|
|
|
|
-install: output/libFColladaSD.a output/libFColladaSR.a
|
|
- cp output/libFColladaSD.a ../lib/libFColladaSD.a
|
|
+install: output/libFColladaSR.a
|
|
cp output/libFColladaSR.a ../lib/libFColladaSR.a
|
|
|
|
dfile = $(@:.o=.d)
|