pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/R-RSQLite



Module Name:    pkgsrc
Committed By:   brook
Date:           Sun Sep 28 22:23:43 UTC 2025

Modified Files:
        pkgsrc/databases/R-RSQLite: distinfo
Added Files:
        pkgsrc/databases/R-RSQLite/patches: patch-src_SqliteResultImpl.h

Log Message:
databases/R-RSQLite: fix misplaced c++ attribute

C++ attributes must precede a complete declarator (see below):

        https://www.cppreference.com/w/cpp/language/declarations.html

In src/SqliteResultImpl.h, the [[noreturn]] attribute occurs in the
midst of a function declaration.  Move it to precede the declaration.

See also upstream bug report #633: NORET attribute is misplaced


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/databases/R-RSQLite/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/databases/R-RSQLite/patches/patch-src_SqliteResultImpl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/R-RSQLite/distinfo
diff -u pkgsrc/databases/R-RSQLite/distinfo:1.9 pkgsrc/databases/R-RSQLite/distinfo:1.10
--- pkgsrc/databases/R-RSQLite/distinfo:1.9     Sat Dec 14 01:29:33 2024
+++ pkgsrc/databases/R-RSQLite/distinfo Sun Sep 28 22:23:43 2025
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2024/12/14 01:29:33 mef Exp $
+$NetBSD: distinfo,v 1.10 2025/09/28 22:23:43 brook Exp $
 
 BLAKE2s (R/RSQLite_2.3.9.tar.gz) = 339e038d5101d42ad813f60dcdbb596aa103db8dd2a643a06be36acaa6bcfc28
 SHA512 (R/RSQLite_2.3.9.tar.gz) = 4814b7cba5b571a32f0007dfd2f0f00373fd9c8b4d0065740435bcec7a52c06000fecb0a3a001dd79fe5b1832c193d556051b6c5e5634d6f19a22c109a4becf2
 Size (R/RSQLite_2.3.9.tar.gz) = 4292392 bytes
+SHA1 (patch-src_SqliteResultImpl.h) = cd7ceefa197fa499decc66891f08a985e3dec57b

Added files:

Index: pkgsrc/databases/R-RSQLite/patches/patch-src_SqliteResultImpl.h
diff -u /dev/null pkgsrc/databases/R-RSQLite/patches/patch-src_SqliteResultImpl.h:1.1
--- /dev/null   Sun Sep 28 22:23:43 2025
+++ pkgsrc/databases/R-RSQLite/patches/patch-src_SqliteResultImpl.h     Sun Sep 28 22:23:43 2025
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_SqliteResultImpl.h,v 1.1 2025/09/28 22:23:43 brook Exp $
+
+Misplaced attribute: see https://www.cppreference.com/w/cpp/language/declarations.html
+
+Upstream bug report #633: NORET attribute is misplaced
+
+--- src/SqliteResultImpl.h.orig        2025-05-02 09:14:28.000000000 +0000
++++ src/SqliteResultImpl.h
+@@ -72,8 +72,8 @@ private:
+   cpp11::list peek_first_row();
+ 
+ private:
+-  void NORET raise_sqlite_exception() const;
+-  static void NORET raise_sqlite_exception(sqlite3* conn);
++  NORET void raise_sqlite_exception() const;
++  NORET static void raise_sqlite_exception(sqlite3* conn);
+ };
+ 
+ 



Home | Main Index | Thread Index | Old Index