diff options
author | dmcmahill <dmcmahill> | 2000-05-12 14:59:28 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2000-05-12 14:59:28 +0000 |
commit | 56d91f8ea89e2d8f859281d35fb3bca08990d2d5 (patch) | |
tree | 13c1718d10305cfbd5495eba3698dc0f7f553d00 /graphics/kdegraphics/patches | |
parent | 59cde86c3546270d687a2134df7d0eca3f00db0b (diff) | |
download | pkgsrc-56d91f8ea89e2d8f859281d35fb3bca08990d2d5.tar.gz |
add patch to work around a g++ -O2 compiler bug on pmax. The compiler bug is
reported in PR port-pmax/9453.
Diffstat (limited to 'graphics/kdegraphics/patches')
-rw-r--r-- | graphics/kdegraphics/patches/patch-af | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/kdegraphics/patches/patch-af b/graphics/kdegraphics/patches/patch-af new file mode 100644 index 00000000000..fd835fd021d --- /dev/null +++ b/graphics/kdegraphics/patches/patch-af @@ -0,0 +1,20 @@ +$NetBSD: patch-af,v 1.5 2000/05/12 14:59:30 dmcmahill Exp $ + +work around a g++ -O2 compiler bug on pmax. See PR port-pmax/9453. + +--- kfax/Makefile.in.orig Tue Sep 7 11:22:48 1999 ++++ kfax/Makefile.in Fri May 12 10:14:18 2000 +@@ -202,4 +202,5 @@ + CXXFLAGS = @CXXFLAGS@ + CXXCOMPILE = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) ++CXXCOMPILE_NOPT = $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) -I${LOCALBASE}/include + LTCXXCOMPILE = $(LIBTOOL) --mode=compile $(CXX) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) + CXXLD = $(CXX) +@@ -302,4 +303,7 @@ + @rm -f kfax + $(CXXLINK) $(kfax_LDFLAGS) $(kfax_OBJECTS) $(kfax_LDADD) $(LIBS) ++kfax.o: kfax.cpp ++ $(CXXCOMPILE_NOPT) -c $< ++ + .cpp.o: + $(CXXCOMPILE) -c $< |