diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2016-11-18 03:34:24 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2016-11-18 03:34:24 +0000 |
commit | 8c3b7a9bf3fe612e229fe646fbc27d648158ab82 (patch) | |
tree | b272ede3b5d7af8aabac499ca5be7271e932cc92 /graphics/zphoto | |
parent | fc674fdbd49ad66335ec4c6d27df34cc33b9df92 (diff) | |
download | ports-8c3b7a9bf3fe612e229fe646fbc27d648158ab82.tar.gz ports-8c3b7a9bf3fe612e229fe646fbc27d648158ab82.zip |
Notes
Diffstat (limited to 'graphics/zphoto')
-rw-r--r-- | graphics/zphoto/files/patch-image.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/graphics/zphoto/files/patch-image.cpp b/graphics/zphoto/files/patch-image.cpp new file mode 100644 index 000000000000..68e00e71744d --- /dev/null +++ b/graphics/zphoto/files/patch-image.cpp @@ -0,0 +1,13 @@ +--- image.cpp.orig 2004-07-20 16:48:11 UTC ++++ image.cpp +@@ -554,8 +554,8 @@ restore_mtime (const char *file_name, ti + static int + convert_needed_p (const char *src, const char *dest) + { +- char *suffix1 = strrchr(src, '.'); +- char *suffix2 = strrchr(dest, '.'); ++ const char *suffix1 = strrchr(src, '.'); ++ const char *suffix2 = strrchr(dest, '.'); + + return strcmp(suffix1, suffix2) != 0; + } |