[arch-commits] Commit in lighttpd/trunk (PKGBUILD disable_warning.patch)
Pierre Schmitz
pierre at archlinux.org
Mon Oct 26 20:45:28 UTC 2009
Date: Monday, October 26, 2009 @ 16:45:28
Author: pierre
Revision: 56745
disable meaningless warning
Added:
lighttpd/trunk/disable_warning.patch
Modified:
lighttpd/trunk/PKGBUILD
-----------------------+
PKGBUILD | 12 +++++++-----
disable_warning.patch | 15 +++++++++++++++
2 files changed, 22 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-10-26 17:58:41 UTC (rev 56744)
+++ PKGBUILD 2009-10-26 20:45:28 UTC (rev 56745)
@@ -13,20 +13,22 @@
optdepends=('libxml2: mod_webdav'
'lua: mod_cml/mod_magnet'
'libmysqlclient: mod_mysql_vhost'
- 'sqlite3: mod_webdav'
- )
+ 'sqlite3: mod_webdav')
backup=('etc/lighttpd/lighttpd.conf' 'etc/logrotate.d/lighttpd')
options=('!libtool' 'emptydirs')
source=("http://www.lighttpd.net/download/lighttpd-${pkgver}.tar.bz2"
- 'lighttpd.rc.d' 'lighttpd.logrotate.d')
-
+ 'lighttpd.rc.d' 'lighttpd.logrotate.d'
+ 'disable_warning.patch')
md5sums=('e2324a24e4a5bce74663c21c58ddd200'
'789ed1b4521e72e591e09d5dfb99235a'
- '857e174643fd7761a2f0d8431a679f6c')
+ '857e174643fd7761a2f0d8431a679f6c'
+ '399c18c37c0f2c6750ac103b2bf2f886')
build() {
cd $srcdir/$pkgname-$pkgver
+ patch -p0 -i $srcdir/disable_warning.patch || return 1
+
./configure --prefix=/usr \
--libexecdir=/usr/lib/lighttpd/modules \
--sysconfdir=/etc/lighttpd \
Added: disable_warning.patch
===================================================================
--- disable_warning.patch (rev 0)
+++ disable_warning.patch 2009-10-26 20:45:28 UTC (rev 56745)
@@ -0,0 +1,15 @@
+Index: src/connections.c
+===================================================================
+--- src/connections.c (revision 2683)
++++ src/connections.c (revision 2684)
+@@ -1250,8 +1250,10 @@
+
+ if (b > 0) {
+ char buf[1024];
++#if 0
+ log_error_write(srv, __FILE__, __LINE__, "sdd",
+ "CLOSE-read()", con->fd, b);
++#endif
+
+ /* */
+ read(con->fd, buf, sizeof(buf));
More information about the arch-commits
mailing list