snapcraft: add libbsd-dev to build-packages
diff mbox series

Message ID 1534956890-24077-1-git-send-email-anthony.wong@canonical.com
State Accepted
Headers show
Series
  • snapcraft: add libbsd-dev to build-packages
Related show

Commit Message

Anthony Wong Aug. 22, 2018, 4:54 p.m. UTC
Fixes snap build error:
fwts_hwinfo.c:23:24: fatal error: bsd/string.h: No such file or directory

Signed-off-by: Anthony Wong <anthony.wong@canonical.com>
---
 snapcraft.yaml | 1 +
 1 file changed, 1 insertion(+)

Comments

Colin Ian King Aug. 22, 2018, 4:59 p.m. UTC | #1
On 22/08/18 17:54, Anthony Wong wrote:
> Fixes snap build error:
> fwts_hwinfo.c:23:24: fatal error: bsd/string.h: No such file or directory
> 
> Signed-off-by: Anthony Wong <anthony.wong@canonical.com>
> ---
>  snapcraft.yaml | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/snapcraft.yaml b/snapcraft.yaml
> index 0a69fc9..0533ddf 100644
> --- a/snapcraft.yaml
> +++ b/snapcraft.yaml
> @@ -24,6 +24,7 @@ parts:
>              - dh-autoreconf
>              - libglib2.0-dev
>              - libfdt-dev
> +            - libbsd-dev
>  apps:
>      fwts:
>          command: bin/fwts
> 

Thanks!

Acked-by: Colin Ian King <colin.king@canonical.com>
Alex Hung Aug. 22, 2018, 11:30 p.m. UTC | #2
On 2018-08-22 09:54 AM, Anthony Wong wrote:
> Fixes snap build error:
> fwts_hwinfo.c:23:24: fatal error: bsd/string.h: No such file or directory
> 
> Signed-off-by: Anthony Wong <anthony.wong@canonical.com>
> ---
>   snapcraft.yaml | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/snapcraft.yaml b/snapcraft.yaml
> index 0a69fc9..0533ddf 100644
> --- a/snapcraft.yaml
> +++ b/snapcraft.yaml
> @@ -24,6 +24,7 @@ parts:
>               - dh-autoreconf
>               - libglib2.0-dev
>               - libfdt-dev
> +            - libbsd-dev
>   apps:
>       fwts:
>           command: bin/fwts
> 


Acked-by: Alex Hung <alex.hung@canonical.com>

Patch
diff mbox series

diff --git a/snapcraft.yaml b/snapcraft.yaml
index 0a69fc9..0533ddf 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -24,6 +24,7 @@  parts:
             - dh-autoreconf
             - libglib2.0-dev
             - libfdt-dev
+            - libbsd-dev
 apps:
     fwts:
         command: bin/fwts