aports/unmaintained/php-suhosin/0001-php_flock-undefined-variable-fix.patch
Carlo Landmeter b6af1e02ef testing/[multiple]: move unmaintained packages
This moves all packages from testing to unmaintained which have not been
updated for atleast 6 months. If you are affected by this commit please follow
this proceddure:

* make sure your packages build on all architectures
* move your pacakge(s) back to testing
* if you want to keep this package and can maintain it (or find somebody to
  maintain it for you) for a minimum of 6 months ask it to be moved to community
2016-08-25 15:26:24 +02:00

28 lines
551 B
Diff

From 2979ca419e3c38252384e6b4a23c53736645542a Mon Sep 17 00:00:00 2001
From: "V.Krishn" <vkrishn4@gmail.com>
Date: Tue, 16 Feb 2016 20:33:31 +0530
Subject: [PATCH] php_flock undefined variable fix
---
log.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/log.c b/log.c
index eae3841..77cbfa7 100644
--- a/log.c
+++ b/log.c
@@ -30,6 +30,9 @@
#include <fcntl.h>
#include "SAPI.h"
#include "ext/standard/datetime.h"
+
+#define LOCK_EX 2
+#define LOCK_UN 3
#include "ext/standard/flock_compat.h"
#ifdef HAVE_SYS_SOCKET_H
--
1.7.10.4