packages: grfcodec/grfcodec-version.patch (NEW) - fix build
lisu
lisu at pld-linux.org
Mon Jan 3 14:51:29 CET 2011
Author: lisu Date: Mon Jan 3 13:51:29 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- fix build
---- Files affected:
packages/grfcodec:
grfcodec-version.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/grfcodec/grfcodec-version.patch
diff -u /dev/null packages/grfcodec/grfcodec-version.patch:1.1
--- /dev/null Mon Jan 3 14:51:29 2011
+++ packages/grfcodec/grfcodec-version.patch Mon Jan 3 14:51:24 2011
@@ -0,0 +1,16 @@
+--- grfcodec-5.1.0-source/Makefile~ 2011-01-03 14:28:05.332340984 +0100
++++ grfcodec-5.1.0-source/Makefile 2011-01-03 14:31:20.699007670 +0100
+@@ -208,10 +208,9 @@
+ include version.def
+
+ src/version.h: FORCE
+- @echo // Autogenerated by make. Do not edit. Edit version.def or the Makefile instead. > $@.tmp
+- @echo "#define VERSION \"$(VERSIONSTR)\"" >> $@.tmp
+- @echo "#define YEARS \"2004-$(YEAR)\"" >> $@.tmp
+- @(diff $@.tmp $@ > /dev/null 2>&1 && rm -f $@.tmp) || (rm -f $@ ; mv $@.tmp $@)
++ @echo // Autogenerated by make. Do not edit. Edit version.def or the Makefile instead. > $@
++ @echo "#define VERSION \"$(VERSIONSTR)\"" >> $@
++ @echo "#define YEARS \"2004-$(YEAR)\"" >> $@
+
+ objs/$(ENDIAN_CHECK): src/endian_check.cpp
+ $(_C) mkdir -p objs
================================================================
More information about the pld-cvs-commit
mailing list