pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/pcf2bdf Invoke the C++ compiler explicitly - fix...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a1933453a3ff
branches:  trunk
changeset: 470461:a1933453a3ff
user:      agc <agc%pkgsrc.org@localhost>
date:      Tue Mar 09 14:47:09 2004 +0000

description:
Invoke the C++ compiler explicitly - fixes a build problem with gcc3.

diffstat:

 fonts/pcf2bdf/distinfo         |   3 ++-
 fonts/pcf2bdf/patches/patch-ab |  24 ++++++++++++++++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (39 lines):

diff -r 8c000fcf726c -r a1933453a3ff fonts/pcf2bdf/distinfo
--- a/fonts/pcf2bdf/distinfo    Tue Mar 09 13:59:01 2004 +0000
+++ b/fonts/pcf2bdf/distinfo    Tue Mar 09 14:47:09 2004 +0000
@@ -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 -r 8c000fcf726c -r a1933453a3ff fonts/pcf2bdf/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/pcf2bdf/patches/patch-ab    Tue Mar 09 14:47:09 2004 +0000
@@ -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 *~



Home | Main Index | Thread Index | Old Index