comp.lang.ada
 help / color / mirror / Atom feed
From: Kenneth Wolcott <kennethwolcott@gmail.com>
Subject: Re: SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h"
Date: Mon, 3 Jul 2023 12:58:03 -0700 (PDT)	[thread overview]
Message-ID: <7023751f-54a8-4392-b60f-611d5a8dfcb2n@googlegroups.com> (raw)
In-Reply-To: <u7uejg$3ms0u$1@dont-email.me>

On Monday, July 3, 2023 at 5:23:16 AM UTC-7, Luke A. Guest wrote:
> On 02/07/2023 22:59, Kenneth Wolcott wrote: 
> > On Sunday, July 2, 2023 at 2:40:15 PM UTC-7, Luke A. Guest wrote: 
> >> On 02/07/2023 21:20, Kenneth Wolcott wrote: 
> >> 
> >>> You posted the output of running patch -p1 --dry-run < patch while inside the build/gnat directory. 
> >>> 
> >> No, that';s the command to test the patch on the source. To apply it you 
> >> remove the dry run option. 
> >> 
> >> Just save the email, cut out the crap that's not the patch and then save 
> >> it as test.patch as the above command should say (after the "<"), dunno 
> >> what happened there. 
> > 
> > Thank you. 
> > 
> > I think saved the contents of the posting where the first diff starts as test.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_MODE)/test/libtestmaths.so 
> > 
> > Did I do something wrong?
> No idea. This is what I did it with: 
> 
> $ git clone g...@github.com:Lucretia/sdlada.git 
> Cloning into 'sdlada'... 
> remote: Enumerating objects: 3100, done. 
> remote: Counting objects: 100% (257/257), done. 
> remote: Compressing objects: 100% (104/104), done. 
> remote: Total 3100 (delta 156), reused 227 (delta 144), pack-reused 2843 
> Receiving objects: 100% (3100/3100), 727.62 KiB | 303.00 KiB/s, done. 
> Resolving deltas: 100% (2269/2269), done. 
> $ cd sdlada/ 
> $ patch -p1 --dry-run < ~/src/mine-new/game-dev/sdl/sdlada/test.patch 
> checking file build/gnat/makefile 
> checking file build/gnat/sdlada.gpr 
> checking file build/gnat/sdlada_image.gpr 
> checking file build/gnat/tests.gpr 
> checking file build/gnat/tests_image.gpr 
> checking file build/gnat/unit_tests.gpr 
> checking file src/image/version_images.c 
> checking file src/ttf/version_ttf.c

Hi Luke;

  I wonder if there was an error introduced by the copy&paste with the mouse and/or with the formatting of the posting/email...I'll try to examine that specific area to see if anything shows up under a closer inspection.

  I don't think that downloading the zip file from GitHub would be any different than doing the git clone, but there's another difference that might be a cause, ever so remote.

  I'll try to get back to you with results shortly.

  Again, thanks for your efforts with regards to porting SDLADA towards MacPorts...

Ken

  reply	other threads:[~2023-07-03 19:58 UTC|newest]

Thread overview: 54+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-28 18:38 SDL Ada package fails to compile on Mac, gnat 13.1, missing "SDL2_ttf/SDL_ttf.h" Kenneth Wolcott
2023-06-28 21:13 ` Luke A. Guest
2023-06-28 21:18   ` Kenneth Wolcott
2023-06-28 21:53     ` Kenneth Wolcott
2023-06-28 22:45       ` Luke A. Guest
2023-06-29  0:17         ` Kenneth Wolcott
2023-06-29  9:50           ` Luke A. Guest
2023-06-29 13:12       ` Simon Wright
2023-06-29 13:39         ` Luke A. Guest
2023-06-29 16:06           ` Simon Wright
2023-06-29 17:34             ` Kenneth Wolcott
2023-06-29 19:35               ` Luke A. Guest
2023-06-29 22:04                 ` Kenneth Wolcott
2023-06-30  8:04                   ` Luke A. Guest
2023-06-30 15:41                     ` Kenneth Wolcott
2023-06-30 15:43                       ` Luke A. Guest
2023-06-30 11:30                   ` Luke A. Guest
2023-06-30 13:26                     ` Luke A. Guest
2023-07-02  7:01                       ` Luke A. Guest
2023-07-02 17:05                         ` Kenneth Wolcott
2023-07-02 19:23                           ` Simon Wright
2023-07-02 19:26                             ` Kenneth Wolcott
2023-07-02 19:52                               ` Luke A. Guest
2023-07-02 20:20                                 ` Kenneth Wolcott
2023-07-02 21:34                                   ` Kenneth Wolcott
2023-07-02 21:40                                   ` Luke A. Guest
2023-07-02 21:59                                     ` Kenneth Wolcott
2023-07-03 12:23                                       ` Luke A. Guest
2023-07-03 19:58                                         ` Kenneth Wolcott [this message]
2023-07-03 20:10                                           ` Luke A. Guest
2023-07-03 20:11                                           ` Luke A. Guest
2023-07-03 22:56                                             ` Kenneth Wolcott
2023-07-03 23:01                                               ` Kenneth Wolcott
2023-07-03 23:10                                                 ` Kenneth Wolcott
2023-07-03 23:24                                                   ` Keith Thompson
2023-07-03 23:58                                                     ` Kenneth Wolcott
2023-07-04  9:00                                                       ` Luke A. Guest
2023-07-06 19:37                                                         ` Kenneth Wolcott
2023-07-07  1:23                                                           ` Kenneth Wolcott
2023-07-07  1:25                                                             ` Kenneth Wolcott
2023-07-12  5:43                                                               ` Kenneth Wolcott
2023-07-12  6:01                                                                 ` Kenneth Wolcott
2023-07-12 15:44                                                                   ` Luke A. Guest
2023-07-12 23:09                                                                     ` Kenneth Wolcott
2023-07-12 23:11                                                                       ` Kenneth Wolcott
2023-07-13 10:59                                                                         ` Luke A. Guest
2023-07-13 14:14                                                                           ` Rod Kay
2023-07-13 15:15                                                                             ` Kenneth Wolcott
2023-07-04  8:59                                                     ` Luke A. Guest
2023-07-04  8:57                                                 ` Luke A. Guest
2023-06-29 21:22               ` Simon Wright
2023-06-29 22:12                 ` Kenneth Wolcott
2023-06-29 19:29             ` Luke A. Guest
2023-06-29 11:33     ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox