summaryrefslogtreecommitdiff
path: root/fonts
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
commit6f7c00f97774d82a2c4ad81caffc0fce546a8ac5 (patch)
tree1d21bafc953b1316da90a86873184198e353dfdb /fonts
parent5d97d4118dd7dab0067dc3ca2ff0d0c165e7238f (diff)
downloadpkgsrc-6f7c00f97774d82a2c4ad81caffc0fce546a8ac5.tar.gz
Invoke the C++ compiler explicitly - fixes a build problem with gcc3.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/pcf2bdf/distinfo3
-rw-r--r--fonts/pcf2bdf/patches/patch-ab24
2 files changed, 26 insertions, 1 deletions
diff --git a/fonts/pcf2bdf/distinfo b/fonts/pcf2bdf/distinfo
index afbd1edec37..50b3ef6948f 100644
--- a/fonts/pcf2bdf/distinfo
+++ b/fonts/pcf2bdf/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2002/12/31 05:44:43 kei Exp $
+$NetBSD: distinfo,v 1.2 2004/03/09 14:47:09 agc Exp $
SHA1 (pcf2bdf-1.04.tgz) = 6fdcc10132e27d3c26ff7e4be541332ee5d4e927
Size (pcf2bdf-1.04.tgz) = 9686 bytes
SHA1 (patch-aa) = d750333e3ac74db0666a40a6902af02d85d02ba0
+SHA1 (patch-ab) = 067ec5a2c44029b41dac3e29054392df080467a4
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 *~