Skip to content
This repository has been archived by the owner on Dec 10, 2017. It is now read-only.

Commit

Permalink
💅 Shorten patch depth to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
sgerrand committed Jul 14, 2016
1 parent d4cdaef commit 6bcf8af
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions 10-glibc-disable-stack-end.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- src/R-3.2.3/src/unix/system.c
+++ src/R-3.2.3/src/unix/system.c
--- a/src/unix/system.c
+++ b/src/unix/system.c
@@ -132,7 +132,7 @@
# endif
# include <sys/resource.h>
Expand Down
4 changes: 2 additions & 2 deletions 20-add-aix-to-r-extra-cpp-flags.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--- src/R-3.2.3/etc/Makeconf.in
+++ src/R-3.2.3/etc/Makeconf.in
--- a/etc/Makeconf.in
+++ b/etc/Makeconf.in
@@ -114,7 +114,7 @@
STATIC_LIBR = @WANT_R_STATIC_TRUE@ @STATICR1@ "$(R_HOME)/lib$(R_ARCH)/libR.a" @STATICR2@ $(BLAS_LIBS) $(FLIBS) @R_XTRA_LIBS@ $(LIBINTL) @READLINE_LIBS@ $(LIBS)

Expand Down
14 changes: 7 additions & 7 deletions APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ prepare() {
for i in $source; do
case $i in
*.patch)
msg "Applying ${i}"; patch -p2 -i "$srcdir/$i" || return 1;;
msg "Applying ${i}"; patch -p1 -i "$srcdir/$i" || return 1;;
esac
done
}
Expand Down Expand Up @@ -63,11 +63,11 @@ doc() {
}

md5sums="5a7506c8813432d1621c9725e86baf7a R-3.3.0.tar.gz
4368a6983cf584d666c51aa61d680209 10-glibc-disable-stack-end.patch
d7796bd9163b5c170eef82db94ff7e3b 20-add-aix-to-r-extra-cpp-flags.patch"
5e221346d92824dd33d328054942b505 10-glibc-disable-stack-end.patch
8cab50c334cc4bbd9cdbddb3ea910eca 20-add-aix-to-r-extra-cpp-flags.patch"
sha256sums="9256b154b1a5993d844bee7b1955cd49c99ad72cef03cce3cd1bdca1310311e4 R-3.3.0.tar.gz
26a00af590550a19d6a2c3e21ce932de6722300d1dd18729bdfa16b57da23242 10-glibc-disable-stack-end.patch
6ac8cad03856407e0f036fa419b9a1e5fa5ec549c9bd25180fb6425ca1e9b799 20-add-aix-to-r-extra-cpp-flags.patch"
d588a5d4db1ec83277221f5f0c1605110a0d46cd2abb567f744ad83f35da3c40 10-glibc-disable-stack-end.patch
ca142e4dad1694550fe462540ee5feef3687a1f16c6e970e186cf0dc0b2f3704 20-add-aix-to-r-extra-cpp-flags.patch"
sha512sums="81e9ef761bee4d9322ca785fbed843ab13c2f5b55be769d982a81a7e7694e03980cbc7ee067fc850bd7a17ab65d93be81f27db50d428665773174c690383d4cc R-3.3.0.tar.gz
a1b3d9ad70dc77a649f0b56e1080e2f833e7eba23408ee710d372bfde06eb651418c78f640554743666c812eb0d268e0db48b2cbf038481c9ede46e4d4f43c3e 10-glibc-disable-stack-end.patch
e422ac15b558de684ec3357f71ff5c6a488bee97de6c19b3f6efa230015716e05d4e07ed5b0add411ed16be53c9d019cdc7174f1c997e8ab11af98e6246439dd 20-add-aix-to-r-extra-cpp-flags.patch"
f5e72f742a540c1a5439221ca1afcd1d2c0f4421dac6f2301231ce4905bdf12a4b6cab7213f15849d3f9f4d0bd6addc91ef8805213dad23794245f7ea12aa102 10-glibc-disable-stack-end.patch
658c8c47baeb4914ccc8deec34d4f4229933134ff189724349201fe0768115b70d74af60bf54fb9e692951b70ca7458450e1077aea5ebf5c4571b8e8afc581b9 20-add-aix-to-r-extra-cpp-flags.patch"

0 comments on commit 6bcf8af

Please sign in to comment.