X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Flibffi%2F0003-fix-typo.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Flibffi%2F0003-fix-typo.patch;h=f20804bf8bd8d33f9999a54a37ae4d565f3683d4;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/libffi/0003-fix-typo.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/libffi/0003-fix-typo.patch new file mode 100644 index 0000000..f20804b --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/libffi/0003-fix-typo.patch @@ -0,0 +1,41 @@ +From cbc5a3c0200aa6c2cf8d6798d69a21501557c83f Mon Sep 17 00:00:00 2001 +From: Ryan Hill +Date: Sat, 31 May 2014 08:26:34 -0400 +Subject: [PATCH 05/10] Fix typo + +This patch was borrowed from upstream, commit +cbc5a3c0200aa6c2cf8d6798d69a21501557c83f, and will be part of the next +3.1.1 release. + +Signed-off-by: Thomas Petazzoni +--- + include/ffi.h.in | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/include/ffi.h.in b/include/ffi.h.in +index 93c776f..70c6179 100644 +--- a/include/ffi.h.in ++++ b/include/ffi.h.in +@@ -1,5 +1,5 @@ + /* -----------------------------------------------------------------*-C-*- +- libffi @VERSION@ - Copyright (c) 2011 Anthony Green ++ libffi @VERSION@ - Copyright (c) 2011, 2014 Anthony Green + - Copyright (c) 1996-2003, 2007, 2008 Red Hat, Inc. + + Permission is hereby granted, free of charge, to any person +@@ -221,10 +221,10 @@ typedef struct { + #endif + } ffi_cif; + +-#if HAVE_LONG_DOUBLE_VARIANT ++#if @HAVE_LONG_DOUBLE_VARIANT@ + /* Used to adjust size/alignment of ffi types. */ + void ffi_prep_types (ffi_abi abi); +-# endif ++#endif + + /* Used internally, but overridden by some architectures */ + ffi_status ffi_prep_cif_core(ffi_cif *cif, +-- +2.0.0 +