]> git.pld-linux.org Git - packages/camwire.git/commitdiff
- added format patch (adjust declarations of buffer sizes when one will contain the... auto/th/camwire-2.0.0-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 8 Aug 2019 15:07:50 +0000 (17:07 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 8 Aug 2019 15:07:50 +0000 (17:07 +0200)
camwire-format.patch [new file with mode: 0644]
camwire.spec

diff --git a/camwire-format.patch b/camwire-format.patch
new file mode 100644 (file)
index 0000000..270e2f9
--- /dev/null
@@ -0,0 +1,11 @@
+--- camwire2-2.0.0-Source/examples/cammonitor/cammonitor.c.orig        2011-04-13 00:13:21.000000000 +0200
++++ camwire2-2.0.0-Source/examples/cammonitor/cammonitor.c     2019-08-08 16:34:30.242313655 +0200
+@@ -57,7 +57,7 @@
+ #define DEFAULT_SAVE_DELAY    0.0
+ #define SAFE_FRAME_PERIOD     1.5
+ #define MAX_FILENAME          1000
+-#define MAX_MESSAGE           1000
++#define MAX_MESSAGE           1200
+ #define MAX_IMAGE_HEADER      200
+ #define MAX_TIMESTAMP         50
+ #define MAX_KEY_INPUT         100
index 19e8a6b8958a662242d56ba643c64fd3d2fb60da..77381d972bd9ef642c4cfd359cd4c41b2a8651a5 100644 (file)
@@ -12,6 +12,7 @@ Patch0:               %{name}-link.patch
 Patch1:                %{name}-etc.patch
 Patch2:                %{name}-lib.patch
 Patch3:                %{name}-bogus-inline.patch
+Patch4:                %{name}-format.patch
 URL:           http://kauri.auck.irl.cri.nz/~johanns/camwire/
 BuildRequires: SDL-devel
 BuildRequires: cmake >= 2.6
@@ -77,6 +78,7 @@ Camwire.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 # disable unused-result warning, compilation failure with -Werror
This page took 0.127774 seconds and 4 git commands to generate.