summaryrefslogtreecommitdiff
path: root/packages/monotone/files/txt2c-cross.patch
diff options
context:
space:
mode:
authorJohn Bowler <jbowler@nslu2-linux.org>2005-07-05 07:42:50 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-05 07:42:50 +0000
commit4c2ddb538079ad9561560f633cecfb6b429d256d (patch)
tree0180d515fffff1e49de4105998ec2bef4dbdaac7 /packages/monotone/files/txt2c-cross.patch
parent4def1ea71211f8abeed555475706fa331ac1b635 (diff)
Builds but has bugs in very basic functionality (db init does not work).
Diffstat (limited to 'packages/monotone/files/txt2c-cross.patch')
-rw-r--r--packages/monotone/files/txt2c-cross.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/monotone/files/txt2c-cross.patch b/packages/monotone/files/txt2c-cross.patch
new file mode 100644
index 0000000000..a50b8135fc
--- /dev/null
+++ b/packages/monotone/files/txt2c-cross.patch
@@ -0,0 +1,15 @@
+# txt2c runs (only) on the build system. This is a fairly horrible
+# hack to make it compile with the build system compiler, not the
+# target compiler.
+
+--- monotone-0.19/Makefile.am.orig 2005-07-04 23:39:44.420722558 -0700
++++ monotone-0.19/Makefile.am 2005-07-04 23:36:50.267121331 -0700
+@@ -356,7 +356,7 @@
+ CLEANFILES = $(BUILT_SOURCES_CLEAN) $(EPS_FIGURES)
+
+ txt2c: txt2c.cc Makefile
+- $(CXX) -Wall -o $@ $<
++ $(BUILD_CXX) -Wall -o $@ $<
+ chmod 0755 $@$(EXEEXT)
+
+ apidocs: