pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/fam Don't limit extern "C" to certain Sun com...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f53a6d20fc5b
branches:  trunk
changeset: 523548:f53a6d20fc5b
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Jan 09 10:21:51 2007 +0000

description:
Don't limit extern "C" to certain Sun compiler. It is never wrong to do
that for C headers in C++ programs, but GCC does it by default for
system include directories.

diffstat:

 sysutils/fam/distinfo         |   4 ++--
 sysutils/fam/patches/patch-as |  10 +++-------
 2 files changed, 5 insertions(+), 9 deletions(-)

diffs (48 lines):

diff -r fa0497f624d3 -r f53a6d20fc5b sysutils/fam/distinfo
--- a/sysutils/fam/distinfo     Tue Jan 09 10:16:19 2007 +0000
+++ b/sysutils/fam/distinfo     Tue Jan 09 10:21:51 2007 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.24 2006/08/26 15:30:57 joerg Exp $
+$NetBSD: distinfo,v 1.25 2007/01/09 10:21:51 joerg Exp $
 
 SHA1 (fam-2.7.0.tar.gz) = 6c2316f02acf89a41c42ffc3d7fd9cf5eada83a8
 RMD160 (fam-2.7.0.tar.gz) = 1895b578d6a141c36d5bee4e3fbbc2a298a91430
@@ -21,7 +21,7 @@
 SHA1 (patch-ap) = d53d72b082fe057df35a69e09e94706f3d0d020e
 SHA1 (patch-aq) = a54ba100b779fa13b35c962ba734ee11e093cb28
 SHA1 (patch-ar) = 37a8fe2e70d4cbc669a0c853b3404d8c0354235a
-SHA1 (patch-as) = ff23d2425587e08cac1344884d3557c7761adcef
+SHA1 (patch-as) = d82bd15cfa04e52513e2b052f4e429d2133635f1
 SHA1 (patch-at) = 209f89cefac326e6c1b99bec4622ba0d6eabe1e4
 SHA1 (patch-au) = 6bd507eb448b3fd126042759a3b6f70335401c5b
 SHA1 (patch-av) = e79813d88ec48a886688539da34150c5bd229a0a
diff -r fa0497f624d3 -r f53a6d20fc5b sysutils/fam/patches/patch-as
--- a/sysutils/fam/patches/patch-as     Tue Jan 09 10:16:19 2007 +0000
+++ b/sysutils/fam/patches/patch-as     Tue Jan 09 10:21:51 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-as,v 1.5 2004/12/09 18:45:32 minskim Exp $
+$NetBSD: patch-as,v 1.6 2007/01/09 10:21:51 joerg Exp $
 
---- src/RPC_TCP_Connector.c++.orig     2003-01-18 08:18:12.000000000 -0600
+--- src/RPC_TCP_Connector.c++.orig     2003-01-18 14:18:12.000000000 +0000
 +++ src/RPC_TCP_Connector.c++
-@@ -21,11 +21,23 @@
+@@ -21,11 +21,19 @@
  //  Temple Place - Suite 330, Boston MA 02111-1307, USA.
  
  #include "RPC_TCP_Connector.h"
@@ -11,14 +11,10 @@
 +#define PORTMAP
  
  #include <errno.h>
-+#ifdef __SUNPRO_CC
 +extern "C" {
-+#endif
  #include <rpc/rpc.h>
  #include <rpc/pmap_prot.h>
-+#ifdef __SUNPRO_CC
 +}
-+#endif
  #include <sys/ioctl.h>
 +#ifdef HAVE_SYS_FILIO_H
 +#include <sys/filio.h>



Home | Main Index | Thread Index | Old Index