emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#65294: closed ([PATCH] maint: Fix compilation error on GNU/Hurd)


From: GNU bug Tracking System
Subject: bug#65294: closed ([PATCH] maint: Fix compilation error on GNU/Hurd)
Date: Mon, 14 Aug 2023 21:16:02 +0000

Your message dated Mon, 14 Aug 2023 22:15:01 +0100
with message-id <7bb62ed5-1883-2ae0-1cdd-f04b98f68299@draigBrady.com>
and subject line Re: bug#65294: [PATCH] maint: Fix compilation error on GNU/Hurd
has caused the debbugs.gnu.org bug report #65294,
regarding [PATCH] maint: Fix compilation error on GNU/Hurd
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
65294: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=65294
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] maint: Fix compilation error on GNU/Hurd Date: Mon, 14 Aug 2023 21:02:03 +0200
Compiling a current coreutils on Debian GNU/Hurd from 2022, I get this
compilation error:

  CC       src/copy.o
../src/copy.c: In function 'set_author':
../src/copy.c:984:15: error: 'MACH_PORT_nullptr' undeclared (first use in this 
function); did you mean 'MACH_PORT_NULL'?
  984 |   if (file == MACH_PORT_nullptr)
      |               ^~~~~~~~~~~~~~~~~
      |               MACH_PORT_NULL
../src/copy.c:984:15: note: each undeclared identifier is reported only once 
for each function it appears in
make[2]: *** [Makefile:12489: src/copy.o] Error 1

The attached patch fixes it.

Attachment: 0001-maint-Fix-compilation-error-on-GNU-Hurd-regression-2.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#65294: [PATCH] maint: Fix compilation error on GNU/Hurd Date: Mon, 14 Aug 2023 22:15:01 +0100 User-agent: Mozilla Thunderbird
On 14/08/2023 20:02, Bruno Haible wrote:
Compiling a current coreutils on Debian GNU/Hurd from 2022, I get this
compilation error:

   CC       src/copy.o
../src/copy.c: In function 'set_author':
../src/copy.c:984:15: error: 'MACH_PORT_nullptr' undeclared (first use in this 
function); did you mean 'MACH_PORT_NULL'?
   984 |   if (file == MACH_PORT_nullptr)
       |               ^~~~~~~~~~~~~~~~~
       |               MACH_PORT_NULL
../src/copy.c:984:15: note: each undeclared identifier is reported only once 
for each function it appears in
make[2]: *** [Makefile:12489: src/copy.o] Error 1

The attached patch fixes it.


Pushed.

thanks,
Pádraig


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]