aboutsummaryrefslogtreecommitdiff
path: root/ports/libqrencode/remove-deprecated-attribute.patch
diff options
context:
space:
mode:
authorAnatoly Shirokov <anatoly.shirokov@gmail.com>2017-12-21 10:37:02 +0300
committerRobert Schumacher <roschuma@microsoft.com>2017-12-20 23:37:02 -0800
commita0b2767175c20dc446c22a9ce30ed1874d72acdf (patch)
tree949e386ab7cb0c35808e09addb40cdd0e501f8d6 /ports/libqrencode/remove-deprecated-attribute.patch
parentd4b1d19912e919be3516e444331428916e1ff9f0 (diff)
downloadvcpkg-a0b2767175c20dc446c22a9ce30ed1874d72acdf.tar.gz
vcpkg-a0b2767175c20dc446c22a9ce30ed1874d72acdf.zip
Added port libqrencode - a fast and compact QR Code encoding library (#2372)
* https://github.com/Microsoft/vcpkg/issues/2363 * libqrencode: Added necessary new line at end of CONTROL, portfile.cmake, usage files. Added copying the usage file in portfile.cmake, and removed unnecessary DBUILD_SHARED_LIBS as remarked @ras0219-msft * [libqrencode] Adjust usage to match other packages
Diffstat (limited to 'ports/libqrencode/remove-deprecated-attribute.patch')
-rw-r--r--ports/libqrencode/remove-deprecated-attribute.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/ports/libqrencode/remove-deprecated-attribute.patch b/ports/libqrencode/remove-deprecated-attribute.patch
new file mode 100644
index 000000000..1a00c3a3b
--- /dev/null
+++ b/ports/libqrencode/remove-deprecated-attribute.patch
@@ -0,0 +1,16 @@
+ qrencode.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/qrencode.h b/qrencode.h
+index b855f0a..a6d4a29 100644
+--- a/qrencode.h
++++ b/qrencode.h
+@@ -555,7 +555,7 @@ extern char *QRcode_APIVersionString(void);
+ /**
+ * @deprecated
+ */
+-extern void QRcode_clearCache(void) __attribute__ ((deprecated));
++extern void QRcode_clearCache(void);
+
+ #if defined(__cplusplus)
+ }