Modify

Opened 7 years ago

Closed 7 years ago

Last modified 4 years ago

#9842 closed enhancement (fixed)

Patches for building on FreeBSD

Reported by: cjk32@… Owned by: jogo
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

Most of the first attached patch was required for me to build OpenWRT under FreeBSD.

The inclusion of <machine/endian.h> is hopefully quite obvious.

The getopt change was required to allow gmake GETOPT=/usr/local/bin/getopt, and to override the base system /usr/bin/getopt.

The second patch fixes a compilation issue on big endian systems, found because the lack of BYTE_ORDER etc. meant my system was erroneously detected as big endian. It seemed too trivial to justify a separate ticket.

Attachments (2)

openwrt-freebsd-fixes.patch (1.0 KB) - added by cjk32@… 7 years ago.
openwrt-bigendian-fixes.patch (611 bytes) - added by cjk32@… 7 years ago.

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by cjk32@…

Changed 7 years ago by cjk32@…

comment:1 Changed 7 years ago by jow

  • Owner changed from developers to jogo
  • Status changed from new to assigned

comment:2 Changed 7 years ago by jogo

Both squashfs4 changes are fine, but the getopt one breaks building quilt for me on debian 6 r2 (it looks like it's stuck in an endless loop).

comment:3 Changed 7 years ago by nbd

  • Resolution set to fixed
  • Status changed from assigned to closed

applied in r27850-r27852

I fixed the quilt patch, it was missing a default value for the GETOPT variable

comment:4 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.