Permalink
Browse files

OS-2152 illumos-extra make prefix.patch confuses its arguements

  • Loading branch information...
1 parent 5c389d5 commit 22516fae60d2237bf9ff7c280ccf864cf3627361 @rmustacc rmustacc committed Apr 16, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 make/prefix.patch
View
@@ -156,8 +156,8 @@ index e594d59..1289837 100644
#else
if (oldpath == NULL) {
- sprintf(newpath, "%s%s", newpath, LD_SUPPORT_MAKE_LIB);
-+ sprintf("%s%s%s/%s:%s",
-+ newpath, MAKE_PREFIX, LD_SUPPORT_MAKE_LIB_DIR,
++ sprintf(newpath, "%s%s%s/%s:%s",
++ MAKE_PREFIX, LD_SUPPORT_MAKE_LIB_DIR,
+ LD_SUPPORT_MAKE_LIB, LD_SUPPORT_MAKE_LIB) + 1;
} else {
- sprintf(newpath, "%s:%s", newpath, LD_SUPPORT_MAKE_LIB);
@@ -169,8 +169,8 @@ index e594d59..1289837 100644
+ }
+
+ if (oldpath64 == NULL) {
-+ sprintf("%s%s%s/%s:%s",
-+ newpath64, MAKE_PREFIX, LD_SUPPORT_MAKE_LIB_DIR_64,
++ sprintf(newpath64, "%s%s%s/%s:%s",
++ MAKE_PREFIX, LD_SUPPORT_MAKE_LIB_DIR_64,
+ LD_SUPPORT_MAKE_LIB, LD_SUPPORT_MAKE_LIB) + 1;
+
+ } else {

0 comments on commit 22516fa

Please sign in to comment.