[MacPorts] #61512: lv 451 failed to build on macOS BigSur

MacPorts noreply at macports.org
Mon Nov 16 21:24:15 UTC 2020


#61512: lv 451 failed to build on macOS BigSur
--------------------+--------------------
 Reporter:  fu7mu4  |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.6.4
 Keywords:          |       Port:  lv
--------------------+--------------------
 "sudo port install lv" failed to build lv, because of lack of header-
 includes in bellow source files:


 - strncmp in guess.c requires <string.h> and
 - toupper in guesslocale.c requires <ctypes.h>

 I could build lv after adding some header

 {{{
 --- guess.c.org 2020-11-17 06:05:38.000000000 +0900
 +++ guess.c     2020-11-17 06:06:32.000000000 +0900
 @@ -21,6 +21,7 @@
   */

  #include <stdio.h>
 +#include <string.h>

  #include <import.h>
  #include <decode.h>
 }}}


 {{{
 --- guesslocale.c.org   2020-11-17 06:06:49.000000000 +0900
 +++ guesslocale.c       2020-11-17 06:07:19.000000000 +0900
 @@ -19,6 +19,7 @@
   * along with this program; if not, write to the Free Software
   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
 USA
   */
 +#include <ctype.h>

  #ifdef HAVE_SETLOCALE

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61512>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list