Skip to content

Conversation

cxzhong
Copy link
Contributor

@cxzhong cxzhong commented Oct 15, 2025

This PR update the lrslib to 073 version with autotool patch and fix-signal-handler patch in gcc 15

📝 Checklist

  • The title is concise and informative.
  • The description explains in detail what this PR is about.
  • I have linked a relevant issue or discussion.
  • I have created tests covering the changes.
  • I have updated the documentation and checked the documentation preview.

⌛ Dependencies

Copy link

github-actions bot commented Oct 15, 2025

Documentation preview for this PR (built with commit dadbbc1; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

The lrslib-073 source includes an original makefile with install target
that hardcodes prefix=/usr/local. This conflicts with the autotools-based
build and causes files to be installed to the wrong location.

Solution: Rename the original makefile to makefile.orig before running
autoreconf to prevent the conflict.
- Add all 227 example/test files from games/, ext/, ine/ directories
- Include new directories: ext/redund/, ext/tsp/, ine/afsa/, ine/polybase/,
  ine/project/, and ine/test-072/
- Update patch line count from 250 to 354 lines in Makefile.am
- This ensures all test files are properly installed with the package
@cxzhong cxzhong marked this pull request as ready for review October 17, 2025 05:50
@Copilot Copilot AI review requested due to automatic review settings October 17, 2025 05:50
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the lrslib package from version 071b to version 073, applying autotools patches and adding a signal handler fix for GCC 15 compatibility.

Key changes:

  • Updates package version to 073 and switches from a custom autotoolized fork to upstream source with patches
  • Adds signal handler parameter fix for GCC 15 compatibility
  • Updates build process to copy arithmetic headers and run autoreconf

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
build/pkgs/lrslib/spkg-install.in Adds pre-build steps to copy arithmetic headers and prepare autotools build
build/pkgs/lrslib/patches/fix-signal-handlers.patch Adds signal handler parameter signatures to fix GCC 15 compatibility
build/pkgs/lrslib/patches/autotools.patch Adds comprehensive autotools build system configuration
build/pkgs/lrslib/package-version.txt Updates version from 071b+autotools to 073
build/pkgs/lrslib/checksums.ini Updates checksums and upstream URL for version 073
build/pkgs/lrslib/SPKG.rst Updates documentation to reflect new patch approach and version

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@cxzhong cxzhong changed the title Test lrslib073 autotool Update lrslib to 073 with autotool patch Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant