diff options
author | vanilla <vanilla@FreeBSD.org> | 2005-09-25 03:34:43 +0000 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2005-09-25 03:34:43 +0000 |
commit | 59148272919790ee0bfd0cd56ac86e0f446b5aff (patch) | |
tree | d2587e7d92a977593d7acbfd367d46af945d334c /x11-toolkits/etox | |
parent | 4b0c22c4fb839f3cc5583b61a83408a4b9a5da1c (diff) | |
download | FreeBSD-ports-59148272919790ee0bfd0cd56ac86e0f446b5aff.zip FreeBSD-ports-59148272919790ee0bfd0cd56ac86e0f446b5aff.tar.gz |
Add some patchs to make it compatible with current ecore library,
and bump version.
Notified by: kris@
Obtained from: E's cvs
Diffstat (limited to 'x11-toolkits/etox')
-rw-r--r-- | x11-toolkits/etox/Makefile | 1 | ||||
-rw-r--r-- | x11-toolkits/etox/files/patch-src_Etox_private.h | 31 | ||||
-rw-r--r-- | x11-toolkits/etox/files/patch-src_srtle_Etox_style.h | 26 | ||||
-rw-r--r-- | x11-toolkits/etox/files/patch-src_style_etox_style_private.h | 16 |
4 files changed, 74 insertions, 0 deletions
diff --git a/x11-toolkits/etox/Makefile b/x11-toolkits/etox/Makefile index c6aac56..741ad66 100644 --- a/x11-toolkits/etox/Makefile +++ b/x11-toolkits/etox/Makefile @@ -7,6 +7,7 @@ PORTNAME= etox PORTVERSION= 0.9.0.004 +PORTREVISION= 1 CATEGORIES= x11-toolkits MASTER_SITES= http://enlightenment.freedesktop.org/files/ diff --git a/x11-toolkits/etox/files/patch-src_Etox_private.h b/x11-toolkits/etox/files/patch-src_Etox_private.h new file mode 100644 index 0000000..fcb59a3 --- /dev/null +++ b/x11-toolkits/etox/files/patch-src_Etox_private.h @@ -0,0 +1,31 @@ +--- src/Etox_private.h.orig Mon May 24 09:34:45 2004 ++++ src/Etox_private.h Sun Sep 25 11:00:18 2005 +@@ -6,6 +6,28 @@ + #include <Edb.h> + #include "style/Etox_Style.h" + ++#include <stdlib.h> ++#include <stdio.h> ++#include <string.h> ++#include <limits.h> ++ ++#define IF_FREE(ptr) if (ptr) free(ptr); ptr = NULL; ++#define FREE(ptr) free(ptr); ptr = NULL; ++ ++#define CHECK_PARAM_POINTER_RETURN(sparam, param, ret) \ ++ if (!(param)) \ ++ { \ ++ fprintf(stderr, "Fix: func: %s, param: %s\n", __FUNCTION__, sparam); \ ++ return ret; \ ++ } ++ ++#define CHECK_PARAM_POINTER(sparam, param) \ ++ if (!(param)) \ ++ { \ ++ fprintf(stderr, "Fix: func: %s, param: %s\n", __FUNCTION__, sparam); \ ++ return; \ ++ } ++ + typedef enum _etox_flags Etox_Flags; + enum _etox_flags + { diff --git a/x11-toolkits/etox/files/patch-src_srtle_Etox_style.h b/x11-toolkits/etox/files/patch-src_srtle_Etox_style.h new file mode 100644 index 0000000..e2c71d4 --- /dev/null +++ b/x11-toolkits/etox/files/patch-src_srtle_Etox_style.h @@ -0,0 +1,26 @@ +--- src/style/Etox_Style.h.orig Sun Sep 25 10:48:36 2005 ++++ src/style/Etox_Style.h Sun Sep 25 11:01:48 2005 +@@ -4,6 +4,23 @@ + #include <Edb.h> + #include <Evas.h> + ++#define IF_FREE(ptr) if (ptr) free(ptr); ptr = NULL; ++#define FREE(ptr) free(ptr); ptr = NULL; ++ ++#define CHECK_PARAM_POINTER_RETURN(sparam, param, ret) \ ++ if (!(param)) \ ++ { \ ++ fprintf(stderr, "Fix: func: %s, param: %s\n", __FUNCTION__, sparam); \ ++ return ret; \ ++ } ++ ++#define CHECK_PARAM_POINTER(sparam, param) \ ++ if (!(param)) \ ++ { \ ++ fprintf(stderr, "Fix: func: %s, param: %s\n", __FUNCTION__, sparam); \ ++ return; \ ++ } ++ + + #ifdef __cplusplus + extern "C" diff --git a/x11-toolkits/etox/files/patch-src_style_etox_style_private.h b/x11-toolkits/etox/files/patch-src_style_etox_style_private.h new file mode 100644 index 0000000..728a39c --- /dev/null +++ b/x11-toolkits/etox/files/patch-src_style_etox_style_private.h @@ -0,0 +1,16 @@ +--- src/style/etox_style_private.h.orig Sun Sep 25 11:07:21 2005 ++++ src/style/etox_style_private.h Sun Sep 25 11:02:44 2005 +@@ -2,7 +2,13 @@ + #define _ETOX_STYLE_PRIVATE_H + + #include <Ecore.h> ++#include <Ecore_Data.h> + #include "Etox_Style.h" ++ ++#include <stdlib.h> ++#include <stdio.h> ++#include <string.h> ++#include <limits.h> + + /* + * The etox_style holds all information necessary for display and layout of the text |