wok rev 4241

Up: notecase (1.9.8) + fix build wuth gcc 4.x
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Sep 24 19:11:22 2009 +0000 (2009-09-24)
parents 8ab3c7c0c8d5
children da1f31fbbf36
files notecase/receipt notecase/stuff/notecase-1.9.8_gcc4.u
line diff
     1.1 --- a/notecase/receipt	Thu Sep 24 20:45:53 2009 +0200
     1.2 +++ b/notecase/receipt	Thu Sep 24 19:11:22 2009 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt
     1.5  
     1.6  PACKAGE="notecase"
     1.7 -VERSION="1.9.3"
     1.8 +VERSION="1.9.8"
     1.9  CATEGORY="office"
    1.10  SHORT_DESC="Hierarchical note manager (aka. outliner)."
    1.11  MAINTAINER="cooltaz@fastmail.fm"
    1.12 @@ -14,6 +14,7 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {	
    1.16 +	busybox patch -p0 -i stuff/notecase-1.9.8_gcc4.u || exit 1
    1.17  	cd $src
    1.18  	# Disable gnome-vfs support
    1.19  	sed -i /'AUTODETECT_GNOME_VFS=1'/d Makefile
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/notecase/stuff/notecase-1.9.8_gcc4.u	Thu Sep 24 19:11:22 2009 +0000
     2.3 @@ -0,0 +1,20 @@
     2.4 +--- notecase-1.9.8-ori/src/_unx/ExecuteFile.cpp	Fri Oct 24 18:54:50 2008
     2.5 ++++ notecase-1.9.8/src/_unx/ExecuteFile.cpp	Thu Sep 24 19:00:03 2009
     2.6 +@@ -15,6 +15,7 @@
     2.7 + #include <vector>
     2.8 + #include <algorithm>
     2.9 + #include <string.h>
    2.10 ++#include <cstdio>
    2.11 + 
    2.12 + #if defined(HAVE_GNOME_VFS)
    2.13 +  #include <libgnomevfs/gnome-vfs.h>
    2.14 +--- notecase-1.9.8-ori/src/lib/IniFile.cpp	Fri Oct 24 18:54:50 2008
    2.15 ++++ notecase-1.9.8/src/lib/IniFile.cpp	Thu Sep 24 18:50:13 2009
    2.16 +@@ -9,6 +9,7 @@
    2.17 + #include "IniFile.h"
    2.18 + #include <algorithm>    //find() function
    2.19 + #include <string>
    2.20 ++#include <cstdio>
    2.21 + #include "File64.h"
    2.22 + #include "FilePath.h"
    2.23 + #include "debug.h"