diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:23:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 06:23:09 +0000 |
commit | 2b1bf113c14ff001ed6ba4fc8b09c72a1bcfd6b0 (patch) | |
tree | 4358ff30f29d4cacb2992ec6b4fce360dace2853 /debian/patches/use_fcntl_locking.patch | |
parent | Adding upstream version 1.7.2. (diff) | |
download | apr-2b1bf113c14ff001ed6ba4fc8b09c72a1bcfd6b0.tar.xz apr-2b1bf113c14ff001ed6ba4fc8b09c72a1bcfd6b0.zip |
Adding debian version 1.7.2-3.debian/1.7.2-3
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/use_fcntl_locking.patch')
-rw-r--r-- | debian/patches/use_fcntl_locking.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/use_fcntl_locking.patch b/debian/patches/use_fcntl_locking.patch new file mode 100644 index 0000000..cedb611 --- /dev/null +++ b/debian/patches/use_fcntl_locking.patch @@ -0,0 +1,22 @@ +# use flock for apr_file_lock/_unlock() +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=752872 +--- apr.orig/file_io/unix/flock.c ++++ apr/file_io/unix/flock.c +@@ -27,7 +27,7 @@ APR_DECLARE(apr_status_t) apr_file_lock( + { + int rc; + +-#if defined(HAVE_FCNTL_H) ++#if 0 && defined(HAVE_FCNTL_H) + { + struct flock l = { 0 }; + int fc; +@@ -86,7 +86,7 @@ APR_DECLARE(apr_status_t) apr_file_unloc + { + int rc; + +-#if defined(HAVE_FCNTL_H) ++#if 0 && defined(HAVE_FCNTL_H) + { + struct flock l = { 0 }; + |