gnu: aws-c-event-stream: Replace patch.
* gnu/packages/c.scm (aws-c-event-stream): Replace patch. [arguments]: Fix CMAKE_PREFIX_PATH. [source]: Remove patch. * gnu/packages/patches/aws-c-event-stream-cmake-prefix.patch: Delete file. * gnu/local.mk: Remove it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>master
parent
c769b8c2b5
commit
963ebbc62c
|
@ -871,7 +871,6 @@ dist_patch_DATA = \
|
||||||
%D%/packages/patches/avidemux-install-to-lib.patch \
|
%D%/packages/patches/avidemux-install-to-lib.patch \
|
||||||
%D%/packages/patches/awesome-reproducible-png.patch \
|
%D%/packages/patches/awesome-reproducible-png.patch \
|
||||||
%D%/packages/patches/aws-c-auth-install-private-headers.patch \
|
%D%/packages/patches/aws-c-auth-install-private-headers.patch \
|
||||||
%D%/packages/patches/aws-c-event-stream-cmake-prefix.patch \
|
|
||||||
%D%/packages/patches/aws-checksums-cmake-prefix.patch \
|
%D%/packages/patches/aws-checksums-cmake-prefix.patch \
|
||||||
%D%/packages/patches/azr3.patch \
|
%D%/packages/patches/azr3.patch \
|
||||||
%D%/packages/patches/bash-reproducible-linux-pgrp-pipe.patch \
|
%D%/packages/patches/bash-reproducible-linux-pgrp-pipe.patch \
|
||||||
|
|
|
@ -605,6 +605,7 @@ with fallback to efficient C99 software implementations.")
|
||||||
(define-public aws-c-event-stream
|
(define-public aws-c-event-stream
|
||||||
(package
|
(package
|
||||||
(name "aws-c-event-stream")
|
(name "aws-c-event-stream")
|
||||||
|
; Update only when updating aws-crt-cpp.
|
||||||
(version "0.2.7")
|
(version "0.2.7")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
@ -614,12 +615,13 @@ with fallback to efficient C99 software implementations.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0xwwr7gdgfrphk6j7vk12rgimfim6m4qnj6hg8hgg16cplhvsfzh"))
|
"0xwwr7gdgfrphk6j7vk12rgimfim6m4qnj6hg8hgg16cplhvsfzh"))))
|
||||||
(patches (search-patches "aws-c-event-stream-cmake-prefix.patch"))))
|
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags
|
'(#:configure-flags
|
||||||
'("-DBUILD_SHARED_LIBS=ON")))
|
(list "-DBUILD_SHARED_LIBS=ON"
|
||||||
|
(string-append "-DCMAKE_PREFIX_PATH="
|
||||||
|
(assoc-ref %build-inputs "aws-c-common")))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
`(("aws-c-common" ,aws-c-common)
|
`(("aws-c-common" ,aws-c-common)
|
||||||
("aws-c-io" ,aws-c-io)
|
("aws-c-io" ,aws-c-io)
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -3,6 +3,10 @@
|
|
||||||
cmake_minimum_required (VERSION 3.1)
|
|
||||||
project (aws-c-event-stream C)
|
|
||||||
|
|
||||||
+if (DEFINED ENV{CMAKE_PREFIX_PATH})
|
|
||||||
+ set(CMAKE_PREFIX_PATH $ENV{CMAKE_PREFIX_PATH})
|
|
||||||
+endif()
|
|
||||||
+
|
|
||||||
if (DEFINED CMAKE_PREFIX_PATH)
|
|
||||||
file(TO_CMAKE_PATH "${CMAKE_PREFIX_PATH}" CMAKE_PREFIX_PATH)
|
|
||||||
endif()
|
|
Reference in New Issue