pkgsrc/emulators/simulavr/patches/patch-configure
mef 611e027d22 (pkgsrc)
simulavr asks for libiberty.a.
  With avr-gcc 4.5.3 and avr-binutils-2.23.2, binutils is installing
  libiberty.a
  But with new binutils-2.24, it won't install libiberty. Instead,
  avr-gcc-4.8.3 will provied libiberty.
  Makefile (of simulavr) now has pointer to PATH of libiberty now
  as:
    CONFIGURE_ARGS+=        --with-libiberty=${PREFIX}/lib/gcc/avr
(Add patches)
   patch-src_systemclock_cpp (rename from  patch-src_systemclock.cpp)
   patch-src_systemclock_h
   patch-src_traceval_cpp
   patch-src_traceval_h
     clang flags as resize unresolved reference,
     backport from git repository (as of 2013-09-15).
  patch-examples_atmel_key_StdDefs_c        Status: Locally Added
     passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
2014-08-29 04:40:06 +00:00

25 lines
898 B
Text

$NetBSD: patch-configure,v 1.2 2014/08/29 04:40:06 mef Exp $
=> Checking for portability problems in extracted files
ERROR: [check-portability.awk] => Found test ... == ...:
--- configure.orig 2013-07-06 17:58:39.000000000 +0900
+++ configure 2013-07-06 18:00:22.000000000 +0900
@@ -15283,7 +15283,7 @@ $as_echo_n "checking for Python library
py_version=`$PYTHON -c "from distutils.sysconfig import *; \
from string import join; \
print(join(get_config_vars('VERSION')))"`
- if test "$py_version" == "None"; then
+ if test "$py_version" = "None"; then
if test -n "$PYTHON_VERSION"; then
py_version=$PYTHON_VERSION
else
@@ -16684,7 +16684,7 @@ else
USE_FAB_FALSE=
fi
-if test X"${USE_FAB_FALSE}" == X"" ; then
+if test X"${USE_FAB_FALSE}" x= X"" ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: NOT available" >&5
$as_echo "NOT available" >&6; }
else