pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/cups Make this buld with gcc 4.x. Fix PR 32744.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6eb63279615f
branches:  trunk
changeset: 508210:6eb63279615f
user:      yyamano <yyamano%pkgsrc.org@localhost>
date:      Thu Feb 16 15:52:15 2006 +0000

description:
Make this buld with gcc 4.x. Fix PR 32744.

diffstat:

 print/cups/distinfo         |   3 ++-
 print/cups/patches/patch-ah |  41 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 1 deletions(-)

diffs (62 lines):

diff -r 8e3b5cf11d0f -r 6eb63279615f print/cups/distinfo
--- a/print/cups/distinfo       Thu Feb 16 15:15:18 2006 +0000
+++ b/print/cups/distinfo       Thu Feb 16 15:52:15 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.37 2006/02/15 19:06:13 joerg Exp $
+$NetBSD: distinfo,v 1.38 2006/02/16 15:52:15 yyamano Exp $
 
 SHA1 (cups-1.1.23-source.tar.bz2) = 32d5bfb44c4edc1b54ccb014b5a44499295c6c5c
 RMD160 (cups-1.1.23-source.tar.bz2) = 255ec4c22422b14f2367d69f3ec7e590dc46bea5
@@ -10,6 +10,7 @@
 SHA1 (patch-ae) = 773b723b3cbd669cd1695577c578fea0fc7fa7f8
 SHA1 (patch-af) = 04e5bf3b73083eb2457a20b0f5238f017fe4aaab
 SHA1 (patch-ag) = 47a5c7a9ad7c604fa3253aebbaa62f576fb477d0
+SHA1 (patch-ah) = 1ef58b7e1dfcbd8aabb9e822d30f995b3d653ea4
 SHA1 (patch-an) = 8eb0f80067839d3d112d93e08cb8ad6854fa2b4c
 SHA1 (patch-ao) = c4c8f833cf4a09a686a338df6c209cebec36c6ef
 SHA1 (patch-ap) = 81b8213e16f875b22d0684d0c06dfe75af11dcb4
diff -r 8e3b5cf11d0f -r 6eb63279615f print/cups/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups/patches/patch-ah       Thu Feb 16 15:52:15 2006 +0000
@@ -0,0 +1,41 @@
+$NetBSD: patch-ah,v 1.14 2006/02/16 15:52:15 yyamano Exp $
+
+--- config-scripts/cups-compiler.m4.orig       2005-01-04 04:29:45.000000000 +0900
++++ config-scripts/cups-compiler.m4
+@@ -39,36 +39,6 @@ CXXLIBS=""
+ AC_SUBST(CXXLIBS)
+ 
+ if test -n "$GCC"; then
+-      # Starting with GCC 3.0, you must link C++ programs against either
+-      # libstdc++ (shared by default), or libsupc++ (always static).  If
+-      # you care about binary portability between Linux distributions,
+-      # you need to either 1) build your own GCC with static C++ libraries
+-      # or 2) link using gcc and libsupc++.  We choose the latter since
+-      # CUPS doesn't (currently) use any of the stdc++ library.
+-      #
+-      # Also, GCC 3.0.x still has problems compiling some code.  You may
+-      # or may not have success with it.  USE 3.0.x WITH EXTREME CAUTION!
+-      #
+-      # Previous versions of GCC do not have the reliance on the stdc++
+-      # or g++ libraries, so the extra supc++ library is not needed.
+-
+-      AC_MSG_CHECKING(if libsupc++ is required)
+-
+-      SUPC="`$CXX -print-file-name=libsupc++.a 2>/dev/null`"
+-      case "$SUPC" in
+-              libsupc++.a*)
+-                      # Library not found, so this is and older GCC...
+-                      AC_MSG_RESULT(no)
+-                      ;;
+-              *)
+-                      # This is gcc 3.x, and it knows of libsupc++, so we need it
+-                      CXXLIBS="-lsupc++"
+-                      AC_MSG_RESULT(yes)
+-                      ;;
+-      esac
+-
+-      CXX="$CC"
+-
+       if test -z "$OPTIM"; then
+               if test "x$with_optim" = x; then
+                       if test $uname = HP-UX; then



Home | Main Index | Thread Index | Old Index