diff options
author | dholland <dholland@pkgsrc.org> | 2011-09-19 03:45:28 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2011-09-19 03:45:28 +0000 |
commit | 53d44ab7e250a4145ad62d9f9160e4cad8a5285c (patch) | |
tree | d6ac2f71735124d6665333191a394da60d967543 /x11 | |
parent | 396bdb202b2f3d5d4698781abc9d6347d3d75d8d (diff) | |
download | pkgsrc-53d44ab7e250a4145ad62d9f9160e4cad8a5285c.tar.gz |
fix a clang build failure
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xview-lib/distinfo | 3 | ||||
-rw-r--r-- | x11/xview-lib/patches/patch-fl | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/xview-lib/distinfo b/x11/xview-lib/distinfo index 08afc9edbeb..91d4447c9a3 100644 --- a/x11/xview-lib/distinfo +++ b/x11/xview-lib/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.15 2010/04/24 19:52:23 dholland Exp $ +$NetBSD: distinfo,v 1.16 2011/09/19 03:45:28 dholland Exp $ SHA1 (xview3.2p1-X11R6.tar.gz) = 1cd04231b893c3e6c70b56791d527b498e21a27a RMD160 (xview3.2p1-X11R6.tar.gz) = 2f21b14cb088aec887683bbc6d4ed9a3bc3fe2bb @@ -134,3 +134,4 @@ SHA1 (patch-fh) = 6a933d844818a57b448ef9fdd373d03a14ba961a SHA1 (patch-fi) = 540358d6753f70bd72e5371cbff240427a4a19fb SHA1 (patch-fj) = ef898c17bd36de97fdf1331d4f63b0738840cf20 SHA1 (patch-fk) = 98c7ef077aad9f8eef298e0d398e25bc20b04ea6 +SHA1 (patch-fl) = f1cd513c6b2a9dbe694ed221998d645a6815183f diff --git a/x11/xview-lib/patches/patch-fl b/x11/xview-lib/patches/patch-fl new file mode 100644 index 00000000000..6d8c0a20df9 --- /dev/null +++ b/x11/xview-lib/patches/patch-fl @@ -0,0 +1,15 @@ +$NetBSD: patch-fl,v 1.1 2011/09/19 03:45:28 dholland Exp $ + +Fix mismatched return types, which clang dislikes. + +--- lib/libxview/attr/attr_cust.c~ 1993-06-29 05:14:37.000000000 +0000 ++++ lib/libxview/attr/attr_cust.c +@@ -526,7 +526,7 @@ Attr_attribute avlist[]; + /* + * Public interface to customizable attributes + */ +-Xv_public int ++Xv_public void + #ifdef ANSI_FUNC_PROTO + xv_add_custom_attrs(Xv_pkg *pkg, ...) + #else |