[94212] trunk/dports/x11/icewm

jmr at macports.org jmr at macports.org
Tue Jun 12 09:16:38 PDT 2012


Revision: 94212
          https://trac.macports.org/changeset/94212
Author:   jmr at macports.org
Date:     2012-06-12 09:16:38 -0700 (Tue, 12 Jun 2012)
Log Message:
-----------
icewm: apply upstream fix to build with clang (#31746)

Modified Paths:
--------------
    trunk/dports/x11/icewm/Portfile

Added Paths:
-----------
    trunk/dports/x11/icewm/files/src_yarray.h.patch

Modified: trunk/dports/x11/icewm/Portfile
===================================================================
--- trunk/dports/x11/icewm/Portfile	2012-06-12 16:03:41 UTC (rev 94211)
+++ trunk/dports/x11/icewm/Portfile	2012-06-12 16:16:38 UTC (rev 94212)
@@ -18,7 +18,9 @@
             sha1    bee1ca66d2282888807551bc28a65b08e4108027 \
             rmd160  1e28eb750fd07321cf66bcaa617fc782acbb82f1
 
-patchfiles  01-fix_leopard_deprecated_in_stdlib.patch src_Makefile.in.patch
+patchfiles  01-fix_leopard_deprecated_in_stdlib.patch \
+            src_Makefile.in.patch \
+            src_yarray.h.patch
 
 depends_build \
         port:pkgconfig

Added: trunk/dports/x11/icewm/files/src_yarray.h.patch
===================================================================
--- trunk/dports/x11/icewm/files/src_yarray.h.patch	                        (rev 0)
+++ trunk/dports/x11/icewm/files/src_yarray.h.patch	2012-06-12 16:16:38 UTC (rev 94212)
@@ -0,0 +1,12 @@
+--- src/yarray.h	2009/06/01 17:10:07	1.5.4.3
++++ src/yarray.h	2010/12/25 15:29:53	1.5.4.4
+@@ -150,7 +150,8 @@
+     }
+ 
+     virtual void remove(const typename YArray<DataType *>::SizeType index) {
+-        if (index < YArray<DataType *>::getCount()) delete getItem(index);
++        if (index < YArray<DataType *>::getCount())
++             delete YArray<DataType *>::getItem(index);
+         YArray<DataType *>::remove(index);
+     }
+     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120612/fa5737de/attachment.html>


More information about the macports-changes mailing list