pkgsrc-Bugs archive

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

pkg/40192: [PATCH] devel/pcre



>Number:         40192
>Category:       pkg
>Synopsis:       [PATCH] devel/pcre
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 15 23:25:00 +0000 2008
>Originator:     Jens Rehsack
>Release:        none
>Organization:
Bayer Business Services
>Environment:
FreeBSD waldorf.muppets.liwing.de 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sun 
Nov 30 16:24:55 UTC 2008     
root%waldorf.muppets.liwing.de@localhost:/usr/obj/usr/src/sys/WALDORF  amd64
>Description:
FALSE is defined on AIX, but BOOL is not ...
>How-To-Repeat:

>Fix:
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/devel/pcre/distinfo,v
retrieving revision 1.34
diff -u -r1.34 distinfo
--- distinfo    6 Sep 2008 14:25:28 -0000       1.34
+++ distinfo    15 Dec 2008 23:21:44 -0000
@@ -5,3 +5,4 @@
 Size (pcre-7.8.tar.bz2) = 840922 bytes
 SHA1 (patch-aa) = 2bca13cdd4a398ae3dbf26f75fd94557cb076dbe
 SHA1 (patch-ab) = a51a173c41825effd94c104f3b7eea3e48d019f9
+SHA1 (patch-az) = 55a8ea145138e917c214fe219afb23ff0462ec36
cvs diff: Diffing patches
Index: patches/patch-az
===================================================================
RCS file: patches/patch-az
diff -N patches/patch-az
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-az    15 Dec 2008 23:21:44 -0000
@@ -0,0 +1,18 @@
+--- pcre_internal.h.orig       2008-11-16 13:31:53.000000000 +0100
++++ pcre_internal.h    2008-11-16 13:34:21.000000000 +0100
+@@ -563,10 +563,12 @@
+ environments where these macros are defined elsewhere. */
+ 
+ #ifndef FALSE
+-typedef int BOOL;
+-
+ #define FALSE   0
+-#define TRUE    1
++#define TRUE    !0
++#endif
++
++#ifndef BOOL
++#define BOOL int
+ #endif
+ 
+ /* Escape items that are just an encoding of a particular data value. */



Home | Main Index | Thread Index | Old Index