]> git.pld-linux.org Git - packages/apache-mod_pagespeed.git/commitdiff
- fix building with current glibc
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 21 Nov 2015 09:34:53 +0000 (10:34 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 21 Nov 2015 09:34:53 +0000 (10:34 +0100)
- rel 2

addrinfo.patch [new file with mode: 0644]
apache-mod_pagespeed.spec

diff --git a/addrinfo.patch b/addrinfo.patch
new file mode 100644 (file)
index 0000000..858648f
--- /dev/null
@@ -0,0 +1,18 @@
+--- third_party/boringssl/src/crypto/bio/socket_helper.c~      2015-07-14 01:16:57.000000000 +0200
++++ third_party/boringssl/src/crypto/bio/socket_helper.c       2015-11-21 10:25:59.264814432 +0100
+@@ -12,7 +12,6 @@
+  * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+  * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
+-#define _POSIX_SOURCE
+ #include <openssl/bio.h>
+ #include <openssl/err.h>
+@@ -22,6 +22,7 @@
+ #include <sys/types.h>
+ #if !defined(OPENSSL_WINDOWS)
++#include <sys/socket.h>
+ #include <netdb.h>
+ #include <unistd.h>
+ #else
index 71be2ae72817f0c62eba3cf6c129476f99c2b9de..163415770b4b16b7631f3c10893aa1ed535c8a04 100644 (file)
@@ -51,7 +51,7 @@ Name:         apache-mod_%{mod_name}
 # beta: 1.9.32.x-beta
 # stable: 1.9.32.x-stable
 Version:       1.9.32.4
-Release:       1
+Release:       2
 License:       Apache v2.0
 Group:         Networking/Daemons/HTTP
 Source0:       modpagespeed-%{version}.tar.xz
@@ -59,6 +59,7 @@ Source0:      modpagespeed-%{version}.tar.xz
 Source1:       get-source.sh
 Source2:       gclient.conf
 Patch0:                system-libs.patch
+Patch1:                addrinfo.patch
 Patch2:                bug-632.patch
 Patch4:                no-dev-stdout.patch
 Patch5:                apache24-config.patch
@@ -111,6 +112,7 @@ site is maintained.
 %prep
 %setup -q -n modpagespeed-%{version}
 %patch0 -p2
+%patch1 -p0
 %patch2 -p1
 %patch4 -p1
 %patch5 -p1
This page took 0.111878 seconds and 4 git commands to generate.