diff options
author | rillig <rillig@pkgsrc.org> | 2006-06-07 23:24:00 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-06-07 23:24:00 +0000 |
commit | c150b5df74b2c309169f27d40ff955d097b738ec (patch) | |
tree | 14126fd3d97e8a2a106611b39bf046226c324437 /editors/abiword | |
parent | 83b8ee6195f8badd004a21750ade9fc94e101a2f (diff) | |
download | pkgsrc-c150b5df74b2c309169f27d40ff955d097b738ec.tar.gz |
The C++ operator const_cast<> needs parentheses around its argument.
Diffstat (limited to 'editors/abiword')
-rw-r--r-- | editors/abiword/distinfo | 4 | ||||
-rw-r--r-- | editors/abiword/patches/patch-ae | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/editors/abiword/distinfo b/editors/abiword/distinfo index 9b9a39da15c..09080797af8 100644 --- a/editors/abiword/distinfo +++ b/editors/abiword/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.51 2006/06/07 19:19:28 rillig Exp $ +$NetBSD: distinfo,v 1.52 2006/06/07 23:24:00 rillig Exp $ SHA1 (abiword-2.4.4.tar.bz2) = e2afde95a408f011a1877bc6647799777845dd18 RMD160 (abiword-2.4.4.tar.bz2) = 5fad618b07b13a543f55321dd3e8114105cefd5d @@ -7,6 +7,6 @@ SHA1 (patch-aa) = b305b8a5dcf16c76e4bc858b6b484592b68aaca1 SHA1 (patch-ab) = 94191b278b6c5d0a37231efde9dc11097d6c1590 SHA1 (patch-ac) = 8fe244939c96a322a4db61463b8f66af0fc61e35 SHA1 (patch-ad) = c3191d8e0e510708d9ab22ee9c6d28a655e031c5 -SHA1 (patch-ae) = 5151b11af67796b62cff9c9518ead0fdd36b80c5 +SHA1 (patch-ae) = a86681d29691fdfcd15b5c5e47f07ad5f5dc23d6 SHA1 (patch-af) = d3fe1c03fe80648afb729b3dbc4721c413220a0d SHA1 (patch-ag) = a4d4569e2bb67110aa160f2f596c32bbd5bac9c4 diff --git a/editors/abiword/patches/patch-ae b/editors/abiword/patches/patch-ae index c85a627f867..5fba499a03f 100644 --- a/editors/abiword/patches/patch-ae +++ b/editors/abiword/patches/patch-ae @@ -1,13 +1,13 @@ -$NetBSD: patch-ae,v 1.16 2006/01/17 08:07:38 adam Exp $ +$NetBSD: patch-ae,v 1.17 2006/06/07 23:24:01 rillig Exp $ --- src/af/xap/unix/xap_UnixEncodingManager.cpp.orig 2005-10-16 04:50:52.000000000 +0200 -+++ src/af/xap/unix/xap_UnixEncodingManager.cpp ++++ src/af/xap/unix/xap_UnixEncodingManager.cpp 2006-06-08 01:19:17.842815432 +0200 @@ -546,7 +546,7 @@ void XAP_UnixEncodingManager::initializ MYLANG += LanguageISOName; MYLANG += "_"; MYLANG += LanguageISOTerritory; - putenv(MYLANG.utf8_str()); -+ putenv(const_cast<char*>MYLANG.utf8_str()); ++ putenv(const_cast<char*>(MYLANG.utf8_str())); #else UT_UTF8String MYLANG (LanguageISOName); MYLANG += "_"; @@ -16,7 +16,7 @@ $NetBSD: patch-ae,v 1.16 2006/01/17 08:07:38 adam Exp $ MYLANG = "LANG="; MYLANG += OLDLANG; - putenv(MYLANG.utf8_str()); -+ putenv(const_cast<char*>MYLANG.utf8_str()); ++ putenv(const_cast<char*>(MYLANG.utf8_str())); #else setenv("LANG", OLDLANG.utf8_str(), 1); #endif |