summaryrefslogtreecommitdiff
path: root/fonts/pcf2bdf
diff options
context:
space:
mode:
authoragc <agc>2004-03-09 14:47:09 +0000
committeragc <agc>2004-03-09 14:47:09 +0000
commite070b856b8824cfa95166bb9d8b8a1e2036ad42f (patch)
tree1d21bafc953b1316da90a86873184198e353dfdb /fonts/pcf2bdf
parent65af91c06bcf92e54c4a00989273a0f44ec3b75b (diff)
downloadpkgsrc-e070b856b8824cfa95166bb9d8b8a1e2036ad42f.tar.gz
Invoke the C++ compiler explicitly - fixes a build problem with gcc3.
Diffstat (limited to 'fonts/pcf2bdf')
-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 *~