summaryrefslogtreecommitdiff
path: root/graphics/flphoto/files/patch-http-md5.cxx
diff options
context:
space:
mode:
authorMatthias Andree <mandree@FreeBSD.org>2012-12-22 11:51:49 +0000
committerMatthias Andree <mandree@FreeBSD.org>2012-12-22 11:51:49 +0000
commitf3773e93eb758b46c34fe3eb0a44d941e03a3705 (patch)
tree0c59b9ecf2afafeb480f2f48bb5e4057f08ebdc3 /graphics/flphoto/files/patch-http-md5.cxx
parentUpdate to 20121205 (diff)
Fix build with CUPS [1], and assorted other fixes:
- #include <cups/ppd.h> [1] - remove gphoto2 and fltk ABI versions from LIB_DEPENDS, to quiet portlint - fix int-vs-long format string Clang compiler warning in espmsg.c - declare static char *hex const in http-md5.cxx to fix non-writable string literal Clang warning Submitted by: Hans Petter Selasky [1]
Diffstat (limited to '')
-rw-r--r--graphics/flphoto/files/patch-http-md5.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/graphics/flphoto/files/patch-http-md5.cxx b/graphics/flphoto/files/patch-http-md5.cxx
new file mode 100644
index 000000000000..c11fc62e6f1b
--- /dev/null
+++ b/graphics/flphoto/files/patch-http-md5.cxx
@@ -0,0 +1,11 @@
+--- ./http-md5.cxx.orig 2012-12-22 12:42:25.000000000 +0100
++++ ./http-md5.cxx 2012-12-22 12:42:28.000000000 +0100
+@@ -120,7 +120,7 @@
+ {
+ int i; /* Looping var */
+ char *md5ptr; /* Pointer into MD5 string */
+- static char *hex = "0123456789abcdef"; /* Hex digits */
++ static char const *hex = "0123456789abcdef"; /* Hex digits */
+
+
+ /*