pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/prcs Don't launder const. Should fix Linux build.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/048e2d4e78a3
branches:  trunk
changeset: 604092:048e2d4e78a3
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Wed May 23 04:39:28 2012 +0000

description:
Don't launder const. Should fix Linux build.

diffstat:

 devel/prcs/distinfo                  |   3 ++-
 devel/prcs/patches/patch-src_misc_cc |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r fbd50efdc520 -r 048e2d4e78a3 devel/prcs/distinfo
--- a/devel/prcs/distinfo       Wed May 23 04:34:05 2012 +0000
+++ b/devel/prcs/distinfo       Wed May 23 04:39:28 2012 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.14 2011/11/14 04:19:29 sbd Exp $
+$NetBSD: distinfo,v 1.15 2012/05/23 04:39:28 dholland Exp $
 
 SHA1 (prcs-1.3.3.tar.gz) = 0f1770289ee4e9e8028c1aee9e19fd4fae8d2da6
 RMD160 (prcs-1.3.3.tar.gz) = 85d90b12eb7e00585f1fd880939ee01642293b4e
@@ -7,4 +7,5 @@
 SHA1 (patch-ab) = 695f0389272a88f68e19b8e2e5367b2eafb44683
 SHA1 (patch-ac) = 3325292dc27785dc01beaa6586b23ced6cbc4c42
 SHA1 (patch-ad) = 4356ab5828e3e09b257d145649b2db1855de55d1
+SHA1 (patch-src_misc_cc) = 37d85786134e0c4329f002a5d675334e9b8ece8f
 SHA1 (patch-src_package_cc) = c89e4a5f1ec9706b440330997cb4663f60f4031f
diff -r fbd50efdc520 -r 048e2d4e78a3 devel/prcs/patches/patch-src_misc_cc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/prcs/patches/patch-src_misc_cc      Wed May 23 04:39:28 2012 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_misc_cc,v 1.1 2012/05/23 04:39:29 dholland Exp $
+
+Don't launder const; fixes build with recent glibc.
+
+--- src/misc.cc~       2004-05-10 00:40:56.000000000 +0000
++++ src/misc.cc
+@@ -251,7 +251,7 @@ bool weird_pathname(const char* N)
+ 
+ const char* strip_leading_path(const char* P)
+ {
+-    char* s = strrchr(P, '/');
++    const char* s = strrchr(P, '/');
+ 
+     if ( s == '\0' )
+         return P;



Home | Main Index | Thread Index | Old Index