Commit graph

819 commits

Author SHA1 Message Date
khorben
506fbe992e Revbump for packages depending on devel/libusb{,compat} 2018-02-27 23:56:07 +00:00
maya
97adb0d7ad nios2-gcc3 spins on NetBSD builds too, spare us the build. 2018-02-22 00:09:44 +00:00
khorben
b69741eca1 Import global switch for libusb's implementation [2/2]
This switch is meant to be used by packages requiring an implementation of the
former libusb (as in devel/libusb). The original implementation can be
chosen by setting LIBUSB_TYPE to "native".

The alternative implementation libusb-compat (as in devel/libusb-compat) wraps
libusb1 (in devel/libusb1). This implementation can be chosen by setting
LIBUSB_TYPE to "compat". On NetBSD, it has the advantage of not requiring root
privileges to locate and use USB devices without a kernel driver.

This second part switches packages using libusb to this framework. It does not
change compilation options or dependencies at this point.

Compile-tested on most packages affected and available on NetBSD/amd64.
2018-02-10 13:53:46 +00:00
ryoon
c64b0da71f Update to 7.3.0
* Use newlib-3.0.0

Changelog:
Bugfixes
2018-01-29 14:56:49 +00:00
wiz
58a2a977a7 recursive bump after mpfr shlib major bump 2018-01-28 16:24:10 +00:00
dbj
362217f0b8 enable PLIST.libcpp on Darwin 2018-01-22 04:38:42 +00:00
ryoon
ffcc2dc37f Remove useless argument for configure script 2018-01-18 14:39:59 +00:00
maya
491f3d1de3 cross-libtool-base: catch up with libtool-base 2.4.6 PLIST changes.
From Harold Gutch in PR pkg/52921
2018-01-16 09:34:40 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
rillig
59fb360242 Removed license again.
The newly introduced guess-license make(1) target is too naive.
In this case, it just looked at the file COPYING, but the actual
rules for this package are much more complicated. Each file has
its own license, and the various COPYING files are only references
to which the files point.
2018-01-03 22:43:23 +00:00
rillig
8e75204507 Added missing LICENSE variable. 2018-01-03 00:42:46 +00:00
rillig
b381c6e2f3 Sort PLIST files.
Unsorted entries in PLIST files have generated a pkglint warning for at
least 12 years. Somewhat more recently, pkglint has learned to sort
PLIST files automatically. Since pkglint 5.4.23, the sorting is only
done in obvious, simple cases. These have been applied by running:

  pkglint -Cnone,PLIST -Wnone,plist-sort -r -F
