ports/170105: [MAINTAINER] lang/clay: update to 0.1.2
Jyun-Yan You
jyyou at cs.nctu.edu.tw
Tue Jul 24 09:00:33 UTC 2012
>Number: 170105
>Category: ports
>Synopsis: [MAINTAINER] lang/clay: update to 0.1.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue Jul 24 09:00:32 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Jyun-Yan You
>Release: FreeBSD 9.0-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD plaslab.cs.nctu.edu.tw 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012
>Description:
- Update to 0.1.2
Removed file(s):
- files/patch-git9ee1902
Generated with FreeBSD Port Tools 0.99_6 (mode: update, diff: ports)
>How-To-Repeat:
>Fix:
--- clay-0.1.2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/lang/clay/Makefile ./Makefile
--- /usr/ports/lang/clay/Makefile 2012-07-22 02:03:59.000000000 +0800
+++ ./Makefile 2012-07-24 14:03:55.838211630 +0800
@@ -6,8 +6,7 @@
#
PORTNAME= clay
-PORTVERSION= 0.1.1
-PORTREVISION= 2
+PORTVERSION= 0.1.2
CATEGORIES= lang
MASTER_SITES= https://github.com/jckarter/${PORTNAME}/tarball/v${PORTVERSION}/
DISTNAME= jckarter-${PORTNAME}-v${PORTVERSION}-0-g${GITVERSION}
@@ -23,7 +22,7 @@
BINDGEN_DESC= Build with binding generator
OPTIONS_DEFAULT= BINDGEN
-GITVERSION= 850c5c9
+GITVERSION= 751ebe3
FETCH_ARGS= -pRr
WRKSRC= ${WRKDIR}/jckarter-${PORTNAME}-${GITVERSION}
diff -ruN --exclude=CVS /usr/ports/lang/clay/distinfo ./distinfo
--- /usr/ports/lang/clay/distinfo 2012-03-03 00:10:57.000000000 +0800
+++ ./distinfo 2012-07-24 14:07:20.701148133 +0800
@@ -1,2 +1,2 @@
-SHA256 (jckarter-clay-v0.1.1-0-g850c5c9.tar.gz) = 509108be0e703845cd8b48a99bf7723297c09c0faf75799a81f6103b9a523b97
-SIZE (jckarter-clay-v0.1.1-0-g850c5c9.tar.gz) = 2836566
+SHA256 (jckarter-clay-v0.1.2-0-g751ebe3.tar.gz) = fdb460383c3dbed14cbcd9b2687d6120215e539fa87840fd5247ba599903f857
+SIZE (jckarter-clay-v0.1.2-0-g751ebe3.tar.gz) = 2834720
diff -ruN --exclude=CVS /usr/ports/lang/clay/files/patch-git9ee1902 ./files/patch-git9ee1902
--- /usr/ports/lang/clay/files/patch-git9ee1902 2012-06-26 18:13:38.000000000 +0800
+++ ./files/patch-git9ee1902 1970-01-01 08:00:00.000000000 +0800
@@ -1,88 +0,0 @@
-diff --git ./CMakeLists.txt ./CMakeLists.txt
-index fce24ac..dabedff 100644
---- ./CMakeLists.txt
-+++ ./CMakeLists.txt
-@@ -23,8 +23,8 @@ if(UNIX)
- OUTPUT_VARIABLE LLVM_VERSION
- OUTPUT_STRIP_TRAILING_WHITESPACE
- )
-- if(NOT ${LLVM_VERSION} STREQUAL "3.0")
-- message(FATAL_ERROR "Clay requires LLVM 3.0.")
-+ if(NOT ${LLVM_VERSION} STREQUAL "3.1")
-+ message(FATAL_ERROR "Clay requires LLVM 3.1.")
- endif()
-
- execute_process(
-diff --git ./compiler/src/codegen.cpp ./compiler/src/codegen.cpp
-index fb66668..59055b9 100644
---- ./compiler/src/codegen.cpp
-+++ ./compiler/src/codegen.cpp
-@@ -956,9 +956,7 @@
- case STRING_LITERAL : {
- StringLiteral *x = (StringLiteral *)expr.ptr();
- llvm::Constant *initializer =
-- llvm::ConstantArray::get(llvm::getGlobalContext(),
-- x->value,
-- true);
-+ llvm::ConstantDataArray::getString(llvm::getGlobalContext(), x->value, true);
- TypePtr type = arrayType(int8Type, x->value.size() + 1);
- ostringstream symbolName;
- symbolName << "StringConstant " << x->value << " clay";
-@@ -2775,7 +2773,7 @@
-
- if(!llvm::ParseAssembly(buf, llvmModule, err,
- llvm::getGlobalContext())) {
-- err.Print("\n", out);
-+ err.print("\n", out);
- std::cerr << out.str() << std::endl;
- error("llvm assembly parse error");
- }
-@@ -6151,7 +6149,7 @@
- llvm::getGlobalContext())) {
- string errBuf;
- llvm::raw_string_ostream errOut(errBuf);
-- err.Print("\n", errOut);
-+ err.print("\n", errOut);
- std::cerr << errOut.str() << std::endl;
- error("llvm assembly parse error");
- }
-@@ -6459,7 +6457,7 @@
- llvm::CodeModel::Model codeModel = llvm::CodeModel::Default;
-
- llvm::TargetMachine *targetMachine = target->createTargetMachine(
-- targetTriple, "", "", reloc, codeModel);
-+ targetTriple, "", "", llvm::TargetOptions(), reloc, codeModel);
-
- if (targetMachine != NULL) {
- llvmTargetData = targetMachine->getTargetData();
-diff --git ./compiler/src/main.cpp ./compiler/src/main.cpp
-index 9e73160..85941b9 100644
---- ./compiler/src/main.cpp
-+++ ./compiler/src/main.cpp
-@@ -119,7 +119,7 @@ static void generateAssembly(llvm::Module *module,
- bool debug)
- {
- if (optLevel < 2 || debug)
-- llvm::NoFramePointerElim = true;
-+ targetMachine->Options.NoFramePointerElim = 1;
-
- llvm::FunctionPassManager fpasses(module);
-
-@@ -366,7 +366,7 @@ int main2(int argc, char **argv, char const* const* envp) {
-
- string clayFile;
- string outputFile;
-- string targetTriple = llvm::sys::getHostTriple();
-+ string targetTriple = llvm::sys::getDefaultTargetTriple();
-
- string clayScriptImports;
- string clayScript;
-@@ -553,7 +553,7 @@ int main2(int argc, char **argv, char const* const* envp) {
- llvm::errs() << "error: target name missing after -target\n";
- return 1;
- }
-- crossCompiling = targetTriple != llvm::sys::getHostTriple();
-+ crossCompiling = targetTriple != llvm::sys::getDefaultTargetTriple();
- }
- else if (strstr(argv[i], "-Wl") == argv[i]) {
- linkerFlags += argv[i] + strlen("-Wl");
diff -ruN --exclude=CVS /usr/ports/lang/clay/pkg-plist ./pkg-plist
--- /usr/ports/lang/clay/pkg-plist 2012-07-22 02:03:59.000000000 +0800
+++ ./pkg-plist 2012-07-24 14:29:52.161409036 +0800
@@ -177,7 +177,8 @@
lib/lib-clay/libc/libc.freebsd.clay
lib/lib-clay/libc/libc.linux.clay
lib/lib-clay/libc/libc.macosx.clay
-lib/lib-clay/libc/libc.windows.clay
+lib/lib-clay/libc/libc.windows.32.clay
+lib/lib-clay/libc/libc.windows.64.clay
lib/lib-clay/llvm/libclang/generated/Makefile
lib/lib-clay/llvm/libclang/generated/generated.clay
lib/lib-clay/llvm/libclang/generated/generated_from.h
--- clay-0.1.2.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list