source:
patches/module-init-tools-3.15-zlib_fix-1.patch@
5617c2c
Last change on this file since 5617c2c was 8ac1263, checked in by , 13 years ago | |
---|---|
|
|
File size: 1.3 KB |
-
module-init-tools-3.15
Submitted By: Jonathan Norman (jonathan at bluesquarelinux dot co dot uk) Date: 2012-02-18 Initial Package Version: 3.15 Origin: Upstream Upstream Status: Applied Description: Patch to remove compiler warnings due to zlib 1.2.6 diff -Naur module-init-tools-3.15.orig/testing.h module-init-tools-3.15/testing.h
old new 227 227 228 228 #ifdef CONFIG_USE_ZLIB 229 229 #include <zlib.h> 230 static gzFile *modtest_gzopen(const char *path, const char *mode)230 static gzFile modtest_gzopen(const char *path, const char *mode) 231 231 __attribute__((unused)); 232 232 233 static gzFile *modtest_gzopen(const char *path, const char *mode)233 static gzFile modtest_gzopen(const char *path, const char *mode) 234 234 { 235 235 char path_buf[PATH_MAX]; 236 236 -
module-init-tools-3.15
diff -Naur module-init-tools-3.15.orig/zlibsupport.c module-init-tools-3.15/zlibsupport.c
old new 20 20 #ifdef CONFIG_USE_ZLIB 21 21 #include <zlib.h> 22 22 23 void *grab_contents(gzFile *gzfd, unsigned long *size)23 void *grab_contents(gzFile gzfd, unsigned long *size) 24 24 { 25 25 unsigned int max = 16384; 26 26 void *buffer = NOFAIL(malloc(max));
Note:
See TracBrowser
for help on using the repository browser.