2018-01-01 22:29:15 +00:00
ryoon
e348f938e2 Update to 2.29.1
Changelog:
Some improvements about ARMv7 and ARMv8 in gas
2017-12-10 01:12:09 +00:00
wiz
1011d2f380 transfig: remove, replaced by print/fig2dev 2017-10-03 15:12:42 +00:00
wiedi
fa45dc795e arm-none-eabi-gcc: fix build on SunOS
SunOS also needs the libcpp PLIST entries.
2017-09-24 21:07:17 +00:00
ryoon
af230758f5 Fix build under NetBSD/amd64 7.1,i 8.0 BETA and 8.99.2
and supress warnings during extraction with bsdtar
2017-09-20 03:49:55 +00:00
dholland
163b2fcebd Update PLIST for installation into cross/ change from more than a year ago.
PKGREVISION++.
2017-09-09 17:17:51 +00:00
dholland
50069715b6 shut up pkglint 2017-09-09 15:17:12 +00:00
dholland
77362d2d05 Use standard headers. 2017-09-09 15:15:03 +00:00
joerg
0731716aa7 Deal with absence of limit macros in C++98. 2017-09-04 15:57:01 +00:00
wiz
0fd11e1711 Update HOMEPAGE. 2017-09-04 05:45:45 +00:00
jmcneill
cdd9c0befe + aarch64-none-elf-binutils
+ aarch64-none-elf-gcc
2017-09-01 20:57:22 +00:00
jmcneill
bba2568f70 Add cross-aarch64-none-elf-gcc version 7.2.0
GCC for bare metal AArch64 ELF environment with newlib.
2017-09-01 20:56:43 +00:00
jmcneill
215f7e9034 Add cross-aarch64-none-elf-binutils version 2.29
Cross binutils for bare metal AArch64 ELF environment.
2017-09-01 20:55:37 +00:00
sevan
ae176b0813 Resolve packing issue on Linux & FreeBSD.
Add a new PLIST_VAR which covers the additions related to libc++.
2017-08-31 19:55:19 +00:00
ryoon
155215e0ca Update to 7.2
* Bugfixes
2017-08-16 14:41:12 +00:00
ryoon
4f7321ed26 Update to 2.29
* No significant change for ARM
2017-08-16 14:38:55 +00:00
wiz
8733ee0040 Follow some http -> https redirects. 2017-08-01 14:58:51 +00:00
ryoon
e5a993b929 Add pdp11-aout-gcc 2017-07-03 17:33:01 +00:00
ryoon
703fb07e13 Import cross-pdp11-aout-gcc-7.1.0 as cross/pdp11-aout-gcc.
GCC for PDP-11 a.out
2017-07-03 17:32:14 +00:00
ryoon
6c42af7249 Add pdp11-aout-binutils 2017-07-03 17:29:37 +00:00
ryoon
0ad18c5a39 Import cross-pdp11-aout-binutils-2.28 as cross/pdp11-aout-binutils.
Cross binutils for PDP-11 a.out
2017-07-03 17:28:39 +00:00
joerg
49235b083c Disable depcomp replacement. libcpp wants to read the main depcomp after
the configure phase.
2017-06-17 19:36:46 +00:00
ryoon
3519dd0f24 Update to 7.1.0
Changelog:
ARM
    Support for the ARMv5 and ARMv5E architectures has been deprecated (which have no known implementations) and will be removed in a future GCC release. Note that ARMv5T, ARMv5TE and ARMv5TEJ architectures remain supported. The values armv5 and armv5e of -march are thus deprecated.
    The ARMv8.2-A architecture and the ARMv8.2-A 16-bit Floating-Point Extensions are now supported. They can be used by specifying the -march=armv8.2-a or -march=armv8.2-a+fp16 options. The 16-bit Floating-Point Extensions introduce new half-precision data processing floating-point instructions.
    The ARMv8-M architecture is now supported in its two architecture profiles: ARMv8-M Baseline and ARMv8-M Mainline with its DSP and Floating-Point Extensions. They can be used by specifying the -march=armv8-m.base, armv8-m.main or armv8-m.main+dsp options.
    Support has been added for the following processors (GCC identifiers in parentheses): ARM Cortex-A73 (cortex-a73), ARM Cortex-M23 (cortex-m23) and ARM Cortex-M33 (cortex-m33). The GCC identifiers can be used as arguments to the -mcpu or -mtune options, for example: -mcpu=cortex-a73 or -mtune=cortex-m33.
    A new command-line option -mpure-code has been added. It does not allow constant data to be placed in code sections. This option is only available when generating non-PIC code for ARMv7-M targets.
    Support for the ACLE Coprocessor Intrinsics has been added. This enables the generation of coprocessor instructions through the use of intrinsics such as cdp, ldc, and others.
    The configure option --with-multilib-list now accepts the value rmprofile to build multilib libraries for a range of embedded targets. See our installation instructions for details.
2017-05-16 17:52:18 +00:00
wiz
a689952fb6 Remove patch that is not in distinfo. 2017-04-27 09:08:57 +00:00
ryoon
15ea1acfd5 Update to 3.28
Changelog:
GAS:
Changes in 2.28:

* Add support for the RISC-V architecture.

* Add support for the ARM Cortex-M23 and Cortex-M33 processors.

LD:
Changes in 2.28:

* The EXCLUDE_FILE linker script construct can now be applied outside of the
  section list in order for the exclusions to apply over all input sections in
  the list.

* Add support for the RISC-V architecture.

* The command line option --no-eh-frame-hdr can now be used in ELF based
  linkers to disable the automatic generation of .eh_frame_hdr sections.

* Add --in-implib=<infile> to the ARM linker to enable specifying a set of
  Secure Gateway veneers that must exist in the output import library specified
  by --out-implib=<outfile> and the address they must have.  As such,
  --in-implib is only supported in combination with --cmse-implib.

* Extended the --out-implib=<file> option, previously restricted to x86 PE
  targets, to any ELF based target.  This allows the generation of an import
  library for an ELF executable, which can then be used by another application
  to link against the executable.

BINUTILS:
Changes in 2.28:

* Add support for locating separate debug info files using the build-id
  method, where the separate file has a name based upon the build-id of
  the original file.

