]> git.pld-linux.org Git - packages/v8.git/commitdiff
- remove orphaned patch
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 5 Mar 2011 08:58:26 +0000 (08:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- fix gcc deps
- cleanups

Changed files:
    v8-d8-fwrite-return.patch -> 1.2
    v8.spec -> 1.19

v8-d8-fwrite-return.patch [deleted file]
v8.spec

diff --git a/v8-d8-fwrite-return.patch b/v8-d8-fwrite-return.patch
deleted file mode 100644 (file)
index c789798..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -up v8/src/d8.cc.BAD v8/src/d8.cc
---- v8/src/d8.cc.BAD   2009-09-16 12:14:52.000000000 -0400
-+++ v8/src/d8.cc       2009-09-16 12:17:42.000000000 -0400
-@@ -159,7 +159,8 @@ Handle<Value> Shell::Write(const Argumen
-       printf(" ");
-     }
-     v8::String::Utf8Value str(args[i]);
--    fwrite(*str, sizeof(**str), str.length(), stdout);
-+    int n = fwrite(*str, sizeof(**str), str.length(), stdout);
-+    if (n != 1) printf("fwrite to stdout failed!\n");
-   }
-   return Undefined();
- }
diff --git a/v8.spec b/v8.spec
index f01c641a11cccb6e898ffaef50a6c1d4b4f7a9f5..02ab24e7ba32534928c4335f60d18435c2655450 100644 (file)
--- a/v8.spec
+++ b/v8.spec
@@ -1,16 +1,13 @@
-
-# For the 1.2 branch, we use 0s here
-# For 1.3+, we use the three digit versions
 %define                somajor 3
 %define                sominor 1
 %define                sobuild 5
-%define                sover %{somajor}.%{sominor}.%{sobuild}
+%define                sover   %{somajor}.%{sominor}.%{sobuild}
 
 %define                snap    20110218svn6858
 %define                rel             1
 Summary:       JavaScript Engine
 Name:          v8
-Version:       3.1.5.0
+Version:       %{somajor}.%{sominor}.%{sobuild}.0
 Release:       0.%{snap}.%{rel}
 License:       BSD
 Group:         Libraries
@@ -19,12 +16,10 @@ URL:                http://code.google.com/p/v8
 # svn export http://v8.googlecode.com/svn/trunk/ v8
 Source0:       %{name}-%{snap}.tar.bz2
 # Source0-md5: 8ebfa445587a4a649c704d8a20d14ab4
-#Patch0:               %{name}-d8-fwrite-return.patch
 Patch1:                %{name}-2.0.0-d8-allocation.patch
 Patch2:                %{name}-cstdio.patch
 Patch3:                %{name}-strndup.patch
-BuildRequires: gcc >= 4.0
-BuildRequires: libstdc++-devel
+BuildRequires: libstdc++-devel >= 5:4.0
 BuildRequires: readline-devel
 BuildRequires: scons
 ExclusiveArch: %{ix86} %{x8664} arm
@@ -59,7 +54,6 @@ Development headers and libraries for v8.
 
 %prep
 %setup -q -n %{name}
-#%patch0 -p1
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
@@ -67,7 +61,7 @@ Development headers and libraries for v8.
 
 # create simple makefile
 cat <<'EOF'> Makefile
-V8_OBJS = obj/release/d8-debug.os obj/release/d8-posix.os obj/release/d8-readline.os obj/release/d8.os obj/release/d8-js.os obj/release/extensions/externalize-string-extension.os obj/release/extensions/gc-extension.os 
+V8_OBJS = obj/release/d8-debug.os obj/release/d8-posix.os obj/release/d8-readline.os obj/release/d8.os obj/release/d8-js.os obj/release/extensions/externalize-string-extension.os obj/release/extensions/gc-extension.os
 V8_LIBS = -lpthread -lreadline -lpthread -L. -lv8
 
 v8:
@@ -157,6 +151,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/v8
 
 %files libs
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libv8.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libv8.so.0
 
This page took 0.046695 seconds and 4 git commands to generate.