summaryrefslogtreecommitdiff
path: root/fonts/pcf2bdf/patches
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2004-03-09 14:47:09 +0000
committeragc <agc@pkgsrc.org>2004-03-09 14:47:09 +0000
commitaa9023a1a03f4c50f53b3f1f57f1fa29b519f9b7 (patch)
tree1d21bafc953b1316da90a86873184198e353dfdb /fonts/pcf2bdf/patches
parent5e010a3cd2bf3277dc9d89eec0fd0aaad0ca7fef (diff)
downloadpkgsrc-aa9023a1a03f4c50f53b3f1f57f1fa29b519f9b7.tar.gz
Invoke the C++ compiler explicitly - fixes a build problem with gcc3.
Diffstat (limited to 'fonts/pcf2bdf/patches')
-rw-r--r--fonts/pcf2bdf/patches/patch-ab24
1 files changed, 24 insertions, 0 deletions
diff --git a/fonts/pcf2bdf/patches/patch-ab b/fonts/pcf2bdf/patches/patch-ab
new file mode 100644
index 00000000000..2de3bffea25
--- /dev/null
+++ b/fonts/pcf2bdf/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1 2004/03/09 14:47:09 agc Exp $
+
+--- Makefile.gcc 2004/03/09 14:42:07 1.1
++++ Makefile.gcc 2004/03/09 14:44:16
+@@ -2,7 +2,7 @@
+
+ CC = gcc
+ CFLAGS = -Wall -O2
+-CXX = $(CC)
++CXX = g++
+ CXXFLAGS = $(CFLAGS)
+ PREFIX = /usr/local
+ BINPATH = $(PREFIX)/bin
+@@ -11,6 +11,10 @@
+ all: pcf2bdf
+
+ pcf2bdf: pcf2bdf.o
++ ${CXX} -o pcf2bdf pcf2bdf.o
++
++pcf2bdf.o: pcf2bdf.cc
++ ${CXX} ${CXXFLAGS} -c pcf2bdf.cc
+
+ clean:
+ -$(RM) pcf2bdf pcf2bdf.exe pcf2bdf.o *~