1 |
commit: 3d1d5958cda6402aa6a51fd070938e1fc42c0e19 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Dec 28 07:41:17 2017 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 1 21:01:22 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d1d5958 |
7 |
|
8 |
x11-plugins/wmcube: remove unused patch |
9 |
|
10 |
x11-plugins/wmcube/files/wmcube-0.98-list.patch | 127 ------------------------ |
11 |
1 file changed, 127 deletions(-) |
12 |
|
13 |
diff --git a/x11-plugins/wmcube/files/wmcube-0.98-list.patch b/x11-plugins/wmcube/files/wmcube-0.98-list.patch |
14 |
deleted file mode 100644 |
15 |
index 1b1ac317669..00000000000 |
16 |
--- a/x11-plugins/wmcube/files/wmcube-0.98-list.patch |
17 |
+++ /dev/null |
18 |
@@ -1,127 +0,0 @@ |
19 |
-diff -Naur wmgeneral.orig/list.c wmgeneral/list.c |
20 |
---- wmgeneral.orig/list.c 2016-01-04 13:28:36.583339716 +0100 |
21 |
-+++ wmgeneral/list.c 2016-01-04 13:28:48.694343645 +0100 |
22 |
-@@ -38,7 +38,7 @@ |
23 |
- |
24 |
- /* Return a cons cell produced from (head . tail) |
25 |
- |
26 |
--INLINE LinkedList* |
27 |
-+LinkedList* |
28 |
- list_cons(void* head, LinkedList* tail) |
29 |
- { |
30 |
- LinkedList* cell; |
31 |
-@@ -51,7 +51,7 @@ |
32 |
- |
33 |
- /* Return the length of a list, list_length(NULL) returns zero |
34 |
- |
35 |
--INLINE int |
36 |
-+int |
37 |
- list_length(LinkedList* list) |
38 |
- { |
39 |
- int i = 0; |
40 |
-@@ -66,7 +66,7 @@ |
41 |
- /* Return the Nth element of LIST, where N count from zero. If N |
42 |
- larger than the list length, NULL is returned |
43 |
- |
44 |
--INLINE void* |
45 |
-+void* |
46 |
- list_nth(int index, LinkedList* list) |
47 |
- { |
48 |
- while(index-- != 0) |
49 |
-@@ -81,7 +81,7 @@ |
50 |
- |
51 |
- /* Remove the element at the head by replacing it by its successor |
52 |
- |
53 |
--INLINE void |
54 |
-+void |
55 |
- list_remove_head(LinkedList** list) |
56 |
- { |
57 |
- if (!*list) return; |
58 |
-@@ -101,7 +101,7 @@ |
59 |
- |
60 |
- /* Remove the element with `car' set to ELEMENT |
61 |
- /* |
62 |
--INLINE void |
63 |
-+void |
64 |
- list_remove_elem(LinkedList** list, void* elem) |
65 |
- { |
66 |
- while (*list) |
67 |
-@@ -112,7 +112,7 @@ |
68 |
- } |
69 |
- |
70 |
- |
71 |
--INLINE LinkedList * |
72 |
-+LinkedList * |
73 |
- list_remove_elem(LinkedList* list, void* elem) |
74 |
- { |
75 |
- LinkedList *tmp; |
76 |
-@@ -132,7 +132,7 @@ |
77 |
- |
78 |
- /* Return element that has ELEM as car |
79 |
- |
80 |
--INLINE LinkedList* |
81 |
-+LinkedList* |
82 |
- list_find(LinkedList* list, void* elem) |
83 |
- { |
84 |
- while(list) |
85 |
-@@ -146,7 +146,7 @@ |
86 |
- |
87 |
- /* Free list (backwards recursive) |
88 |
- |
89 |
--INLINE void |
90 |
-+void |
91 |
- list_free(LinkedList* list) |
92 |
- { |
93 |
- if(list) |
94 |
-@@ -158,7 +158,7 @@ |
95 |
- |
96 |
- /* Map FUNCTION over all elements in LIST |
97 |
- |
98 |
--INLINE void |
99 |
-+void |
100 |
- list_mapcar(LinkedList* list, void(*function)(void*)) |
101 |
- { |
102 |
- while(list) |
103 |
-diff -Naur wmgeneral.orig/list.h wmgeneral/list.h |
104 |
---- wmgeneral.orig/list.h 2016-01-04 13:28:36.583339716 +0100 |
105 |
-+++ wmgeneral/list.h 2016-01-04 13:28:39.471340654 +0100 |
106 |
-@@ -29,31 +29,25 @@ |
107 |
- #ifndef __LIST_H_ |
108 |
- #define __LIST_H_ |
109 |
- |
110 |
--#if defined(__GNUC__) && !defined(__STRICT_ANSI__) |
111 |
--# define INLINE inline |
112 |
--#else |
113 |
--# define INLINE |
114 |
--#endif |
115 |
-- |
116 |
- typedef struct LinkedList { |
117 |
- void *head; |
118 |
- struct LinkedList *tail; |
119 |
- } LinkedList; |
120 |
- |
121 |
--INLINE LinkedList* list_cons(void* head, LinkedList* tail); |
122 |
-+LinkedList* list_cons(void* head, LinkedList* tail); |
123 |
- |
124 |
--INLINE int list_length(LinkedList* list); |
125 |
-+int list_length(LinkedList* list); |
126 |
- |
127 |
--INLINE void* list_nth(int index, LinkedList* list); |
128 |
-+void* list_nth(int index, LinkedList* list); |
129 |
- |
130 |
--INLINE void list_remove_head(LinkedList** list); |
131 |
-+void list_remove_head(LinkedList** list); |
132 |
- |
133 |
--INLINE LinkedList *list_remove_elem(LinkedList* list, void* elem); |
134 |
-+LinkedList *list_remove_elem(LinkedList* list, void* elem); |
135 |
- |
136 |
--INLINE void list_mapcar(LinkedList* list, void(*function)(void*)); |
137 |
-+void list_mapcar(LinkedList* list, void(*function)(void*)); |
138 |
- |
139 |
--INLINE LinkedList*list_find(LinkedList* list, void* elem); |
140 |
-+LinkedList*list_find(LinkedList* list, void* elem); |
141 |
- |
142 |
--INLINE void list_free(LinkedList* list); |
143 |
-+void list_free(LinkedList* list); |
144 |
- |
145 |
- #endif |