From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-1.9 required=3.0 tests=BAYES_00,FREEMAIL_FROM, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Received: by 2002:a05:6214:9a6:b0:636:3fbd:84e with SMTP id du6-20020a05621409a600b006363fbd084emr31993qvb.5.1688335187179; Sun, 02 Jul 2023 14:59:47 -0700 (PDT) X-Received: by 2002:a63:fd4d:0:b0:557:33c6:603a with SMTP id m13-20020a63fd4d000000b0055733c6603amr5018980pgj.7.1688335186760; Sun, 02 Jul 2023 14:59:46 -0700 (PDT) Path: eternal-september.org!news.eternal-september.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 2 Jul 2023 14:59:46 -0700 (PDT) In-Reply-To: Injection-Info: google-groups.googlegroups.com; posting-host=98.59.238.112; posting-account=oHOvdQoAAACYgyEBjgPNvKFOGxg8pNns NNTP-Posting-Host: 98.59.238.112 References: <5bd661f7-f077-47e4-a3c0-aef7d3b41059n@googlegroups.com> <5442a053-9c59-4be4-8485-b0df2e589aedn@googlegroups.com> <21e6c8c0-ec62-4192-aa5d-39d38149821cn@googlegroups.com> <016412bf-0247-466b-add9-8b5d41c6a9d7n@googlegroups.com> <6de97f96-fae6-4e13-9439-e8f550287835n@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2566ce87-a407-48a9-a805-afb4582a542bn@googlegroups.com> Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h" From: Kenneth Wolcott Injection-Date: Sun, 02 Jul 2023 21:59:47 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 3131 Xref: news.eternal-september.org comp.lang.ada:65408 List-Id: On Sunday, July 2, 2023 at 2:40:15=E2=80=AFPM UTC-7, Luke A. Guest wrote: > On 02/07/2023 21:20, Kenneth Wolcott wrote:=20 >=20 > > You posted the output of running patch -p1 --dry-run < patch while insi= de the build/gnat directory.=20 > > > No, that';s the command to test the patch on the source. To apply it you= =20 > remove the dry run option.=20 >=20 > Just save the email, cut out the crap that's not the patch and then save= =20 > it as test.patch as the above command should say (after the "<"), dunno= =20 > what happened there. Thank you. I think saved the contents of the posting where the first diff starts as te= st.patch. I downloaded a fresh sdlada package from GitHub, calling it sdlada2. I then placed the test.patch file there. Results: patch -p1 --dry-run < test.patch patching file 'build/gnat/makefile' patch: **** malformed patch at line 7: tests.gpr: $(TESTS_SRCS) gen/$(SDL_M= ODE)/test/libtestmaths.so Did I do something wrong? wc -l test.patch 189 test.patch head -1 test.patch diff --git a/build/gnat/makefile b/build/gnat/makefile tail -1 test.patch #include Thanks, Ken