diff options
author | miwi <miwi@FreeBSD.org> | 2011-06-27 23:32:43 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2011-06-27 23:32:43 +0800 |
commit | 68b175b0e2e68911ed03120007a92fb8c7ffa1ed (patch) | |
tree | 063f20bbb2e119b607619783d292ad9295c94d09 /graphics/pinpoint/files | |
parent | 28fbadffa05ab9d9d53407f1b9d07c143f58bfe8 (diff) | |
download | freebsd-ports-gnome-68b175b0e2e68911ed03120007a92fb8c7ffa1ed.tar.gz freebsd-ports-gnome-68b175b0e2e68911ed03120007a92fb8c7ffa1ed.tar.zst freebsd-ports-gnome-68b175b0e2e68911ed03120007a92fb8c7ffa1ed.zip |
Pinpoint a simple presentation tool that hopes to avoid audience death
by bullet point and instead encourage presentations containing beautiful
images and small amounts of concise text in slides.
WWW: http://live.gnome.org/Pinpoint
PR: ports/158309
Submitted by: lichray at gmail.com
Diffstat (limited to 'graphics/pinpoint/files')
-rw-r--r-- | graphics/pinpoint/files/patch-pinpoint.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/graphics/pinpoint/files/patch-pinpoint.c b/graphics/pinpoint/files/patch-pinpoint.c new file mode 100644 index 000000000000..284cda444560 --- /dev/null +++ b/graphics/pinpoint/files/patch-pinpoint.c @@ -0,0 +1,24 @@ +--- pinpoint.c.orig 2011-05-23 07:49:55.000000000 -0500 ++++ pinpoint.c 2011-06-26 04:23:53.780817124 -0500 +@@ -31,6 +31,21 @@ + + #include "pinpoint.h" + ++#ifndef __GLIBC__ ++/* ref: http://lists.freebsd.org/pipermail/freebsd-ports/2009-June/055131.html */ ++ ++char *strchrnul(const char *s, int c) { ++ char *i; ++ for (i = (char*)s; *i != '\0'; ++i) { ++ if (*i == c) { ++ return i; ++ } ++ } ++ return i; ++} ++ ++#endif ++ + GList *pp_slides = NULL; /* list of slide text */ + GList *pp_slidep = NULL; /* current slide */ + |