summaryrefslogtreecommitdiff
path: root/dev-cpp/tree/files/3.18-cxx.patch
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /dev-cpp/tree/files/3.18-cxx.patch
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadsrcux-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
srcux-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
srcux-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'dev-cpp/tree/files/3.18-cxx.patch')
-rw-r--r--dev-cpp/tree/files/3.18-cxx.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-cpp/tree/files/3.18-cxx.patch b/dev-cpp/tree/files/3.18-cxx.patch
new file mode 100644
index 000000000000..e5562dfee4f6
--- /dev/null
+++ b/dev-cpp/tree/files/3.18-cxx.patch
@@ -0,0 +1,27 @@
+--- tree.hh-3.18/src/Makefile
++++ tree.hh-3.18/src/Makefile
+@@ -2,19 +2,19 @@
+ all: test1 test2 test_tree
+
+ %.o: %.cc tree.hh
+- g++ -g -c -o $@ -Wall -O2 -std=c++11 -I. $<
++ $(CXX) -g -c -o $@ -Wall -O2 -std=c++11 -I. $<
+
+ test1: test1.o
+- g++ -o test1 test1.o
++ $(CXX) -o test1 test1.o
+
+ test2: test2.o
+- g++ -o test2 test2.o
++ $(CXX) -o test2 test2.o
+
+ test_tree: test_tree.o
+- g++ -o test_tree test_tree.o
++ $(CXX) -o test_tree test_tree.o
+
+ sample_path: sample_path.o
+- g++ -o sample_path sample_path.o
++ $(CXX) -o sample_path sample_path.o
+
+ run_tests: test1 test1.req
+ ./test1 > test1.res