Author: cactus                       Date: Fri Aug 28 14:31:37 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 5; with getline patch

---- Files affected:
packages/mathopd:
   mathopd.spec (1.29 -> 1.30) , mathopd-getline.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mathopd/mathopd.spec
diff -u packages/mathopd/mathopd.spec:1.29 packages/mathopd/mathopd.spec:1.30
--- packages/mathopd/mathopd.spec:1.29  Tue Feb 13 07:46:53 2007
+++ packages/mathopd/mathopd.spec       Fri Aug 28 16:31:31 2009
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):     Szybki, nieduży, nie forkujący się serwer HTTP
 Name:          mathopd
 Version:       1.5
-Release:       4
+Release:       5
 License:       BSD
 Group:         Networking
 Source0:       http://www.mathopd.org/dist/%{name}-%{version}p3.tar.gz
@@ -12,6 +12,7 @@
 Source2:       %{name}.conf
 Source3:       http://www.mathopd.org/dist/dir_cgi.c.txt
 URL:           http://www.mathopd.org/
+Patch0:                %{name}-getline.patch
 BuildRequires: rpmbuild(macros) >= 1.268
 Requires(post,preun):  /sbin/chkconfig
 Requires(postun):      /usr/sbin/groupdel
@@ -42,6 +43,7 @@
 
 %prep
 %setup -q -n %{name}-%{version}p3
+%patch0 -p1
 
 cp -f %{SOURCE3}  dir_cgi.c
 
@@ -101,6 +103,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2009/08/28 14:31:31  cactus
+- rel 5; with getline patch
+
 Revision 1.29  2007/02/13 06:46:53  glen
 - tabs in preamble
 

================================================================
Index: packages/mathopd/mathopd-getline.patch
diff -u /dev/null packages/mathopd/mathopd-getline.patch:1.1
--- /dev/null   Fri Aug 28 16:31:37 2009
+++ packages/mathopd/mathopd-getline.patch      Fri Aug 28 16:31:31 2009
@@ -0,0 +1,29 @@
+--- mathopd-1.5p3/src/request.c.orig   2009-08-28 16:21:31.000000000 +0200
++++ mathopd-1.5p3/src/request.c        2009-08-28 16:22:54.000000000 +0200
+@@ -209,7 +209,7 @@
+       return buf;
+ }
+ 
+-static char *getline(struct pool *p, int fold)
++static char *_getline(struct pool *p, int fold)
+ {
+       char *s, *olds, *sp, *end;
+       int f;
+@@ -1090,7 +1090,7 @@
+       unsigned long cl;
+ 
+       do {
+-              l = getline(&r->cn->header_input, 0);
++              l = _getline(&r->cn->header_input, 0);
+               if (l == 0)
+                       return -1;
+       } while (*l == 0);
+@@ -1119,7 +1119,7 @@
+       if (r->protocol_major && r->protocol_minor)
+               r->cn->keepalive = 1;
+       n = 0;
+-      while ((l = getline(&r->cn->header_input, 1)) != 0) {
++      while ((l = _getline(&r->cn->header_input, 1)) != 0) {
+               s = strchr(l, ':');
+               if (s == 0)
+                       continue;
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mathopd/mathopd.spec?r1=1.29&r2=1.30&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to