Add an upstream patch to fix build with Clang 10.0.
Note PORTREVISION is bumped because the patch actually fixes a bug. https://bugs.launchpad.net/dee/+bug/1579529 https://bazaar.launchpad.net/~unity-team/dee/trunk/revision/439
This commit is contained in:
parent
ed3e78fab1
commit
8e83020a81
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=528687
3 changed files with 18 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= dee
|
||||
PORTVERSION= 1.2.7
|
||||
PORTREVISION= 14
|
||||
PORTREVISION= 15
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= https://launchpadlibrarian.net/151383425/ \
|
||||
https://launchpad.net/${PORTNAME}/1.0/${PORTVERSION}/+download/
|
||||
|
|
15
devel/dee/files/patch-src_dee-serializable-model.c
Normal file
15
devel/dee/files/patch-src_dee-serializable-model.c
Normal file
|
@ -0,0 +1,15 @@
|
|||
--- src/dee-serializable-model.c.orig 2013-09-16 18:21:20 UTC
|
||||
+++ src/dee-serializable-model.c
|
||||
@@ -1327,8 +1327,10 @@ dee_serializable_model_get_position (DeeModel *sel
|
||||
pos = 0;
|
||||
_iter = dee_model_get_first_iter (self);
|
||||
while (!dee_model_is_last (self, iter) && iter != _iter)
|
||||
- _iter = dee_model_next (self, _iter);
|
||||
- pos++;
|
||||
+ {
|
||||
+ _iter = dee_model_next (self, _iter);
|
||||
+ pos++;
|
||||
+ }
|
||||
|
||||
if (iter == _iter)
|
||||
return pos;
|
|
@ -1,5 +1,5 @@
|
|||
--- src/dee-transaction.c.orig 2012-11-28 09:46:41.000000000 +0100
|
||||
+++ src/dee-transaction.c 2016-01-17 15:50:39.997965000 +0100
|
||||
--- src/dee-transaction.c.orig 2012-11-28 08:46:41 UTC
|
||||
+++ src/dee-transaction.c
|
||||
@@ -233,7 +233,7 @@ journal_iter_free (JournalIter *jiter)
|
||||
g_slice_free (JournalIter, jiter);
|
||||
}
|
Loading…
Reference in a new issue