Browse Source

Refresh patches

tags/upstream/1.3.6
Mateusz Łukasik 7 years ago
parent
commit
cd0ed44114
2 changed files with 22 additions and 1 deletions
  1. +2
    -1
      debian/patches/series
  2. +20
    -0
      debian/patches/slim-1.3.6-fix-libslim-libraries.patch

+ 2
- 1
debian/patches/series View File

@@ -1,2 +1,3 @@
slim-conf.patch
disable_log.patch
#disable_log.patch
slim-1.3.6-fix-libslim-libraries.patch

+ 20
- 0
debian/patches/slim-1.3.6-fix-libslim-libraries.patch View File

@@ -0,0 +1,20 @@
diff -upr slim-1.3.6.orig/CMakeLists.txt slim-1.3.6/CMakeLists.txt
--- slim-1.3.6.orig/CMakeLists.txt 2013-10-02 16:16:22.000000000 +0300
+++ slim-1.3.6/CMakeLists.txt 2013-10-02 16:19:57.000000000 +0300
@@ -119,6 +119,7 @@ if(USE_PAM)
if(PAM_FOUND)
message("\tPAM Found")
set(SLIM_DEFINITIONS ${SLIM_DEFINITIONS} "-DUSE_PAM")
+ target_link_libraries(libslim ${PAM_LIBRARY})
target_link_libraries(${PROJECT_NAME} ${PAM_LIBRARY})
target_link_libraries(slimlock ${PAM_LIBRARY})
include_directories(${PAM_INCLUDE_DIR})
@@ -178,6 +179,8 @@ include_directories(
)
target_link_libraries(libslim
+ ${X11_Xft_LIB}
+ ${X11_Xrandr_LIB}
${JPEG_LIBRARIES}
${PNG_LIBRARIES}
)

Loading…
Cancel
Save