Date: Sunday, October 19, 2014 @ 21:25:05 Author: bisson Revision: 120981
fix crypt patch Modified: thttpd/trunk/PKGBUILD thttpd/trunk/crypt.patch -------------+ PKGBUILD | 4 ++-- crypt.patch | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-10-19 16:44:56 UTC (rev 120980) +++ PKGBUILD 2014-10-19 19:25:05 UTC (rev 120981) @@ -5,7 +5,7 @@ pkgname=thttpd pkgver=2.26 -pkgrel=2 +pkgrel=3 pkgdesc='Simple, small, portable, fast, and secure HTTP server' url='http://www.acme.com/software/thttpd/' license=('custom:BSD') @@ -20,7 +20,7 @@ sha1sums=('6acdc827203ab5878743cf0efee818d796ff740e' '1293fbaf83a489c65d6d2b107d797c687233d96a' 'b954028d4360ad856f7fb1edc8534f0652f33d20' - 'ca0779709fe8e765797ad127e49db635a6494763' + 'f943575eaa53043df9344a81acb932a4977eacee' '73bd76de0e89a9cc31e5605659837d83b3c8dfde' '7a6413491b6ba68625d450caa3c6f071af0ca1ac') Modified: crypt.patch =================================================================== --- crypt.patch 2014-10-19 16:44:56 UTC (rev 120980) +++ crypt.patch 2014-10-19 19:25:05 UTC (rev 120981) @@ -1,11 +1,11 @@ -diff -Naur old/libhttpd.c new/libhttpd.c ---- old/libhttpd.c 2014-08-05 07:41:30.000000000 +0900 -+++ new/libhttpd.c 2014-08-15 17:33:40.810796296 +0900 -@@ -54,6 +54,7 @@ - #include <syslog.h> - #include <unistd.h> - #include <stdarg.h> -+#include <crypt.h> +diff -Naur old/extras/htpasswd.c new/extras/htpasswd.c +--- old/extras/htpasswd.c 2014-10-18 11:18:43.299358982 -1000 ++++ new/extras/htpasswd.c 2014-10-18 11:19:05.859440475 -1000 +@@ -8,6 +8,7 @@ + ** if stdin is a pipe or file. This is necessary for use from CGI. + */ - #ifdef HAVE_OSRELDATE_H - #include <osreldate.h> ++#define _XOPEN_SOURCE + #include <sys/types.h> + #include <stdio.h> + #include <string.h>
