summaryrefslogtreecommitdiff
path: root/devel/prcs
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2012-05-23 04:39:28 +0000
committerdholland <dholland@pkgsrc.org>2012-05-23 04:39:28 +0000
commitcab3f5d089c71f2f9cc8c393093a0b50004175e4 (patch)
tree39b68b3c559a19374c00b6e80705ca7d5e707a36 /devel/prcs
parent35a08a42f412eca62e900b39ea78736c955da34a (diff)
downloadpkgsrc-cab3f5d089c71f2f9cc8c393093a0b50004175e4.tar.gz
Don't launder const. Should fix Linux build.
Diffstat (limited to 'devel/prcs')
-rw-r--r--devel/prcs/distinfo3
-rw-r--r--devel/prcs/patches/patch-src_misc_cc15
2 files changed, 17 insertions, 1 deletions
diff --git a/devel/prcs/distinfo b/devel/prcs/distinfo
index 6e64a02e91d..fe954cb3754 100644
--- a/devel/prcs/distinfo
+++ b/devel/prcs/distinfo
@@ -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-aa) = 6890c4de21c7a15d86140d30b92dc84622ca3ce3
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 --git a/devel/prcs/patches/patch-src_misc_cc b/devel/prcs/patches/patch-src_misc_cc
new file mode 100644
index 00000000000..c6cc45fd648
--- /dev/null
+++ b/devel/prcs/patches/patch-src_misc_cc
@@ -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;