Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases/pgadmin3 Fix implicit casts so that switch c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7fd897c50d23
branches:  trunk
changeset: 431570:7fd897c50d23
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu May 14 19:10:20 2020 +0000

description:
Fix implicit casts so that switch cases can actually match.

diffstat:

 databases/pgadmin3/distinfo                                     |   3 +-
 databases/pgadmin3/patches/patch-pgadmin_include_utils_pgDefs.h |  17 ++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (35 lines):

diff -r f4501cb5afc4 -r 7fd897c50d23 databases/pgadmin3/distinfo
--- a/databases/pgadmin3/distinfo       Thu May 14 19:09:40 2020 +0000
+++ b/databases/pgadmin3/distinfo       Thu May 14 19:10:20 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.16 2018/05/10 07:12:53 adam Exp $
+$NetBSD: distinfo,v 1.17 2020/05/14 19:10:20 joerg Exp $
 
 SHA1 (pgadmin3-1.22.2.tar.gz) = 2b62630d3ee90b44c440d673ca8bb3dcfe010e18
 RMD160 (pgadmin3-1.22.2.tar.gz) = 48e732089cd1879f99d1894229a9cc23ed3c0c44
@@ -6,3 +6,4 @@
 Size (pgadmin3-1.22.2.tar.gz) = 14788481 bytes
 SHA1 (patch-configure) = be59b43343ee1811876211b043512758dc3809aa
 SHA1 (patch-pgadmin_Makefile.in) = 4496da3b9c5a58e6e634604457c7d03b356703bb
+SHA1 (patch-pgadmin_include_utils_pgDefs.h) = 6f616687548a57a266f043fbe1bc139fc8cd7d9c
diff -r f4501cb5afc4 -r 7fd897c50d23 databases/pgadmin3/patches/patch-pgadmin_include_utils_pgDefs.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/pgadmin3/patches/patch-pgadmin_include_utils_pgDefs.h   Thu May 14 19:10:20 2020 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-pgadmin_include_utils_pgDefs.h,v 1.1 2020/05/14 19:10:20 joerg Exp $
+
+--- pgadmin/include/utils/pgDefs.h.orig        2020-05-09 23:47:34.954475346 +0000
++++ pgadmin/include/utils/pgDefs.h
+@@ -18,9 +18,9 @@
+ 
+ #define PGOID_CLASS_PG_AUTHID               1260L
+ 
+-#define PGOID_TYPE_SERIAL                   -42L
+-#define PGOID_TYPE_SERIAL8                  -43L
+-#define PGOID_TYPE_SERIAL2                  -44L
++#define PGOID_TYPE_SERIAL                   ((OID)-42L)
++#define PGOID_TYPE_SERIAL8                  ((OID)-43L)
++#define PGOID_TYPE_SERIAL2                  ((OID)-44L)
+ #define PGOID_TYPE_BOOL                     16L
+ #define PGOID_TYPE_BYTEA                    17L
+ #define PGOID_TYPE_CHAR                     18L



Home | Main Index | Thread Index | Old Index