Revision: 6311
          http://ipcop.svn.sourceforge.net/ipcop/?rev=6311&view=rev
Author:   owes
Date:     2012-02-04 14:43:33 +0000 (Sat, 04 Feb 2012)
Log Message:
-----------
Patch to remove compiler warnings due to zlib 1.2.6

Modified Paths:
--------------
    ipcop/trunk/lfs/module-init-tools

Added Paths:
-----------
    ipcop/trunk/src/patches/module-init-tools-3.16_gzFile-typedef.patch

Modified: ipcop/trunk/lfs/module-init-tools
===================================================================
--- ipcop/trunk/lfs/module-init-tools   2012-02-03 13:29:41 UTC (rev 6310)
+++ ipcop/trunk/lfs/module-init-tools   2012-02-04 14:43:33 UTC (rev 6311)
@@ -85,6 +85,7 @@
 $(TARGET) : $(firstword $(MAKEFILE_LIST)) $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       cd $(DIR_APP) && patch -Np1 -i 
$(DIR_PATCHES)/$(THISAPP)_gzFile-typedef.patch
 
 ifeq "$(RUNNING_TEST)" "yes"
        # A special build is compiled for testing, not suitable for normal 
usage and cleaned at end

Added: ipcop/trunk/src/patches/module-init-tools-3.16_gzFile-typedef.patch
===================================================================
--- ipcop/trunk/src/patches/module-init-tools-3.16_gzFile-typedef.patch         
                (rev 0)
+++ ipcop/trunk/src/patches/module-init-tools-3.16_gzFile-typedef.patch 
2012-02-04 14:43:33 UTC (rev 6311)
@@ -0,0 +1,14 @@
+Patch to remove compile warnings in zlibsupport.c.
+gzFile definition is modified in zlib v1.2.6
+
+--- module-init-tools-3.16/zlibsupport.orig    2012-02-04 10:23:04.000000000 
+0100
++++ module-init-tools-3.16/zlibsupport.c       2012-02-04 10:25:47.000000000 
+0100
+@@ -20,7 +20,7 @@
+ #ifdef CONFIG_USE_ZLIB
+ #include <zlib.h>
+ 
+-void *grab_contents(gzFile *gzfd, unsigned long *size)
++void *grab_contents(gzFile gzfd, unsigned long *size)
+ {
+       unsigned int max = 16384;
+       void *buffer = NOFAIL(malloc(max));

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to