[109980] trunk/dports/sysutils/osxutils
jmr at macports.org
jmr at macports.org
Thu Aug 22 20:54:50 PDT 2013
Revision: 109980
https://trac.macports.org/changeset/109980
Author: jmr at macports.org
Date: 2013-08-22 20:54:50 -0700 (Thu, 22 Aug 2013)
Log Message:
-----------
osxutils: patch to remove illegal lvalue cast (#32043)
Modified Paths:
--------------
trunk/dports/sysutils/osxutils/Portfile
Added Paths:
-----------
trunk/dports/sysutils/osxutils/files/geticon_main.m.diff
Modified: trunk/dports/sysutils/osxutils/Portfile
===================================================================
--- trunk/dports/sysutils/osxutils/Portfile 2013-08-23 03:49:13 UTC (rev 109979)
+++ trunk/dports/sysutils/osxutils/Portfile 2013-08-23 03:54:50 UTC (rev 109980)
@@ -29,7 +29,7 @@
rmd160 b91fa4644ee8348c0013f55aaa9d0d8f2e46dafe
# upgrade to "native" targets so modern Xcode doesn't complain
-patchfiles patch-xcodeprojs
+patchfiles patch-xcodeprojs geticon_main.m.diff
post-patch {
foreach item [concat [glob ${worksrcpath}/*/*.1] ${worksrcpath}/rcmac/rcmac] {
Added: trunk/dports/sysutils/osxutils/files/geticon_main.m.diff
===================================================================
--- trunk/dports/sysutils/osxutils/files/geticon_main.m.diff (rev 0)
+++ trunk/dports/sysutils/osxutils/files/geticon_main.m.diff 2013-08-23 03:54:50 UTC (rev 109980)
@@ -0,0 +1,11 @@
+--- geticon/main.m.orig 2005-11-27 14:28:29.000000000 +1100
++++ geticon/main.m 2013-08-23 13:50:53.000000000 +1000
+@@ -114,7 +114,7 @@ int main (int argc, const char * argv[])
+ }
+ }
+
+- (char *)src = (char *)argv[optind];
++ src = (char *)argv[optind];
+
+ //check if a correct number of arguments was submitted
+ if (argc < 2 || src == NULL)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130822/d1172c81/attachment.html>
More information about the macports-changes
mailing list