[arch-commits] Commit in rlog/repos (3 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 19:42:43 UTC 2020


    Date: Tuesday, July 7, 2020 @ 19:42:43
  Author: foutrelis
Revision: 660179

archrelease: copy trunk to community-staging-x86_64

Added:
  rlog/repos/community-staging-x86_64/
  rlog/repos/community-staging-x86_64/PKGBUILD
    (from rev 660178, rlog/trunk/PKGBUILD)
  rlog/repos/community-staging-x86_64/rlog-section.patch
    (from rev 660178, rlog/trunk/rlog-section.patch)

--------------------+
 PKGBUILD           |   30 ++++++++++++++++++++
 rlog-section.patch |   74 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)

Copied: rlog/repos/community-staging-x86_64/PKGBUILD (from rev 660178, rlog/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 19:42:43 UTC (rev 660179)
@@ -0,0 +1,30 @@
+# Contributor: Jaroslaw Swierczynski <swiergot at aur.archlinux.org>
+# Contributor: Sven Kauber <celeon at gmail.com>
+# Maintainer: Daniel J Griffiths <ghost1227 at archlinux.us>
+
+pkgname=rlog
+pkgver=1.4
+pkgrel=9
+pkgdesc="A flexible message logging facility for C++ programs and libraries"
+arch=('x86_64')
+url="https://www.arg0.net/rlog"
+license=('LGPL')
+depends=('gcc-libs')
+source=(https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/${pkgname}/${pkgname}-${pkgver}.tar.gz{,.asc}
+        ${pkgname}-section.patch)
+md5sums=('c29f74e0f50d66b20312d049b683ff82'
+         'SKIP'
+         '69644989e07ceb5c265dfc0c6f770810')
+validpgpkeys=('C08708603F2AA745ECA0D3665A9DB4032EAF4D80') # Valient Gough <vgough at pobox.com>
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -Np1 -i "${srcdir}/${pkgname}-section.patch"
+	./configure --prefix=/usr
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}/" install
+}

Copied: rlog/repos/community-staging-x86_64/rlog-section.patch (from rev 660178, rlog/trunk/rlog-section.patch)
===================================================================
--- community-staging-x86_64/rlog-section.patch	                        (rev 0)
+++ community-staging-x86_64/rlog-section.patch	2020-07-07 19:42:43 UTC (rev 660179)
@@ -0,0 +1,74 @@
+diff -ruN rlog-1.4.orig/rlog/common.h rlog-1.4/rlog/common.h
+--- rlog-1.4.orig/rlog/common.h	2008-06-15 07:49:52.000000000 +0200
++++ rlog-1.4/rlog/common.h	2008-06-23 19:29:16.000000000 +0200
+@@ -52,7 +52,6 @@
+ 
+ # define PRINTF(FMT,X) __attribute__ (( __format__ ( __printf__, FMT, X)))
+ # define HAVE_PRINTF_ATTR 1
+-# define RLOG_SECTION __attribute__ (( section("RLOG_DATA") ))
+ 
+ #if __GNUC__ >= 3
+ # define expect(foo, bar) __builtin_expect((foo),bar)
+@@ -77,7 +76,6 @@
+ */
+ # define PRINTF(FMT,X)
+ # define HAVE_PRINTF_ATTR 0
+-# define RLOG_SECTION 
+ 
+ /*!
+ */
+diff -ruN rlog-1.4.orig/rlog/common.h.in rlog-1.4/rlog/common.h.in
+--- rlog-1.4.orig/rlog/common.h.in	2008-06-15 05:10:13.000000000 +0200
++++ rlog-1.4/rlog/common.h.in	2008-06-23 19:28:28.000000000 +0200
+@@ -52,7 +52,6 @@
+ 
+ # define PRINTF(FMT,X) __attribute__ (( __format__ ( __printf__, FMT, X)))
+ # define HAVE_PRINTF_ATTR 1
+-# define RLOG_SECTION __attribute__ (( section("RLOG_DATA") ))
+ 
+ #if __GNUC__ >= 3
+ # define expect(foo, bar) __builtin_expect((foo),bar)
+@@ -77,7 +76,6 @@
+ */
+ # define PRINTF(FMT,X)
+ # define HAVE_PRINTF_ATTR 0
+-# define RLOG_SECTION 
+ 
+ /*!
+ */
+diff -ruN rlog-1.4.orig/rlog/rlog-c99.h rlog-1.4/rlog/rlog-c99.h
+--- rlog-1.4.orig/rlog/rlog-c99.h	2008-06-15 05:56:57.000000000 +0200
++++ rlog-1.4/rlog/rlog-c99.h	2008-06-23 19:28:37.000000000 +0200
+@@ -22,7 +22,7 @@
+   @internal
+ */
+ #define _rMessageDef(ID, COMPONENT) \
+-  static rlog::PublishLoc ID RLOG_SECTION = {& ID ## _enabled, \
++  static rlog::PublishLoc ID = {& ID ## _enabled, \
+       &rlog::RLog_Register, 0, STR(COMPONENT), __FILE__, \
+       __FUNCTION__, __LINE__, 0};
+ 
+diff -ruN rlog-1.4.orig/rlog/rlog-novariadic.h rlog-1.4/rlog/rlog-novariadic.h
+--- rlog-1.4.orig/rlog/rlog-novariadic.h	2008-06-15 05:10:13.000000000 +0200
++++ rlog-1.4/rlog/rlog-novariadic.h	2008-06-23 19:28:45.000000000 +0200
+@@ -35,7 +35,7 @@
+ 
+ #define _rMessageDef(ID, COMPONENT) \
+   static bool ID ## _enabled = true; \
+-  static rlog::PublishLoc ID RLOG_SECTION = {& ID ## _enabled, \
++  static rlog::PublishLoc ID = {& ID ## _enabled, \
+       &rlog::RLog_Register, 0, STR(COMPONENT), __FILE__, \
+       __FUNCTION__, __LINE__, 0}
+ 
+diff -ruN rlog-1.4.orig/rlog/rlog-prec99.h rlog-1.4/rlog/rlog-prec99.h
+--- rlog-1.4.orig/rlog/rlog-prec99.h	2008-06-15 05:59:05.000000000 +0200
++++ rlog-1.4/rlog/rlog-prec99.h	2008-06-23 19:28:06.000000000 +0200
+@@ -18,7 +18,7 @@
+ 
+ #define _rMessageDef(ID, COMPONENT) \
+   static bool ID ## _enabled = true; \
+-  static rlog::PublishLoc ID RLOG_SECTION = {& ID ## _enabled, \
++  static rlog::PublishLoc ID = {& ID ## _enabled, \
+       &rlog::RLog_Register, 0, STR(COMPONENT), __FILE__, \
+       __FUNCTION__, __LINE__, 0};
+ 



More information about the arch-commits mailing list