mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
Add some patchs to make it compatible with current ecore library,
and bump version. Notified by: kris@ Obtained from: E's cvs
This commit is contained in:
parent
393ec32227
commit
3007ae14cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143508
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= etox
|
||||
PORTVERSION= 0.9.0.004
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= x11-toolkits
|
||||
MASTER_SITES= http://enlightenment.freedesktop.org/files/
|
||||
|
||||
|
31
x11-toolkits/etox/files/patch-src_Etox_private.h
Normal file
31
x11-toolkits/etox/files/patch-src_Etox_private.h
Normal file
@ -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
|
||||
{
|
26
x11-toolkits/etox/files/patch-src_srtle_Etox_style.h
Normal file
26
x11-toolkits/etox/files/patch-src_srtle_Etox_style.h
Normal file
@ -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"
|
16
x11-toolkits/etox/files/patch-src_style_etox_style_private.h
Normal file
16
x11-toolkits/etox/files/patch-src_style_etox_style_private.h
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user