Skip to content

Commit

Permalink
Fix the patches
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTim committed Feb 20, 2020
1 parent 1179cc3 commit 4105fc6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions scripts/patch-1-inttypes.patch
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
diff --git a/Sources/CAPNSwiftBoringSSL/crypto/hrss/hrss.c b/Sources/CAPNSwiftBoringSSL/crypto/hrss/hrss.c
diff --git a/Sources/CVaporJWTBoringSSL/crypto/hrss/hrss.c b/Sources/CVaporJWTBoringSSL/crypto/hrss/hrss.c
index 93a214e..eee4e58 100644
--- a/Sources/CAPNSwiftBoringSSL/crypto/hrss/hrss.c
+++ b/Sources/CAPNSwiftBoringSSL/crypto/hrss/hrss.c
--- a/Sources/CVaporJWTBoringSSL/crypto/hrss/hrss.c
+++ b/Sources/CVaporJWTBoringSSL/crypto/hrss/hrss.c
@@ -13,6 +13,7 @@
* CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */

#include <CAPNSwiftBoringSSL_hrss.h>
#include <CVaporJWTBoringSSL_hrss.h>
+#include <inttypes.h>

#include <assert.h>
#include <stdio.h>
diff --git a/Sources/CAPNSwiftBoringSSL/include/CAPNSwiftBoringSSL_bn.h b/Sources/CAPNSwiftBoringSSL/include/CAPNSwiftBoringSSL_bn.h
diff --git a/Sources/CVaporJWTBoringSSL/include/CVaporJWTBoringSSL_bn.h b/Sources/CVaporJWTBoringSSL/include/CVaporJWTBoringSSL_bn.h
index c86c1ef..7013140 100644
--- a/Sources/CAPNSwiftBoringSSL/include/CAPNSwiftBoringSSL_bn.h
+++ b/Sources/CAPNSwiftBoringSSL/include/CAPNSwiftBoringSSL_bn.h
--- a/Sources/CVaporJWTBoringSSL/include/CVaporJWTBoringSSL_bn.h
+++ b/Sources/CVaporJWTBoringSSL/include/CVaporJWTBoringSSL_bn.h
@@ -126,7 +126,7 @@
#include "CAPNSwiftBoringSSL_base.h"
#include "CAPNSwiftBoringSSL_thread.h"
#include "CVaporJWTBoringSSL_base.h"
#include "CVaporJWTBoringSSL_thread.h"

-#include <inttypes.h> // for PRIu64 and friends
+#include <sys/types.h>
Expand Down
6 changes: 3 additions & 3 deletions scripts/patch-2-arm-arch.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
diff --git a/Sources/CAPNSwiftBoringSSL/include/CAPNSwiftBoringSSL_arm_arch.h b/Sources/CAPNSwiftBoringSSL/include/CAPNSwiftBoringSSL_arm_arch.h
diff --git a/Sources/CVaporJWTBoringSSL/include/CVaporJWTBoringSSL_arm_arch.h b/Sources/CVaporJWTBoringSSL/include/CVaporJWTBoringSSL_arm_arch.h
index faa2655..0e76796 100644
--- a/Sources/CAPNSwiftBoringSSL/include/CAPNSwiftBoringSSL_arm_arch.h
+++ b/Sources/CAPNSwiftBoringSSL/include/CAPNSwiftBoringSSL_arm_arch.h
--- a/Sources/CVaporJWTBoringSSL/include/CVaporJWTBoringSSL_arm_arch.h
+++ b/Sources/CVaporJWTBoringSSL/include/CVaporJWTBoringSSL_arm_arch.h
@@ -49,7 +49,7 @@
* This product includes cryptographic software written by Eric Young
* ([email protected]). This product includes software written by Tim
Expand Down

0 comments on commit 4105fc6

Please sign in to comment.