diff options
author | jakllsch <jakllsch> | 2012-03-18 21:20:49 +0000 |
---|---|---|
committer | jakllsch <jakllsch> | 2012-03-18 21:20:49 +0000 |
commit | 6689a64d4687793d9cac02919fd4e37d22862590 (patch) | |
tree | ad75f50a59b9380328e9b512da32df45102e0bb2 /x11 | |
parent | 0a83e799bde6bd1ffa16a0d90075c11e7e4f7762 (diff) | |
download | pkgsrc-6689a64d4687793d9cac02919fd4e37d22862590.tar.gz |
update to nb3
pkgsrc changes:
- Ensure there is a file argument supplied.
- Use a Atom format that works.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/xicc/Makefile | 4 | ||||
-rw-r--r-- | x11/xicc/distinfo | 3 | ||||
-rw-r--r-- | x11/xicc/patches/patch-xicc.c | 25 |
3 files changed, 29 insertions, 3 deletions
diff --git a/x11/xicc/Makefile b/x11/xicc/Makefile index 538e7b1b750..dec848d4ee9 100644 --- a/x11/xicc/Makefile +++ b/x11/xicc/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.3 2012/03/03 00:14:22 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2012/03/18 21:20:49 jakllsch Exp $ # DISTNAME= xicc-0.1 -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= x11 MASTER_SITES= http://www.burtonini.com/computing/ diff --git a/x11/xicc/distinfo b/x11/xicc/distinfo index 8f55d6d02ed..bfb56b6d131 100644 --- a/x11/xicc/distinfo +++ b/x11/xicc/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2011/10/30 19:55:23 jakllsch Exp $ +$NetBSD: distinfo,v 1.2 2012/03/18 21:20:49 jakllsch Exp $ SHA1 (xicc-0.1.tar.gz) = 36866f90b6e9be0c283baba91a4bfdda62812321 RMD160 (xicc-0.1.tar.gz) = 76ae7409455414f5ee9a916ab7b26e50470d54a3 Size (xicc-0.1.tar.gz) = 661 bytes +SHA1 (patch-xicc.c) = 41aa2f896a03c45a121635d8f4b88a2e7ab5bfec diff --git a/x11/xicc/patches/patch-xicc.c b/x11/xicc/patches/patch-xicc.c new file mode 100644 index 00000000000..fcda0e54fc5 --- /dev/null +++ b/x11/xicc/patches/patch-xicc.c @@ -0,0 +1,25 @@ +$NetBSD: patch-xicc.c,v 1.1 2012/03/18 21:20:49 jakllsch Exp $ + +--- xicc.c.orig 2005-06-16 08:31:47.000000000 +0000 ++++ xicc.c +@@ -9,6 +9,11 @@ int main(int argc, char **argv) { + char *profile; + gsize length; + ++ if (argc != 2) { ++ g_printerr("Missing ICC file argument\n"); ++ return 1; ++ } ++ + dpy = XOpenDisplay(NULL); + if (dpy == NULL) { + g_printerr("Cannot open display\n"); +@@ -27,7 +32,7 @@ int main(int argc, char **argv) { + return 1; + } + +- XChangeProperty (dpy, DefaultRootWindow (dpy), icc_atom, XA_CARDINAL, 32, PropModeReplace, profile, length/sizeof(long)); ++ XChangeProperty (dpy, DefaultRootWindow (dpy), icc_atom, XA_CARDINAL, 8, PropModeReplace, profile, length); + + XCloseDisplay (dpy); + return 0; |