* This version of binutils fixes a problem with PowerPC VLE 16A and 16D
  relocations which were functionally swapped, for example,
  R_PPC_VLE_HA16A performed like R_PPC_VLE_HA16D while R_PPC_VLE_HA16D
  performed like R_PPC_VLE_HA16A.  This could have been fixed by
  renumbering relocations, which would keep object files created by an
  older version of gas compatible with a newer ld.  However, that would
  require an ABI update, affecting other assemblers and linkers that
  create and process the relocations correctly.  It is recommended that
  all VLE object files be recompiled, but ld can modify the relocations
  if --vle-reloc-fixup is passed to ld.  If the new ld command line
  option is not used, ld will ld warn on finding relocations inconsistent
  with the instructions being relocated.

* The nm program has a new command line option (--with-version-strings)
  which will display a symbol's version information, if any, after the
  symbol's name.

* The ARC port of objdump now accepts a -M option to specify the extra
  instruction class(es) that should be disassembled.

* The --remove-section option for objcopy and strip now accepts section
  patterns starting with an exclamation point to indicate a non-matching
  section.  A non-matching section is removed from the set of sections
  matched by an earlier --remove-section pattern.

* The --only-section option for objcopy now accepts section patterns
  starting with an exclamation point to indicate a non-matching section.
  A non-matching section is removed from the set of sections matched by
  an earlier --only-section pattern.

* New --remove-relocations=SECTIONPATTERN option for objcopy and strip.
  This option can be used to remove sections containing relocations.
  The SECTIONPATTERN is the section to which the relocations apply, not
  the relocation section itself.
2017-03-30 19:21:26 +00:00
joerg
6a32265dbd Extend SHA512 checksums to various files I have on my local distfile
mirror.
2017-03-23 17:06:45 +00:00
ryoon
58f7782e5c Bump PKGREVISION
Add perl as a tool
2017-03-17 03:06:01 +00:00
sevan
5feafdabb8 Mark as broken on big endian systems because they're not supported.
On Darwin/PowerPC, build reports:
"This machine has big-endian memory organization. Objconv program will not work"
2017-03-03 04:54:10 +00:00
joerg
7a9df035fb Requires libtool. 2017-02-21 16:05:53 +00:00
joerg
bb22578a0c Add missing include. 2017-02-14 21:32:40 +00:00
ryoon
72c3cb198b Recursive revbump from fonts/harfbuzz 2017-02-12 06:24:36 +00:00
wiz
7ac05101c6 Recursive bump for harfbuzz's new graphite2 dependency. 2017-02-06 13:54:36 +00:00
mef
7a5de17974 Updated cross/avr-binutils 2.24 to 2.27
----------------------------------
(From binutils/NEWS)
----------------------------------
Changes in 2.27:

* Add a configure option, --enable-64-bit-archive, to force use of a
  64-bit format when creating an archive symbol index.

* Add --elf-stt-common= option to objcopy for ELF targets to control
  whether to convert common symbols to the STT_COMMON type.

Changes in 2.26:

* Add option to objcopy to insert new symbols into a file:
  --add-symbol <name>=[<section>:]<value>[,<flags>]

* Add support for the ARC EM/HS, and ARC600/700 architectures.

* Extend objcopy --compress-debug-sections option to support
  --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi] for ELF
  targets.

* Add --update-section option to objcopy.

* Add --output-separator option to strings.

Changes in 2.25:

* Add --data option to strings to only print strings in loadable, initialized
  data sections.  Change the default behaviour to be --all, but add a new
  configure time option of --disable-default-strings-all to restore the old
  default behaviour.

* Add --include-all-whitespace to strings.

* Add --dump-section option to objcopy.

* Add support for the Andes NDS32.
2017-01-30 12:07:36 +00:00
mef
8dcdf0146d - Drops two patches patches/patch-bfd_bfd-in2_h patches/patch-opcodes_configure 2017-01-29 05:19:31 +00:00
mef
9d81f41b4e Updated cross/avr-gdb 7.6.1 to 7.12.1
-------------------------------------
Summary of changes may be found at:
   https://www.gnu.org/software/gdb/news/
2017-01-29 05:18:09 +00:00
mef
ea1de3eacb Updated cross/avr-libc 1.8.1 to 2.0.0
-------------------------------
*** Changes in avr-libc-2.0.0:
* General:
    This is the first official release supporting AVR-GCC 5 (and above).

