summaryrefslogtreecommitdiff
path: root/textproc/iiimf-server/files/patch-iiimsf_src_lexmlconf.cpp
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2011-05-01 19:29:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2011-05-01 19:29:59 +0000
commit47a21a54dded355a183053151eb0aa400170db5c (patch)
tree60c1235403e2605e88b677bb091a766f56be9e24 /textproc/iiimf-server/files/patch-iiimsf_src_lexmlconf.cpp
parentRemoved ports that depends on iiimf expired ports + they are abandonware (diff)
Remove unmaintained expired ports from textproc
2011-05-01 textproc/ctpp: Deprecated please use ctpp2 textproc/ctpp2 2011-05-01 textproc/dsssl-docbook-cygnus: Distfile is no more available 2011-05-01 textproc/fdp-tools: Distfile is no more available 2011-05-01 textproc/gtkdiff: Upstream disapear and distfile is no more available 2011-05-01 textproc/iiimf-client-lib: Upstream disapear and distfile is no more available 2011-05-01 textproc/iiimf-csconv: Upstream disapear and distfile is no more available 2011-05-01 textproc/iiimf-headers: Upstream disapear and distfile is no more available 2011-05-01 textproc/iiimf-le-unit: Upstream disapear and distfile is no more available 2011-05-01 textproc/iiimf-protocol-lib: Upstream disapear and distfile is no more available 2011-05-01 textproc/iiimf-server: Upstream disapear and distfile is no more available 2011-05-01 textproc/iiimf-x: Upstream disapear and distfile is no more available 2011-05-01 textproc/iiimf-x-lib: Upstream disapear and distfile is no more available 2011-05-01 textproc/maketeidtd: Upstream disapear and distfile is no more available 2011-05-01 textproc/minidom: Upstream disapear and distfile is no more available 2011-05-01 textproc/ocaml-yaxpo: Upstream disapear and distfile is no more available 2011-05-01 textproc/p5-LJ-SpellCheck: Upstream disapear and distfile is no more available 2011-05-01 textproc/py-HyperText: Upstream disapear and distfile is no more available 2011-05-01 textproc/smartdoc: Upstream disapear and distfile is no more available 2011-05-01 textproc/xmlpp: Upstream disapear and distfile is no more available
Notes
Notes: svn path=/head/; revision=273411
Diffstat (limited to 'textproc/iiimf-server/files/patch-iiimsf_src_lexmlconf.cpp')
-rw-r--r--textproc/iiimf-server/files/patch-iiimsf_src_lexmlconf.cpp66
1 files changed, 0 insertions, 66 deletions
diff --git a/textproc/iiimf-server/files/patch-iiimsf_src_lexmlconf.cpp b/textproc/iiimf-server/files/patch-iiimsf_src_lexmlconf.cpp
deleted file mode 100644
index ad0fb280089c..000000000000
--- a/textproc/iiimf-server/files/patch-iiimsf_src_lexmlconf.cpp
+++ /dev/null
@@ -1,66 +0,0 @@
---- iiimsf/src/lexmlconf.cpp.orig Fri Apr 22 16:53:03 2005
-+++ iiimsf/src/lexmlconf.cpp Mon May 16 19:00:55 2005
-@@ -114,6 +114,7 @@
- list = (IIIMLEInfoList *)malloc(sizeof (IIIMLEInfoList) * 1);
- list->data = leinfo;
- list->next = NULL;
-+ list->prev = NULL;
-
- return list;
- }
-@@ -128,6 +129,7 @@
- if (list != NULL) {
- for (ll = list; ll->next != NULL; ll = ll->next);
- ll->next = l;
-+ l->prev = ll;
- ll = list;
- } else {
- ll = l;
-@@ -144,7 +146,12 @@
-
- l = iiim_le_info_list_new(leinfo);
- if (list != NULL) {
-+ if (list->prev != NULL) {
-+ list->prev->next = l;
-+ }
- l->next = list;
-+ l->prev = list->prev;
-+ list->prev = l;
- }
-
- return l;
-@@ -154,22 +161,19 @@
- iiim_le_info_list_remove(IIIMLEInfoList *list,
- IIIMLEInfo *leinfo)
- {
-- IIIMLEInfoList *tmp, *prev = NULL;
-+ IIIMLEInfoList *prev, *next;
-
-- tmp = list;
-- while (tmp) {
-- if (tmp->data == leinfo) {
-- if (prev)
-- prev->next = tmp->next;
-- else
-- list = tmp->next;
-- iiim_le_info_free(tmp->data);
-- free(tmp);
--
-- break;
-- }
-- prev = tmp;
-- tmp = prev->next;
-+ for (; list && list->data != leinfo; list = list->next);
-+
-+ if (NULL != list) {
-+ prev = list->prev;
-+ next = list->next;
-+
-+ if (NULL != prev) prev->next = next;
-+ if (NULL != next) next->prev = prev;
-+
-+ if (list->data) iiim_le_info_free(list->data);
-+ free(list);
- }
-
- return list;