Would someone be able to provide the direct links to the patches that should be used to patch Drupal 7 so that the latest 7.x-1.x-dev version of secure pages will run properly? I am running Drupal 7.9.

Also, I'm new to patching drupal. Could someone provide instructions on patching drupal with the required files? I am a bit confused on what shell commands should be used for patches these days.

Comments

Everett Zufelt’s picture

Status: Active » Fixed

I cannot promise that this will work for you, but this is what i have done. Note, I'm using curl to get the patch files, you can get them in any way you like and direct the file into patch (e.g. "patch -p1 < foo.patch").

Patch with the following patches from within Drupal docroot:

patch -p1 < curl http://drupal.org/files/471970-24-D7.patch
patch -p2 < curl http://drupal.org/files/961508-23.patch
patch -p2 < curl http://drupal.org/files/1050746-POST-APOCALYPSE.patch

wrender’s picture

Hey thanks Everett. I was able to patch using Git. A question for you. I notice a lot of the patches have ./core/ in front of the paths in the patch file. Do you know why this is, and how to patch using a file that has ./core/ in front of the paths?

Everett Zufelt’s picture

Yup, because they are against d8, not d7, but they still apply on d7.

the -p2 for those 2 patches is to skip over the /core

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.