[arch-commits] Commit in conky/repos (14 files)
Gaetan Bisson
bisson at archlinux.org
Sat Jul 11 19:20:41 UTC 2015
Date: Saturday, July 11, 2015 @ 21:20:41
Author: bisson
Revision: 242131
archrelease: copy trunk to extra-i686, extra-x86_64
Added:
conky/repos/extra-i686/PKGBUILD
(from rev 242130, conky/trunk/PKGBUILD)
conky/repos/extra-i686/ascii.patch
(from rev 242130, conky/trunk/ascii.patch)
conky/repos/extra-i686/curl.patch
(from rev 242130, conky/trunk/curl.patch)
conky/repos/extra-i686/lua53.patch
(from rev 242130, conky/trunk/lua53.patch)
conky/repos/extra-x86_64/PKGBUILD
(from rev 242130, conky/trunk/PKGBUILD)
conky/repos/extra-x86_64/ascii.patch
(from rev 242130, conky/trunk/ascii.patch)
conky/repos/extra-x86_64/curl.patch
(from rev 242130, conky/trunk/curl.patch)
conky/repos/extra-x86_64/lua53.patch
(from rev 242130, conky/trunk/lua53.patch)
Deleted:
conky/repos/extra-i686/PKGBUILD
conky/repos/extra-i686/ascii.patch
conky/repos/extra-i686/lua53.patch
conky/repos/extra-x86_64/PKGBUILD
conky/repos/extra-x86_64/ascii.patch
conky/repos/extra-x86_64/lua53.patch
--------------------------+
/PKGBUILD | 118 +++++++++++++++++++++++++++++++++++++++++++++
/ascii.patch | 24 +++++++++
/lua53.patch | 92 +++++++++++++++++++++++++++++++++++
extra-i686/PKGBUILD | 54 --------------------
extra-i686/ascii.patch | 12 ----
extra-i686/curl.patch | 14 +++++
extra-i686/lua53.patch | 46 -----------------
extra-x86_64/PKGBUILD | 54 --------------------
extra-x86_64/ascii.patch | 12 ----
extra-x86_64/curl.patch | 14 +++++
extra-x86_64/lua53.patch | 46 -----------------
11 files changed, 262 insertions(+), 224 deletions(-)
Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD 2015-07-11 19:19:52 UTC (rev 242130)
+++ extra-i686/PKGBUILD 2015-07-11 19:20:41 UTC (rev 242131)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: James Rayner <james at archlinux.org>
-# Contributor: Partha Chowdhury <kira.laucas at gmail.com>
-
-pkgname=conky
-pkgver=1.10.0
-pkgrel=2
-pkgdesc='Lightweight system monitor for X'
-url='http://conky.sourceforge.net/'
-license=('BSD' 'GPL')
-arch=('i686' 'x86_64')
-makedepends=('cmake' 'docbook2x' 'docbook-xml' 'man-db')
-depends=('glib2' 'curl' 'lua' 'wireless_tools' 'libxml2' 'libxft' 'libxdamage' 'imlib2')
-source=("https://github.com/brndnmtthws/conky/archive/v${pkgver}.tar.gz"
- 'ascii.patch'
- 'lua53.patch')
-sha1sums=('d5863420150150002947180d0ee96c9ef56c43b1'
- '96cdbc38e8706c8a3120601983df5c7265716128'
- 'a3a74542b6524e5663ad37aaba292b48e8bea3b1')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i ../ascii.patch # db2x_manxml fails on non-ascii chars
- patch -p1 -i ../lua53.patch # lua_gettable returns an int in lua-5.3
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- cmake \
- -D CMAKE_BUILD_TYPE=Release \
- -D MAINTAINER_MODE=ON \
- -D BUILD_CURL=ON \
- -D BUILD_XDBE=ON \
- -D BUILD_IMLIB2=ON \
- -D BUILD_RSS=ON \
- -D BUILD_WEATHER_METAR=ON \
- -D BUILD_WEATHER_XOAP=ON \
- -D BUILD_WLAN=ON \
- -D CMAKE_INSTALL_PREFIX=/usr \
- .
-
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm644 extras/vim/syntax/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/syntax/conkyrc.vim
- install -Dm644 extras/vim/ftdetect/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/ftdetect/conkyrc.vim
-}
Copied: conky/repos/extra-i686/PKGBUILD (from rev 242130, conky/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2015-07-11 19:20:41 UTC (rev 242131)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: James Rayner <james at archlinux.org>
+# Contributor: Partha Chowdhury <kira.laucas at gmail.com>
+
+pkgname=conky
+pkgver=1.10.0
+pkgrel=3
+pkgdesc='Lightweight system monitor for X'
+url='http://conky.sourceforge.net/'
+license=('BSD' 'GPL')
+arch=('i686' 'x86_64')
+makedepends=('cmake' 'docbook2x' 'docbook-xml' 'man-db')
+depends=('glib2' 'curl' 'lua' 'wireless_tools' 'libxml2' 'libxft' 'libxdamage' 'imlib2')
+source=("https://github.com/brndnmtthws/conky/archive/v${pkgver}.tar.gz"
+ 'ascii.patch'
+ 'lua53.patch'
+ 'curl.patch')
+sha1sums=('d5863420150150002947180d0ee96c9ef56c43b1'
+ '96cdbc38e8706c8a3120601983df5c7265716128'
+ 'a3a74542b6524e5663ad37aaba292b48e8bea3b1'
+ '1c066b439a1e7166d733fb710faa9bf08b81ce4c')
+
+options=('!strip' 'debug')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../ascii.patch # db2x_manxml fails on non-ascii chars
+ patch -p1 -i ../lua53.patch # lua_gettable returns an int in lua-5.3
+ patch -p1 -i ../curl.patch # https://github.com/bagder/curl/issues/342
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ cmake \
+ -D CMAKE_BUILD_TYPE=Release \
+ -D MAINTAINER_MODE=ON \
+ -D BUILD_CURL=ON \
+ -D BUILD_XDBE=ON \
+ -D BUILD_IMLIB2=ON \
+ -D BUILD_RSS=ON \
+ -D BUILD_WEATHER_METAR=ON \
+ -D BUILD_WEATHER_XOAP=ON \
+ -D BUILD_WLAN=ON \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ .
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 extras/vim/syntax/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/syntax/conkyrc.vim
+ install -Dm644 extras/vim/ftdetect/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/ftdetect/conkyrc.vim
+}
Deleted: extra-i686/ascii.patch
===================================================================
--- extra-i686/ascii.patch 2015-07-11 19:19:52 UTC (rev 242130)
+++ extra-i686/ascii.patch 2015-07-11 19:20:41 UTC (rev 242131)
@@ -1,12 +0,0 @@
-diff -aur old/doc/config_settings.xml new/doc/config_settings.xml
---- old/doc/config_settings.xml 2015-06-21 14:49:06.000000000 -1000
-+++ new/doc/config_settings.xml 2015-06-29 10:05:00.147318479 -1000
-@@ -80,7 +80,7 @@
- </term>
- <listitem>A comma-separated list of strings to use as the bars of a graph output
- to console/shell. The first list item is used for the minimum bar height and the
-- last item is used for the maximum. Example: " ,_,▁,▂,▃,▄,▅,▆,▇,█".
-+ last item is used for the maximum.
- <para /></listitem>
- </varlistentry>
- <varlistentry>
Copied: conky/repos/extra-i686/ascii.patch (from rev 242130, conky/trunk/ascii.patch)
===================================================================
--- extra-i686/ascii.patch (rev 0)
+++ extra-i686/ascii.patch 2015-07-11 19:20:41 UTC (rev 242131)
@@ -0,0 +1,12 @@
+diff -aur old/doc/config_settings.xml new/doc/config_settings.xml
+--- old/doc/config_settings.xml 2015-06-21 14:49:06.000000000 -1000
++++ new/doc/config_settings.xml 2015-06-29 10:05:00.147318479 -1000
+@@ -80,7 +80,7 @@
+ </term>
+ <listitem>A comma-separated list of strings to use as the bars of a graph output
+ to console/shell. The first list item is used for the minimum bar height and the
+- last item is used for the maximum. Example: " ,_,▁,▂,▃,▄,▅,▆,▇,█".
++ last item is used for the maximum.
+ <para /></listitem>
+ </varlistentry>
+ <varlistentry>
Copied: conky/repos/extra-i686/curl.patch (from rev 242130, conky/trunk/curl.patch)
===================================================================
--- extra-i686/curl.patch (rev 0)
+++ extra-i686/curl.patch 2015-07-11 19:20:41 UTC (rev 242131)
@@ -0,0 +1,14 @@
+diff -Naur old/src/ccurl_thread.cc new/src/ccurl_thread.cc
+--- old/src/ccurl_thread.cc 2015-06-21 14:49:06.000000000 -1000
++++ new/src/ccurl_thread.cc 2015-07-11 09:11:49.053040998 -1000
+@@ -119,9 +119,7 @@
+ headers.h = curl_slist_append(headers.h, ("If-None-Match: " + etag).c_str());
+ etag.clear();
+ }
+- if (headers.h) {
+- curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers.h);
+- }
++ curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers.h);
+
+ res = curl_easy_perform(curl);
+ if (res == CURLE_OK) {
Deleted: extra-i686/lua53.patch
===================================================================
--- extra-i686/lua53.patch 2015-07-11 19:19:52 UTC (rev 242130)
+++ extra-i686/lua53.patch 2015-07-11 19:20:41 UTC (rev 242131)
@@ -1,46 +0,0 @@
-diff -aur old/src/luamm.cc new/src/luamm.cc
---- old/src/luamm.cc 2015-06-28 16:38:47.793615922 -1000
-+++ new/src/luamm.cc 2015-06-29 09:05:44.646667638 -1000
-@@ -165,7 +165,14 @@
- }
-
- template<void (*misc)(lua_State *, int), int nresults>
-- int safe_misc_trampoline(lua_State *l)
-+ int safe_misc_trampoline_set(lua_State *l)
-+ {
-+ misc(l, 1);
-+ return nresults;
-+ }
-+
-+ template<int (*misc)(lua_State *, int), int nresults>
-+ int safe_misc_trampoline_get(lua_State *l)
- {
- misc(l, 1);
- return nresults;
-@@ -326,7 +333,7 @@
- if( rawequal(index1, index2) )
- return true;
-
-- return safe_compare(&safe_compare_trampoline<lua_equal>, index1, index2);
-+ return safe_compare(&safe_compare_trampoline<&lua_equal>, index1, index2);
- }
-
- int state::gc(int what, int data)
-@@ -367,7 +374,7 @@
- checkstack(2);
- pushvalue(index);
- insert(-2);
-- lua_pushcfunction(cobj.get(), (&safe_misc_trampoline<&lua_gettable, 1>));
-+ lua_pushcfunction(cobj.get(), (&safe_misc_trampoline_get<&lua_gettable, 1>));
- insert(-3);
- call(2, 1, 0);
- }
-@@ -492,7 +499,7 @@
- checkstack(2);
- pushvalue(index);
- insert(-3);
-- lua_pushcfunction(cobj.get(), (&safe_misc_trampoline<&lua_settable, 0>));
-+ lua_pushcfunction(cobj.get(), (&safe_misc_trampoline_set<&lua_settable, 0>));
- insert(-4);
- call(3, 0, 0);
- }
Copied: conky/repos/extra-i686/lua53.patch (from rev 242130, conky/trunk/lua53.patch)
===================================================================
--- extra-i686/lua53.patch (rev 0)
+++ extra-i686/lua53.patch 2015-07-11 19:20:41 UTC (rev 242131)
@@ -0,0 +1,46 @@
+diff -aur old/src/luamm.cc new/src/luamm.cc
+--- old/src/luamm.cc 2015-06-28 16:38:47.793615922 -1000
++++ new/src/luamm.cc 2015-06-29 09:05:44.646667638 -1000
+@@ -165,7 +165,14 @@
+ }
+
+ template<void (*misc)(lua_State *, int), int nresults>
+- int safe_misc_trampoline(lua_State *l)
++ int safe_misc_trampoline_set(lua_State *l)
++ {
++ misc(l, 1);
++ return nresults;
++ }
++
++ template<int (*misc)(lua_State *, int), int nresults>
++ int safe_misc_trampoline_get(lua_State *l)
+ {
+ misc(l, 1);
+ return nresults;
+@@ -326,7 +333,7 @@
+ if( rawequal(index1, index2) )
+ return true;
+
+- return safe_compare(&safe_compare_trampoline<lua_equal>, index1, index2);
++ return safe_compare(&safe_compare_trampoline<&lua_equal>, index1, index2);
+ }
+
+ int state::gc(int what, int data)
+@@ -367,7 +374,7 @@
+ checkstack(2);
+ pushvalue(index);
+ insert(-2);
+- lua_pushcfunction(cobj.get(), (&safe_misc_trampoline<&lua_gettable, 1>));
++ lua_pushcfunction(cobj.get(), (&safe_misc_trampoline_get<&lua_gettable, 1>));
+ insert(-3);
+ call(2, 1, 0);
+ }
+@@ -492,7 +499,7 @@
+ checkstack(2);
+ pushvalue(index);
+ insert(-3);
+- lua_pushcfunction(cobj.get(), (&safe_misc_trampoline<&lua_settable, 0>));
++ lua_pushcfunction(cobj.get(), (&safe_misc_trampoline_set<&lua_settable, 0>));
+ insert(-4);
+ call(3, 0, 0);
+ }
Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD 2015-07-11 19:19:52 UTC (rev 242130)
+++ extra-x86_64/PKGBUILD 2015-07-11 19:20:41 UTC (rev 242131)
@@ -1,54 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: James Rayner <james at archlinux.org>
-# Contributor: Partha Chowdhury <kira.laucas at gmail.com>
-
-pkgname=conky
-pkgver=1.10.0
-pkgrel=2
-pkgdesc='Lightweight system monitor for X'
-url='http://conky.sourceforge.net/'
-license=('BSD' 'GPL')
-arch=('i686' 'x86_64')
-makedepends=('cmake' 'docbook2x' 'docbook-xml' 'man-db')
-depends=('glib2' 'curl' 'lua' 'wireless_tools' 'libxml2' 'libxft' 'libxdamage' 'imlib2')
-source=("https://github.com/brndnmtthws/conky/archive/v${pkgver}.tar.gz"
- 'ascii.patch'
- 'lua53.patch')
-sha1sums=('d5863420150150002947180d0ee96c9ef56c43b1'
- '96cdbc38e8706c8a3120601983df5c7265716128'
- 'a3a74542b6524e5663ad37aaba292b48e8bea3b1')
-
-prepare() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- patch -p1 -i ../ascii.patch # db2x_manxml fails on non-ascii chars
- patch -p1 -i ../lua53.patch # lua_gettable returns an int in lua-5.3
-}
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- cmake \
- -D CMAKE_BUILD_TYPE=Release \
- -D MAINTAINER_MODE=ON \
- -D BUILD_CURL=ON \
- -D BUILD_XDBE=ON \
- -D BUILD_IMLIB2=ON \
- -D BUILD_RSS=ON \
- -D BUILD_WEATHER_METAR=ON \
- -D BUILD_WEATHER_XOAP=ON \
- -D BUILD_WLAN=ON \
- -D CMAKE_INSTALL_PREFIX=/usr \
- .
-
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install
- install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- install -Dm644 extras/vim/syntax/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/syntax/conkyrc.vim
- install -Dm644 extras/vim/ftdetect/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/ftdetect/conkyrc.vim
-}
Copied: conky/repos/extra-x86_64/PKGBUILD (from rev 242130, conky/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD (rev 0)
+++ extra-x86_64/PKGBUILD 2015-07-11 19:20:41 UTC (rev 242131)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: James Rayner <james at archlinux.org>
+# Contributor: Partha Chowdhury <kira.laucas at gmail.com>
+
+pkgname=conky
+pkgver=1.10.0
+pkgrel=3
+pkgdesc='Lightweight system monitor for X'
+url='http://conky.sourceforge.net/'
+license=('BSD' 'GPL')
+arch=('i686' 'x86_64')
+makedepends=('cmake' 'docbook2x' 'docbook-xml' 'man-db')
+depends=('glib2' 'curl' 'lua' 'wireless_tools' 'libxml2' 'libxft' 'libxdamage' 'imlib2')
+source=("https://github.com/brndnmtthws/conky/archive/v${pkgver}.tar.gz"
+ 'ascii.patch'
+ 'lua53.patch'
+ 'curl.patch')
+sha1sums=('d5863420150150002947180d0ee96c9ef56c43b1'
+ '96cdbc38e8706c8a3120601983df5c7265716128'
+ 'a3a74542b6524e5663ad37aaba292b48e8bea3b1'
+ '1c066b439a1e7166d733fb710faa9bf08b81ce4c')
+
+options=('!strip' 'debug')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ patch -p1 -i ../ascii.patch # db2x_manxml fails on non-ascii chars
+ patch -p1 -i ../lua53.patch # lua_gettable returns an int in lua-5.3
+ patch -p1 -i ../curl.patch # https://github.com/bagder/curl/issues/342
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ cmake \
+ -D CMAKE_BUILD_TYPE=Release \
+ -D MAINTAINER_MODE=ON \
+ -D BUILD_CURL=ON \
+ -D BUILD_XDBE=ON \
+ -D BUILD_IMLIB2=ON \
+ -D BUILD_RSS=ON \
+ -D BUILD_WEATHER_METAR=ON \
+ -D BUILD_WEATHER_XOAP=ON \
+ -D BUILD_WLAN=ON \
+ -D CMAKE_INSTALL_PREFIX=/usr \
+ .
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 extras/vim/syntax/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/syntax/conkyrc.vim
+ install -Dm644 extras/vim/ftdetect/conkyrc.vim "${pkgdir}"/usr/share/vim/vimfiles/ftdetect/conkyrc.vim
+}
Deleted: extra-x86_64/ascii.patch
===================================================================
--- extra-x86_64/ascii.patch 2015-07-11 19:19:52 UTC (rev 242130)
+++ extra-x86_64/ascii.patch 2015-07-11 19:20:41 UTC (rev 242131)
@@ -1,12 +0,0 @@
-diff -aur old/doc/config_settings.xml new/doc/config_settings.xml
---- old/doc/config_settings.xml 2015-06-21 14:49:06.000000000 -1000
-+++ new/doc/config_settings.xml 2015-06-29 10:05:00.147318479 -1000
-@@ -80,7 +80,7 @@
- </term>
- <listitem>A comma-separated list of strings to use as the bars of a graph output
- to console/shell. The first list item is used for the minimum bar height and the
-- last item is used for the maximum. Example: " ,_,▁,▂,▃,▄,▅,▆,▇,█".
-+ last item is used for the maximum.
- <para /></listitem>
- </varlistentry>
- <varlistentry>
Copied: conky/repos/extra-x86_64/ascii.patch (from rev 242130, conky/trunk/ascii.patch)
===================================================================
--- extra-x86_64/ascii.patch (rev 0)
+++ extra-x86_64/ascii.patch 2015-07-11 19:20:41 UTC (rev 242131)
@@ -0,0 +1,12 @@
+diff -aur old/doc/config_settings.xml new/doc/config_settings.xml
+--- old/doc/config_settings.xml 2015-06-21 14:49:06.000000000 -1000
++++ new/doc/config_settings.xml 2015-06-29 10:05:00.147318479 -1000
+@@ -80,7 +80,7 @@
+ </term>
+ <listitem>A comma-separated list of strings to use as the bars of a graph output
+ to console/shell. The first list item is used for the minimum bar height and the
+- last item is used for the maximum. Example: " ,_,▁,▂,▃,▄,▅,▆,▇,█".
++ last item is used for the maximum.
+ <para /></listitem>
+ </varlistentry>
+ <varlistentry>
Copied: conky/repos/extra-x86_64/curl.patch (from rev 242130, conky/trunk/curl.patch)
===================================================================
--- extra-x86_64/curl.patch (rev 0)
+++ extra-x86_64/curl.patch 2015-07-11 19:20:41 UTC (rev 242131)
@@ -0,0 +1,14 @@
+diff -Naur old/src/ccurl_thread.cc new/src/ccurl_thread.cc
+--- old/src/ccurl_thread.cc 2015-06-21 14:49:06.000000000 -1000
++++ new/src/ccurl_thread.cc 2015-07-11 09:11:49.053040998 -1000
+@@ -119,9 +119,7 @@
+ headers.h = curl_slist_append(headers.h, ("If-None-Match: " + etag).c_str());
+ etag.clear();
+ }
+- if (headers.h) {
+- curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers.h);
+- }
++ curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers.h);
+
+ res = curl_easy_perform(curl);
+ if (res == CURLE_OK) {
Deleted: extra-x86_64/lua53.patch
===================================================================
--- extra-x86_64/lua53.patch 2015-07-11 19:19:52 UTC (rev 242130)
+++ extra-x86_64/lua53.patch 2015-07-11 19:20:41 UTC (rev 242131)
@@ -1,46 +0,0 @@
-diff -aur old/src/luamm.cc new/src/luamm.cc
---- old/src/luamm.cc 2015-06-28 16:38:47.793615922 -1000
-+++ new/src/luamm.cc 2015-06-29 09:05:44.646667638 -1000
-@@ -165,7 +165,14 @@
- }
-
- template<void (*misc)(lua_State *, int), int nresults>
-- int safe_misc_trampoline(lua_State *l)
-+ int safe_misc_trampoline_set(lua_State *l)
-+ {
-+ misc(l, 1);
-+ return nresults;
-+ }
-+
-+ template<int (*misc)(lua_State *, int), int nresults>
-+ int safe_misc_trampoline_get(lua_State *l)
- {
- misc(l, 1);
- return nresults;
-@@ -326,7 +333,7 @@
- if( rawequal(index1, index2) )
- return true;
-
-- return safe_compare(&safe_compare_trampoline<lua_equal>, index1, index2);
-+ return safe_compare(&safe_compare_trampoline<&lua_equal>, index1, index2);
- }
-
- int state::gc(int what, int data)
-@@ -367,7 +374,7 @@
- checkstack(2);
- pushvalue(index);
- insert(-2);
-- lua_pushcfunction(cobj.get(), (&safe_misc_trampoline<&lua_gettable, 1>));
-+ lua_pushcfunction(cobj.get(), (&safe_misc_trampoline_get<&lua_gettable, 1>));
- insert(-3);
- call(2, 1, 0);
- }
-@@ -492,7 +499,7 @@
- checkstack(2);
- pushvalue(index);
- insert(-3);
-- lua_pushcfunction(cobj.get(), (&safe_misc_trampoline<&lua_settable, 0>));
-+ lua_pushcfunction(cobj.get(), (&safe_misc_trampoline_set<&lua_settable, 0>));
- insert(-4);
- call(3, 0, 0);
- }
Copied: conky/repos/extra-x86_64/lua53.patch (from rev 242130, conky/trunk/lua53.patch)
===================================================================
--- extra-x86_64/lua53.patch (rev 0)
+++ extra-x86_64/lua53.patch 2015-07-11 19:20:41 UTC (rev 242131)
@@ -0,0 +1,46 @@
+diff -aur old/src/luamm.cc new/src/luamm.cc
+--- old/src/luamm.cc 2015-06-28 16:38:47.793615922 -1000
++++ new/src/luamm.cc 2015-06-29 09:05:44.646667638 -1000
+@@ -165,7 +165,14 @@
+ }
+
+ template<void (*misc)(lua_State *, int), int nresults>
+- int safe_misc_trampoline(lua_State *l)
++ int safe_misc_trampoline_set(lua_State *l)
++ {
++ misc(l, 1);
++ return nresults;
++ }
++
++ template<int (*misc)(lua_State *, int), int nresults>
++ int safe_misc_trampoline_get(lua_State *l)
+ {
+ misc(l, 1);
+ return nresults;
+@@ -326,7 +333,7 @@
+ if( rawequal(index1, index2) )
+ return true;
+
+- return safe_compare(&safe_compare_trampoline<lua_equal>, index1, index2);
++ return safe_compare(&safe_compare_trampoline<&lua_equal>, index1, index2);
+ }
+
+ int state::gc(int what, int data)
+@@ -367,7 +374,7 @@
+ checkstack(2);
+ pushvalue(index);
+ insert(-2);
+- lua_pushcfunction(cobj.get(), (&safe_misc_trampoline<&lua_gettable, 1>));
++ lua_pushcfunction(cobj.get(), (&safe_misc_trampoline_get<&lua_gettable, 1>));
+ insert(-3);
+ call(2, 1, 0);
+ }
+@@ -492,7 +499,7 @@
+ checkstack(2);
+ pushvalue(index);
+ insert(-3);
+- lua_pushcfunction(cobj.get(), (&safe_misc_trampoline<&lua_settable, 0>));
++ lua_pushcfunction(cobj.get(), (&safe_misc_trampoline_set<&lua_settable, 0>));
+ insert(-4);
+ call(3, 0, 0);
+ }
More information about the arch-commits
mailing list