[31001] trunk/dports/x11/icewm

source_changes at macosforge.org source_changes at macosforge.org
Tue Nov 13 09:25:46 PST 2007


Revision: 31001
          http://trac.macosforge.org/projects/macports/changeset/31001
Author:   saispo at macports.org
Date:     2007-11-13 09:25:44 -0800 (Tue, 13 Nov 2007)

Log Message:
-----------
Fix tickets #13058 open by me

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

Added Paths:
-----------
    trunk/dports/x11/icewm/files/
    trunk/dports/x11/icewm/files/01-fix_leopard_deprecated_in_stdlib.patch

Modified: trunk/dports/x11/icewm/Portfile
===================================================================
--- trunk/dports/x11/icewm/Portfile	2007-11-13 16:26:16 UTC (rev 31000)
+++ trunk/dports/x11/icewm/Portfile	2007-11-13 17:25:44 UTC (rev 31001)
@@ -3,9 +3,9 @@
 PortSystem  1.0
 
 name        icewm
-version     1.2.31
+version     1.2.32
 categories  x11 x11-wm
-maintainers nomaintainer
+maintainers saispo at macports.org
 platforms   darwin
 
 description Lightweight window manager with a Windows or OS/2 look and feel
@@ -14,8 +14,10 @@
 
 homepage    http://www.icewm.org
 master_sites    http://downloads.sourceforge.net/icewm
-checksums   md5 aef471135eb0c6d69a30ef971c2f7412
+checksums   md5 49084971689c04b739766a3f5d576d83
 
+patchfiles  01-fix_leopard_deprecated_in_stdlib.patch
+
 depends_lib lib:libX11.6:XFree86 lib:libXext.6:XFree86 lib:libXpm.4:xpm \
             lib:libSM.6:sm \
             port:gettext port:freetype port:xft2

Added: trunk/dports/x11/icewm/files/01-fix_leopard_deprecated_in_stdlib.patch
===================================================================
--- trunk/dports/x11/icewm/files/01-fix_leopard_deprecated_in_stdlib.patch	                        (rev 0)
+++ trunk/dports/x11/icewm/files/01-fix_leopard_deprecated_in_stdlib.patch	2007-11-13 17:25:44 UTC (rev 31001)
@@ -0,0 +1,51 @@
+--- src/base.h.orig	2007-10-30 20:13:13.000000000 +0100
++++ src/base.h	2007-10-30 20:13:30.000000000 +0100
+@@ -1,11 +1,13 @@
+ #ifndef __BASE_H
+ #define __BASE_H
+ 
++/*
+ #if ( __GNUC__ == 3 && __GNUC_MINOR__ > 0 ) || __GNUC__ > 3
+ #define deprecated __attribute__((deprecated))
+ #else
+ #define deprecated
+ #endif
++*/
+ 
+ /*** Atomar Data Types ********************************************************/
+ 
+@@ -184,7 +186,7 @@
+             val = (val + div / 2) / div;
+         }
+     }
+-    
++
+     return uname;
+ }
+ 
+@@ -193,14 +195,14 @@
+ /*
+  * Returns the lowest bit set in mask.
+  */
+-template <class T> 
++template <class T>
+ inline unsigned lowbit(T mask) {
+ #if defined(CONFIG_X86_ASM) && defined(__i386__) && \
+     defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ > 208)
+     unsigned bit;
+     asm ("bsf %1,%0" : "=r" (bit) : "r" (mask));
+ #else
+-    unsigned bit(0); 
++    unsigned bit(0);
+     while(!(mask & (1 << bit)) && bit < sizeof(mask) * 8) ++bit;
+ #endif
+ 
+@@ -210,7 +212,7 @@
+ /*
+  * Returns the highest bit set in mask.
+  */
+-template <class T> 
++template <class T>
+ inline unsigned highbit(T mask) {
+ #if defined(CONFIG_X86_ASM) && defined(__i386__) && \
+     defined(__GNUC__) && (__GNUC__ * 100 + __GNUC_MINOR__ > 208)

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071113/406b4044/attachment.html


More information about the macports-changes mailing list