[109981] trunk/dports/sysutils/osxutils
jmr at macports.org
jmr at macports.org
Thu Aug 22 21:01:39 PDT 2013
Revision: 109981
https://trac.macports.org/changeset/109981
Author: jmr at macports.org
Date: 2013-08-22 21:01:39 -0700 (Thu, 22 Aug 2013)
Log Message:
-----------
osxutils: remove one more lvalue cast (#32043)
Modified Paths:
--------------
trunk/dports/sysutils/osxutils/Portfile
Added Paths:
-----------
trunk/dports/sysutils/osxutils/files/remove_lvalue_casts.diff
Removed 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:54:50 UTC (rev 109980)
+++ trunk/dports/sysutils/osxutils/Portfile 2013-08-23 04:01:39 UTC (rev 109981)
@@ -29,7 +29,7 @@
rmd160 b91fa4644ee8348c0013f55aaa9d0d8f2e46dafe
# upgrade to "native" targets so modern Xcode doesn't complain
-patchfiles patch-xcodeprojs geticon_main.m.diff
+patchfiles patch-xcodeprojs remove_lvalue_casts.diff
post-patch {
foreach item [concat [glob ${worksrcpath}/*/*.1] ${worksrcpath}/rcmac/rcmac] {
Deleted: trunk/dports/sysutils/osxutils/files/geticon_main.m.diff
===================================================================
--- trunk/dports/sysutils/osxutils/files/geticon_main.m.diff 2013-08-23 03:54:50 UTC (rev 109980)
+++ trunk/dports/sysutils/osxutils/files/geticon_main.m.diff 2013-08-23 04:01:39 UTC (rev 109981)
@@ -1,11 +0,0 @@
---- 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)
Copied: trunk/dports/sysutils/osxutils/files/remove_lvalue_casts.diff (from rev 109980, trunk/dports/sysutils/osxutils/files/geticon_main.m.diff)
===================================================================
--- trunk/dports/sysutils/osxutils/files/remove_lvalue_casts.diff (rev 0)
+++ trunk/dports/sysutils/osxutils/files/remove_lvalue_casts.diff 2013-08-23 04:01:39 UTC (rev 109981)
@@ -0,0 +1,22 @@
+--- 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)
+--- seticon/main.m.orig 2005-11-27 14:04:30.000000000 +1100
++++ seticon/main.m 2013-08-23 13:58:52.000000000 +1000
+@@ -97,7 +97,7 @@ int main (int argc, const char * argv[])
+ exit(EX_USAGE);
+ }
+
+- (char *)src = (char *)argv[optind];
++ src = (char *)argv[optind];
+
+ //get the icon
+ srcPath = [NSString stringWithCString: src];
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130822/1f1b9397/attachment.html>
More information about the macports-changes
mailing list