Skip to content

Commit

Permalink
slim: make patch more readable
Browse files Browse the repository at this point in the history
Do not depend on "line 126" (which only applies _after_ our other patches)
  • Loading branch information
v4hn committed Nov 4, 2014
1 parent 1866e65 commit 3463b2d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion x11-utils/slim/PRE_BUILD
Expand Up @@ -5,7 +5,8 @@ patch_it $SOURCE3 1 &&

sedit 's@FREETYPE_INCLUDE_DIR_freetype2@FREETYPE_INCLUDE_DIR_ft2build@' CMakeLists.txt &&

sedit '126 i target_link_libraries(libslim ${PAM_LIBRARY})' CMakeLists.txt &&
# link against pam with USE_PAM
sedit '/target_link_libraries(${PROJECT_NAME} ${PAM_LIBRARY})/ a target_link_libraries(libslim ${PAM_LIBRARY})' CMakeLists.txt &&

# fix their broken sample configuration
sedit 's/^sessions.*/#\0/; T; a sessiondir /usr/share/xsessions' slim.conf &&
Expand Down

0 comments on commit 3463b2d

Please sign in to comment.