Skip to content

Commit

Permalink
Apply CR
Browse files Browse the repository at this point in the history
Co-authored-by: Billy O'Neal <bion@microsoft.com>
  • Loading branch information
Neumann-A and BillyONeal committed Oct 20, 2022
1 parent cdfa4d1 commit e7f7e9e
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 7 deletions.
3 changes: 1 addition & 2 deletions ports/xcb-errors/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

# # Handle copyright
configure_file("${SOURCE_PATH}/COPYING" "${CURRENT_PACKAGES_DIR}/share/xcb-errors/copyright" COPYONLY)
file(INSTALL "${SOURCE_PATH}/COPYING" "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
endif()

1 change: 1 addition & 0 deletions ports/xcb-image/add_return_value.patch
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ index a6872a1f3..bf6fdc179 100644
return XCB_IMAGE_ORDER_LSB_FIRST;
}
assert(0);
+ exit(EXIT_FAILURE);
+ return -1;
}

Expand Down
1 change: 0 additions & 1 deletion ports/xcb-keysyms/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

# Handle copyright
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
endif()
1 change: 0 additions & 1 deletion ports/xcb-util/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,5 @@ vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

# Handle copyright
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
endif()
2 changes: 1 addition & 1 deletion ports/xcb-wm/build.patch
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ index b986105f6..a0ce37c2a 100644
#include <sys/types.h>

-#define ssizeof(foo) (ssize_t)sizeof(foo)
+#define ssizeof(foo) (size_t)sizeof(foo)
+#define ssizeof(foo) (ptrdiff_t)sizeof(foo)
#define countof(foo) (ssizeof(foo) / ssizeof(foo[0]))

/**
Expand Down
2 changes: 0 additions & 2 deletions ports/xcb-wm/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,5 @@ vcpkg_fixup_pkgconfig()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

# Handle copyright
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/share/${PORT}/")
file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
endif()

0 comments on commit e7f7e9e

Please sign in to comment.