What the patch did was to move libstdc++ to private section, so that other packages that depend on LibRaw wouldn't be required to link against libstdc++. This should fix shotwell to build against LibRaw again.