200-openwrt-branding.patch 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. --- a/libltdl/config/general.m4sh
  2. +++ b/libltdl/config/general.m4sh
  3. @@ -359,7 +359,7 @@ opt_warning=:
  4. # name if it has been set yet.
  5. func_echo ()
  6. {
  7. - $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
  8. + $ECHO "OpenWrt-$progname: ${opt_mode+$opt_mode: }$*"
  9. }
  10. # func_verbose arg...
  11. @@ -385,14 +385,14 @@ func_echo_all ()
  12. # Echo program name prefixed message to standard error.
  13. func_error ()
  14. {
  15. - $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
  16. + $ECHO "OpenWrt-$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
  17. }
  18. # func_warning arg...
  19. # Echo program name prefixed warning message to standard error.
  20. func_warning ()
  21. {
  22. - $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
  23. + $opt_warning && $ECHO "OpenWrt-$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
  24. # bash bug again:
  25. :
  26. --- a/libltdl/config/ltmain.sh
  27. +++ b/libltdl/config/ltmain.sh
  28. @@ -443,7 +443,7 @@ opt_warning=:
  29. # name if it has been set yet.
  30. func_echo ()
  31. {
  32. - $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
  33. + $ECHO "OpenWrt-$progname: ${opt_mode+$opt_mode: }$*"
  34. }
  35. # func_verbose arg...
  36. @@ -469,14 +469,14 @@ func_echo_all ()
  37. # Echo program name prefixed message to standard error.
  38. func_error ()
  39. {
  40. - $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
  41. + $ECHO "OpenWrt-$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
  42. }
  43. # func_warning arg...
  44. # Echo program name prefixed warning message to standard error.
  45. func_warning ()
  46. {
  47. - $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
  48. + $opt_warning && $ECHO "OpenWrt-$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
  49. # bash bug again:
  50. :
  51. --- a/libtoolize.in
  52. +++ b/libtoolize.in
  53. @@ -640,7 +640,7 @@ opt_warning=:
  54. # name if it has been set yet.
  55. func_echo ()
  56. {
  57. - $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
  58. + $ECHO "OpenWrt-$progname: ${opt_mode+$opt_mode: }$*"
  59. }
  60. # func_verbose arg...
  61. @@ -666,14 +666,14 @@ func_echo_all ()
  62. # Echo program name prefixed message to standard error.
  63. func_error ()
  64. {
  65. - $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
  66. + $ECHO "OpenWrt-$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
  67. }
  68. # func_warning arg...
  69. # Echo program name prefixed warning message to standard error.
  70. func_warning ()
  71. {
  72. - $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
  73. + $opt_warning && $ECHO "OpenWrt-$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
  74. # bash bug again:
  75. :
  76. --- a/tests/defs.in
  77. +++ b/tests/defs.in
  78. @@ -588,7 +588,7 @@ opt_warning=:
  79. # name if it has been set yet.
  80. func_echo ()
  81. {
  82. - $ECHO "$progname: ${opt_mode+$opt_mode: }$*"
  83. + $ECHO "OpenWrt-$progname: ${opt_mode+$opt_mode: }$*"
  84. }
  85. # func_verbose arg...
  86. @@ -614,14 +614,14 @@ func_echo_all ()
  87. # Echo program name prefixed message to standard error.
  88. func_error ()
  89. {
  90. - $ECHO "$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
  91. + $ECHO "OpenWrt-$progname: ${opt_mode+$opt_mode: }"${1+"$@"} 1>&2
  92. }
  93. # func_warning arg...
  94. # Echo program name prefixed warning message to standard error.
  95. func_warning ()
  96. {
  97. - $opt_warning && $ECHO "$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
  98. + $opt_warning && $ECHO "OpenWrt-$progname: ${opt_mode+$opt_mode: }warning: "${1+"$@"} 1>&2
  99. # bash bug again:
  100. :