pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/49551: Need to enclose HAVE_BOOLEAN in #ifndef/#endif
The following reply was made to PR pkg/49551; it has been noted by GNATS.
From: Krishnan N <krishnan.n%gai.co.in@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/49551: Need to enclose HAVE_BOOLEAN in #ifndef/#endif
Date: Sat, 10 Jan 2015 06:12:29 +0000
Hi,
The patch is wrong, should have been #ifndef HAVE_BOOLEAN, not
#ifndef BOOLEAN. Reattaching correct patch. Sorry about the slip-up.
diff --git a/usr/pkg/include/libmng_types.h b/usr/pkg/include/libmng_types.h
index 09592a5..8444624 100644
--- a/usr/pkg/include/libmng_types.h
+++ b/usr/pkg/include/libmng_types.h
@@ -201,9 +201,11 @@
#define JPEG_INTERNAL_OPTIONS /* for RGB_PIXELSIZE */
/* There has been a change in jpeg-9 : */
#ifndef _WIN32
-#define HAVE_BOOLEAN
+# ifndef HAVE_BOOLEAN
+# define HAVE_BOOLEAN
typedef int boolean;
#endif
+#endif
#include <jpeglib.h>
#endif /* MNG_INCLUDE_IJG6B */
Thanks,
krishnan
On Fri, Jan 9, 2015 at 3:55 PM, <gnats-admin%netbsd.org@localhost> wrote:
> Thank you very much for your problem report.
> It has the internal identification `pkg/49551'.
> The individual assigned to look at your
> report is: pkg-manager.
>
>>Category: pkg
>>Responsible: pkg-manager
>>Synopsis: Need to enclose HAVE_BOOLEAN in #ifndef/#endif
>>Arrival-Date: Fri Jan 09 15:55:00 +0000 2015
>
Home |
Main Index |
Thread Index |
Old Index