packages: gqcam/gqcam.spec, gqcam/fixes.patch (NEW) - fix fatal error, miss...

glen glen at pld-linux.org
Thu Dec 29 22:36:23 CET 2011


Author: glen                         Date: Thu Dec 29 21:36:23 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fix fatal error, missing arg for strnlen

---- Files affected:
packages/gqcam:
   gqcam.spec (1.15 -> 1.16) , fixes.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/gqcam/gqcam.spec
diff -u packages/gqcam/gqcam.spec:1.15 packages/gqcam/gqcam.spec:1.16
--- packages/gqcam/gqcam.spec:1.15	Thu Dec 29 22:34:43 2011
+++ packages/gqcam/gqcam.spec	Thu Dec 29 22:36:18 2011
@@ -1,6 +1,4 @@
 # $Revision$, $Date$
-# TODO
-# - v4l1 patch needed
 Summary:	A Linux clone of the QuickPict software that comes with the QuickCam
 Summary(pl.UTF-8):	Linuksowy klon oprogramowania QuickPict przychodzącego z QuickCam
 Name:		gqcam
@@ -13,6 +11,7 @@
 Patch0:		ftp://ftp.debian.org/debian/pool/main/g/gqcam/%{name}_%{version}-4.diff.gz
 # Patch0-md5:	7ab126a358fe2147a9f5a217b8b99c6c
 Patch1:		no-more-videodev_h.patch
+Patch2:		fixes.patch
 URL:		http://cse.unl.edu/~cluening/gqcam/
 BuildRequires:	gtk+-devel
 BuildRequires:	libjpeg-devel
@@ -67,6 +66,7 @@
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 %{__make} \
@@ -92,6 +92,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2011/12/29 21:36:18  glen
+- fix fatal error, missing arg for strnlen
+
 Revision 1.15  2011/12/29 21:34:43  glen
 - v4l1 patching
 

================================================================
Index: packages/gqcam/fixes.patch
diff -u /dev/null packages/gqcam/fixes.patch:1.1
--- /dev/null	Thu Dec 29 22:36:23 2011
+++ packages/gqcam/fixes.patch	Thu Dec 29 22:36:18 2011
@@ -0,0 +1,11 @@
+--- gqcam-0.9.1/timer.c~	2011-12-29 23:32:33.000000000 +0200
++++ gqcam-0.9.1/timer.c	2011-12-29 23:33:14.636960876 +0200
+@@ -81,7 +81,7 @@
+ 
+   camera->on_timer = 1;
+   
+-  if(strnlen(gtk_entry_get_text(GTK_ENTRY(camera->timer_struct.commandentry))) != 0){
++  if(strlen(gtk_entry_get_text(GTK_ENTRY(camera->timer_struct.commandentry))) != 0){
+     strcpy(camera->timer_struct.command, gtk_entry_get_text(GTK_ENTRY(camera->timer_struct.commandentry)));
+     camera->timer_struct.iscommand = 1;
+   }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gqcam/gqcam.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list