Commit 66c1fc8c authored by Carlos Ramos Carreño's avatar Carlos Ramos Carreño

Fix patches from Github

Several components use patches directly from Github.
Unfortunately, Github changes the number of characters displayed for the
commits in index lines depending on the size of the repository.
That means, that the content of these patches may change, invalidating
the MD5.

By using the `?full_index=1` param
(https://github.com/orgs/community/discussions/46034#discussioncomment-4846112)
we can request that these patches include the full names of the commits,
thus preventing future changes.

See merge request nexedi/slapos!1645
parent 4ab7889b
......@@ -21,7 +21,7 @@ environment =
PATH=${patch:location}/bin:${perl:location}/bin:${xz-utils:location}/bin:%(PATH)s
LDFLAGS=-Wl,--as-needed -L${gmp:location}/lib -Wl,-rpath=${gmp:location}/lib
patches =
https://github.com/coreutils/coreutils/commit/c4c5ed8f4e9cd55a12966d4f520e3a13101637d9.patch#b6810d7559ffbc5e24636a860f02e836
https://github.com/coreutils/coreutils/commit/c4c5ed8f4e9cd55a12966d4f520e3a13101637d9.patch?full_index=1#5fc691542117b167b456daf222d2a6e5
patch-options = -p1
# disable year 2038 problem ONLY for 32 bit architectures
......
......@@ -73,7 +73,7 @@ patch-binary = ${patch:location}/bin/patch
patch-options = -p1
patches =
${:_profile_base_location_}/gcc-libsanitizer-multiple-definition-fsconfig_command.patch#2135c53c901d67ce230f5c94352b7780
https://github.com/gcc-mirror/gcc/commit/6bf383c37e6131a8e247e8a0997d55d65c830b6d.diff#785b6882986d5b0057b92845c656db72
https://github.com/gcc-mirror/gcc/commit/6bf383c37e6131a8e247e8a0997d55d65c830b6d.patch?full_index=1#7fa2042dfacac2b48fb0153411ba2776
[gcc-10.5]
<= gcc-common
......@@ -82,7 +82,7 @@ md5sum = c7d1958570fbd1cd859b015774b9987a
patch-binary = ${patch:location}/bin/patch
patch-options = -p1
patches =
https://github.com/gcc-mirror/gcc/commit/6bf383c37e6131a8e247e8a0997d55d65c830b6d.diff#785b6882986d5b0057b92845c656db72
https://github.com/gcc-mirror/gcc/commit/6bf383c37e6131a8e247e8a0997d55d65c830b6d.patch?full_index=1#7fa2042dfacac2b48fb0153411ba2776
[gcc-12.3]
<= gcc-common
......
......@@ -6,7 +6,7 @@ parts =
recipe = zc.recipe.egg
egg = selenium
# patch to support python3.9
selenium-patches = https://github.com/SeleniumHQ/selenium/commit/ddd163b681776292a72c39352581cf5c9d4f88f4.patch#c801fade1cd2019c063a0f0ef7cca3fe
selenium-patches = https://github.com/SeleniumHQ/selenium/commit/ddd163b681776292a72c39352581cf5c9d4f88f4.patch?full_index=1#77deb91ef0ec8a9648786937dc5c6b67
selenium-patch-options = -p2
[versions]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment