]> git.pld-linux.org Git - packages/apache-mod_spdy.git/commitdiff
system zlib patch from gentoo auto/th/apache-mod_spdy-0.9.3.3-1
authorElan Ruusamäe <glen@delfi.ee>
Mon, 9 Dec 2013 20:33:47 +0000 (22:33 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 9 Dec 2013 20:33:47 +0000 (22:33 +0200)
apache-mod_spdy.spec
system-zlib.patch [new file with mode: 0644]

index ded1b952c837eda6971d83b68a3355135a33c009..f0e58069aa433a886ff09e24369bc7c48e2ae071 100644 (file)
@@ -4,7 +4,7 @@
 
 %define                mod_name        spdy
 %define        apxs            %{_sbindir}/apxs
-Summary:       Apache module to enable SPDY support
+Summary:       Apache module to enable SPDY support
 Name:          apache-mod_%{mod_name}
 Version:       0.9.3.3
 Release:       1
@@ -17,6 +17,7 @@ Source2:      gclient.conf
 Patch0:                gyp.patch
 Patch1:                log-constants.patch
 Patch2:                apache2.4.patch
+Patch3:                system-zlib.patch
 URL:           http://code.google.com/p/mod-spdy/
 BuildRequires: %{apxs}
 BuildRequires: apache-devel >= 2.2
@@ -38,6 +39,7 @@ the SPDY protocol for serving HTTP resources.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 CC="%{__cc}" \
diff --git a/system-zlib.patch b/system-zlib.patch
new file mode 100644 (file)
index 0000000..7975668
--- /dev/null
@@ -0,0 +1,39 @@
+--- src/third_party/zlib/zlib.gyp
++++ src/third_party/zlib/zlib.gyp
+@@ -81,14 +81,6 @@
+           'defines': [
+             'USE_SYSTEM_ZLIB',
+           ],
+-          'sources': [
+-            'contrib/minizip/ioapi.c',
+-            'contrib/minizip/ioapi.h',
+-            'contrib/minizip/unzip.c',
+-            'contrib/minizip/unzip.h',
+-            'contrib/minizip/zip.c',
+-            'contrib/minizip/zip.h',
+-          ],
+           'conditions': [
+             ['OS=="android"', {
+               'toolsets': ['target', 'host'],
+@@ -97,6 +89,7 @@
+           'link_settings': {
+             'libraries': [
+               '-lz',
++              '-lminizip',
+             ],
+           },
+         }],
+
+https://code.google.com/p/mod-spdy/issues/detail?id=71
+
+--- src/build/common.gypi
++++ src/build/common.gypi
+@@ -25,7 +25,7 @@
+     # (Chromium already has transitive dependencies on these libraries
+     # via gtk). We want to link these libraries into our binaries so
+     # we change the default behavior.
+-    'use_system_zlib': 0,
++    'use_system_zlib%': 0,
+     'use_system_apache_dev%': 0,
+     # Putting a variables dict inside another variables dict looks kind of
This page took 0.12299 seconds and 4 git commands to generate.