Page MenuHomeFreeBSD

D18770.diff
No OneTemporary

D18770.diff

Index: head/x11/polybar/Makefile
===================================================================
--- head/x11/polybar/Makefile
+++ head/x11/polybar/Makefile
@@ -20,7 +20,8 @@
libxcb-util.so:x11/xcb-util \
libxcb-xrm.so:x11/xcb-util-xrm
-USES= cmake compiler:c++11-lang localbase:ldflags \
+# compiler:c++11-lang is needed for powerpc64
+USES= cmake compiler:c++11-lang gnome localbase:ldflags \
pkgconfig python:2.7,build
USE_GITHUB= yes
GH_ACCOUNT= jaagr
Index: head/x11/polybar/files/patch-lib_xpp_CMakeLists.txt
===================================================================
--- head/x11/polybar/files/patch-lib_xpp_CMakeLists.txt
+++ head/x11/polybar/files/patch-lib_xpp_CMakeLists.txt
@@ -0,0 +1,20 @@
+--- lib/xpp/CMakeLists.txt.orig 2019-01-12 15:06:55 UTC
++++ lib/xpp/CMakeLists.txt
+@@ -48,7 +48,7 @@ set(XPP_LIBRARIES
+ #
+ # Loop through a hardcoded list of python executables to locate the python module "xcbgen"
+ #
+-foreach(CURRENT_EXECUTABLE python2 python2.7 python3 python)
++foreach(CURRENT_EXECUTABLE python2 python2.7 python3 python3.5 python3.6 python3.7 python)
+ message(STATUS "Searching for xcbgen with " ${CURRENT_EXECUTABLE})
+
+ execute_process(COMMAND "${CURRENT_EXECUTABLE}" "-c"
+@@ -161,7 +161,7 @@ foreach(PROTO ${PROTO_LIST})
+ set(OUTPUT_FILE ${PROJECT_SOURCE_DIR}/include/xpp/proto/${PROTO_OUTPUT}.hpp)
+ add_custom_command(
+ OUTPUT ${OUTPUT_FILE}
+- COMMAND ${PYTHON_EXECUTABLE} ${PROJECT_SOURCE_DIR}/generators/cpp_client.py -p "${PYTHON_XCBGEN}"
++ COMMAND ${PYTHON_EXECUTABLE} -B ${PROJECT_SOURCE_DIR}/generators/cpp_client.py -p "${PYTHON_XCBGEN}"
+ ${XCBPROTO_XCBINCLUDEDIR}/${PROTO}.xml > ${OUTPUT_FILE})
+ list(APPEND PROTO_HEADER_FILES ${OUTPUT_FILE})
+ endforeach(PROTO)

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 10, 4:41 PM (17 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17086730
Default Alt Text
D18770.diff (1 KB)

Event Timeline