* Bugs fixed:

  [#33698] Explicit use of RJMP/RCALL can cause "relocation truncated to fit:
           R_AVR_13_PCREL" linker error
  [#34719] Check for right build compiler
  [#43011] Bug in struct definition of __reg_UCSR1C and __reg_UCSR0C in iom128rfa1.h
  [#43044] memory sections require __attribute__ ((used))
  [#43828] wdt.h: Wrong inline assembler arguments
  [#44140] wdt_disable() macro clobbers prescaller bits
  [#44279] incorrect USB_TRNCOMPL_vect_num in iox64a1u.h, iox128a1u.h
  [#44515] Wrong build option '-mtiny-stack' instead of '-msp8'
  [#44574] Place device-specific libraries in their multilib directory
  [#44869] trunk doesn't work with gcc 5.1.0-RC-20150412
  [#44977] Incorrect PORT_t and CRC_t definitions for ATxmega64A1U and 128A1U
  [#45539] iom32u4.h defines reserved IO address (TIMSK2 (0x70), TIMSK5 (0x73) etc)
  [#45551] Power-save mode not supported for ATtiny167
  [#36303] Wrong hour for EU Summertime
  [#44514] Wrong build option '-mtiny-stack' instead of '-msp8'
  [no-id] TC_EVACT_FRQ_gc was misspelled as TC_EVACT_FRW_gc in some Xmega
          header files
  [no-id] LOCKBITS renamed to LOCK_BITS in Xmega header files as LOCKBITS
          clashes with definition in lock.h. Added missed defines to ADC_CH_MUXPOS_enum.
          Corrected pinmux values in ADC_CH_MUXNEG_enum.
  [no-id] Fix typos and incorrect definitions in header files.

* New devices supported:

  - ATA6616C, ATtiny441, ATtiny841, ATA6612C, ATA6617C, ATA664251, ATmega48PB,
    ATmega88PB, ATA5702M322, ATA5782, ATA5790N, ATA5831, ATA6613C, ATA6614Q,
    ATmega64HVE2, ATxmega8E5, ATxmega32C3, ATxmega32D3, ATxmega32E5

* Contributed Patches:

  [no-id] save & restore rampd register in xmega wdt_enable and wdt_disable
  [#8543] Fix multiple issues with device header files
  [#8557] Proposing to remove device specific xmega macros from sleep.h
  [#8563] Generalize power reduction macros in power.h by removing hard coded device names
  [#8564] Add dwarf debug info alternative, build printf with debug info
  [#8565] Compute and include device header file name from
          __AVR_DEV_LIB_NAME__ as fallback in io.h.
  [#8587] Move device specific functions to libdev.a
  [#8590] WDT enable/disable for devices with CCP
  [#8610] Remove eeprom function name mangling
  [#8716] Enable setjmp/longjmp functions for AVR_TINY architecture
  [#8718] Enable EEPROM memory map only for devices with EEPROM Data Memory
          Mapping Enable bit (EEMAPEN)
  [#8731] Header file for atmega644a
  [#8728] Use __extension__ with long long
  [#8556] Fix atexit.c
  [#8810] Fix LFUSE_DEFAULT for tiny24a/44a
  [#8902] Xmega's PROTECTED_WRITE is incorrect for IO registers whose address
          is more than one byte

* Other changes:

  Overhaul of doxygen documentation.

(pkgsrc-changes)
- Add comment lines to patch, picked from (old) cvs log
2017-01-29 04:29:54 +00:00
mef
03ce311e01 Updated cross/avrdude to 6.3
----------------------------
Version 6.3:
  * Major changes compared to the previous version:
    - Backout of
      patch #8380: adds 500k 1M 2M baud to ser_posix.c
      It broke the functionality in too many situations
      (bug #46610/46483)

  * New devices supported:
    - ATmega48PB, ATmega88PB, ATmega168PB
    - ATtiny28 (HVPP-only device)

  * New programmers supported:
    - Atmel mEDBG: xplainedmini, xplainedmini_dw

  * Bugfixes
    - bug #46610: Floating point exception (core dumped) arch linux rpi2
    - bug #46483: version 6.2. ser_open(): can't set attributes for device
    - patch #8435: Implementing mEDBG CMSIS-DAP protocol
    - patch #8735: ATtiny28 support in avrdude.conf
    - patch #8896: Silence cppcheck warnings in 6.2 code
    - patch #8895: Spelling in 6.2 code

Version 6.2:
  * Major changes compared to the previous version:
    - The stk500v2 implementation now uses its own higher-level
      command implementation for byte-wide access, rather than the
      historic SPI_MULTI command where all the low-level ISP
      implementation had to be assembled manually inside AVRDUDE.  In
      addition to the traditional STK500, this implementation is also
      used by all the more modern Atmel tools (AVRISPmkII, JTAGICEmkII
      in ISP mode, STK600 in ISP mode).

    - The -B option can be suffixed with "Hz", "kHz", or "MHz", in
      order to specify a bitclock frequency rather than period.

    - Print part id after signature (patch #8440 )

    - buspirate: Also support "cpufreq" extended parameter
      in binary mode (patch #8504 )

    - The "-P net:" syntax (forwarding of serial data over TCP) is now
      also implemented for Win32 systems.

    - Allow for arbitrary serial baudrates under Linux (OSX and *BSD
      could already handle it).


  * New devices supported:
    - AT90PWM216 (bug #42310: New part description for AT90PWM216)
    - ATmega32M1 (patch #7694 Add support for the atmega32m1)

  * New programmers supported:
    - ftdi_syncbb
      + uncompatino, ttl232r (FTDI TTL232R-5V with ICSP adapter)
        (patch #8529 2 more ftdi_syncbb devices)

  * Bugfixes
    - bug #45727: Wrong atmega8u2 flash parameters
    - bug #46020: Add TIAO TUMPA to the conf file.
    - bug #46021: Please add read in the memory lock section of ATtiny85
    - bug #42337 avrdude.conf updates for UM232H/CM232H
    - bug #42056: double free or corruption triggered at exit
    - bug #42158: Linux GPIO - Source Typo
    - bug #42516 spelling-error-in-binary
    - patch #8419 fix ftdi_syncbb hang with libftdi 1
    - bug #43002 usbasp debug output typo
    - patch #8511 Fix reset on FT245R
    - bug #40142 Floating point exception on Ubuntu 10.04
    - bug #22248: Read efuse error (partial fix)
    - bug #42267: jtag3isp fails to read lock and fuse bytes directly
                  after changing lock byte
    - bug #41561: AVRDUDE 6.0.1/USBasp doesn't write first bytes of
                  flash page
    - bug #43078: AVRDUDE crashes after sucessfully reading/writing eeprom
    - bug #43137: Writing and reading incorrect pages when using jtagicemkI
    - bug #40870: config nitpick: ATtiny25/45/85 have 1 calibration byte not 2
    - bug #42908: no external reset at JTAGICE3
    - patch #8437: [PATCH] Serial-over-ethernet for Win32
    - bug #44717: avrdude creates empty flash dump

  * Internals:
    - Removing exit calls from config parser
    - bug #42662 clang warnings under FreeBSD 10.x
2017-01-29 02:24:54 +00:00
ryoon
c5b9b706e5 Update to 6.3.0
Changelog:
* The default mode for C++ is now -std=gnu++14 instead of -std=gnu++98.

# ARM

Support for revisions of the ARM architecture prior to ARMv4t has been
deprecated and will be removed in a future GCC release. The -mcpu and
-mtune values that are deprecated are: arm2, arm250, arm3, arm6,
arm60, arm600, arm610, arm620, arm7, arm7d, arm7di, arm70, arm700,
arm700i, arm710, arm720, arm710c, arm7100, arm7500, arm7500fe, arm7m,
arm7dm, arm7dmi, arm8, arm810, strongarm, strongarm110, strongarm1100,
strongarm1110, fa526, fa626. The value arm7tdmi is still
supported. The values of -march that are deprecated are:
armv2,armv2a,armv3,armv3m,armv4.

The ARM port now supports target attributes and pragmas. Please refer
to the documentation for details of available attributes and pragmas
as well as usage instructions.

Support has been added for the following processors (GCC identifiers
in parentheses): ARM Cortex-A32 (cortex-a32), ARM Cortex-A35
(cortex-a35) and ARM Cortex-R8 (cortex-r8). The GCC identifiers can be
used as arguments to the -mcpu or -mtune options, for example:
-mcpu=cortex-a32 or -mtune=cortex-a35.
2017-01-22 12:35:02 +00:00
joerg
5a42a25f85 Another freemint package, another GCC in need of patching. 2016-12-21 13:34:16 +00:00