[arch-commits] Commit in ponyc/trunk (PKGBUILD gcc7.patch)

Felix Yan felixonmars at archlinux.org
Tue Aug 8 18:50:13 UTC 2017


    Date: Tuesday, August 8, 2017 @ 18:50:12
  Author: felixonmars
Revision: 249612

upgpkg: ponyc 0.17.0-1

Modified:
  ponyc/trunk/PKGBUILD
Deleted:
  ponyc/trunk/gcc7.patch

------------+
 PKGBUILD   |   10 +++-------
 gcc7.patch |   34 ----------------------------------
 2 files changed, 3 insertions(+), 41 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-08 18:40:39 UTC (rev 249611)
+++ PKGBUILD	2017-08-08 18:50:12 UTC (rev 249612)
@@ -2,7 +2,7 @@
 # Maintainer: Felix Yan <felixonmars at archlinux.org>
 
 pkgname=ponyc
-pkgver=0.15.0
+pkgver=0.17.0
 pkgrel=1
 pkgdesc='An actor model, capabilities, high performance programming language'
 url='http://ponylang.org/'
@@ -13,16 +13,12 @@
 checkdepends=('pcre2')
 options=('!strip')
 optdepends=('pcre2: Needed for the regex package.')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/ponylang/ponyc/archive/$pkgver.tar.gz"
-        gcc7.patch)
-sha512sums=('ddd73714ce2d8b38231b5e45facbc1bf554f4914cf85544ada846e22893927b5e5f81f3edbcbd254ae5d1804e01ce969b3373b48309af1cd5482a0be91a72264'
-            '5e13a430396995141591efb1c2194f1a0039119536b7eb7f7278d9535553ee466f2f48b8b90a536039dd78e149575ca0ff456dd1c8f6615d01f75401eedd88d6')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ponylang/ponyc/archive/$pkgver.tar.gz")
+sha512sums=('bbd4b5a9d042ca7ce958f628e9141341a49e9a304cd36a673f9ad8a7e5d43a12831c28d58fa076b9d3df30ca94d2b7db21120c368592f6c71ed70fa7f6da66b4')
 
 prepare() {
   cd ponyc-$pkgver
   sed -i 's/-Werror //' Makefile
-
-  patch -p1 -i "$srcdir"/gcc7.patch
 }
 
 build() {

Deleted: gcc7.patch
===================================================================
--- gcc7.patch	2017-08-08 18:40:39 UTC (rev 249611)
+++ gcc7.patch	2017-08-08 18:50:12 UTC (rev 249612)
@@ -1,34 +0,0 @@
-diff --git a/src/libponyc/codegen/genexe.c b/src/libponyc/codegen/genexe.c
-index 304a6f675..a063818d8 100644
---- a/src/libponyc/codegen/genexe.c
-+++ b/src/libponyc/codegen/genexe.c
-@@ -277,7 +277,7 @@ static bool link_exe(compile_t* c, ast_t* program,
- #ifdef PONY_USE_LTO
-     "-flto -fuse-linker-plugin "
- #endif
--    "%s %s %s %s -lpthread %s -lm %s",
-+    "%s %s %s %s -lpthread -latomic %s -lm %s",
-     linker, file_exe, arch, mcx16_arg, fuseld, file_o, lib_args, ponyrt, ldl,
-     export
-     );
-diff --git a/Makefile b/Makefile
-index a795d8f57..dd8923b97 100644
---- a/Makefile
-+++ b/Makefile
-@@ -437,11 +437,11 @@ libponyc.benchmarks.links = libgbenchmark libponyc libponyrt llvm
- libponyrt.benchmarks.links = libgbenchmark libponyrt
- 
- ifeq ($(OSTYPE),linux)
--  ponyc.links += libpthread libdl
--  libponyc.tests.links += libpthread libdl
--  libponyrt.tests.links += libpthread libdl
--  libponyc.benchmarks.links += libpthread libdl
--  libponyrt.benchmarks.links += libpthread libdl
-+  ponyc.links += libpthread libdl libatomic
-+  libponyc.tests.links += libpthread libdl libatomic
-+  libponyrt.tests.links += libpthread libdl libatomic
-+  libponyc.benchmarks.links += libpthread libdl libatomic
-+  libponyrt.benchmarks.links += libpthread libdl libatomic
- endif
-
- 
\ No newline at end of file



More information about the arch-commits mailing list