diff options
author | Sean Greenslade | 2018-01-30 00:23:06 -0800 |
---|---|---|
committer | Sean Greenslade | 2018-01-30 00:47:28 -0800 |
commit | 094a9fafbfc1a99f540f933fdb10abfe754d0c46 (patch) | |
tree | 4ee74c6fba1daba18b528726c564c1ee70f526fa /python_fix.patch | |
parent | 798262bc2c3b27fa69fb0d03630b92124b121c37 (diff) | |
download | aur-ros-kinetic-pointgrey-camera-driver.tar.gz |
Version bump.
Diffstat (limited to 'python_fix.patch')
-rw-r--r-- | python_fix.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/python_fix.patch b/python_fix.patch new file mode 100644 index 000000000000..bc83d45053a7 --- /dev/null +++ b/python_fix.patch @@ -0,0 +1,31 @@ +--- a/pointgrey_camera_driver-release-release-kinetic-pointgrey_camera_driver-0.13.4-0/cmake/download_flycap 2017-10-26 08:41:26.000000000 -0700 ++++ b/pointgrey_camera_driver-release-release-kinetic-pointgrey_camera_driver-0.13.4-0/cmake/download_flycap 2018-01-30 00:05:08.371364896 -0800 +@@ -134,14 +134,14 @@ + os.mkdir(os.path.join(include_path, flycap_folder)) + + for files in include_files: +- if files.endswith(".h"): +- shutil.move(os.path.join(include_path, files), os.path.join(include_path, flycap_folder)) ++ if files.endswith(".h"): ++ shutil.move(os.path.join(include_path, files), os.path.join(include_path, flycap_folder)) + + shutil.copyfile(shared_library, library_dest) + else: + for deb in debs: + logging.info("Extracting: %s", deb) +- subprocess.check_call(['dpkg', '--extract', deb, '.']) ++ subprocess.check_call(['dpkg', '--extract', deb, '.']) + + logging.info("Copying shared library.") + shutil.copyfile(shared_library, library_dest) +--- a/pointgrey_camera_driver-release-release-kinetic-pointgrey_camera_driver-0.13.4-0/cmake/DownloadFlyCap.cmake 2017-10-26 08:41:26.000000000 -0700 ++++ b/pointgrey_camera_driver-release-release-kinetic-pointgrey_camera_driver-0.13.4-0/cmake/DownloadFlyCap.cmake 2018-01-30 00:16:00.735068299 -0800 +@@ -15,7 +15,7 @@ + set(DOWNLOAD_SCRIPT "${PROJECT_SOURCE_DIR}/cmake/download_flycap") + + execute_process( +- COMMAND /usr/bin/env python ${DOWNLOAD_SCRIPT} ${POINTGREY_ARCH} ${POINTGREY_LIB} ${OS_CODE_NAME} ++ COMMAND /usr/bin/env python2 ${DOWNLOAD_SCRIPT} ${POINTGREY_ARCH} ${POINTGREY_LIB} ${OS_CODE_NAME} + WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) + + set(${POINTGREY_LIB_VAR} ${POINTGREY_LIB} PARENT_SCOPE) |