Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package vlang for openSUSE:Factory checked 
in at 2025-09-26 22:24:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/vlang (Old)
 and      /work/SRC/openSUSE:Factory/.vlang.new.11973 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "vlang"

Fri Sep 26 22:24:40 2025 rev:2 rq:1307211 version:0.4.12

Changes:
--------
--- /work/SRC/openSUSE:Factory/vlang/vlang.changes      2025-08-07 
16:49:07.909094030 +0200
+++ /work/SRC/openSUSE:Factory/.vlang.new.11973/vlang.changes   2025-09-26 
22:26:03.785907624 +0200
@@ -1,0 +2,23 @@
+Sun Sep 21 23:55:48 UTC 2025 - Avindra Goolcharan <[email protected]>
+
+- Update to version 0.4.12:
+  * Support a new CPU architecture s390x (#24107)
+  * Add initial support for ppc64le (#24287)
+  * Add initial support for loongarch64 (#24343)
+  * Support js"string literal" for JavaScript strings (#24653)
+  * VLS mode in the parser for the new language server in pure V
+  * Remove deprecations made before 2024-11-06
+  * Add a deprecation note for any arg, prevent any from being
+    used as map key,value or array type (#24277)
+  * Improvents/fixes to Checker, Parser, Comptime, Compiler internals,
+    Standard library, Web, ORM and Database drivers
+  * Native, C and JavaScript backend changes
+- See https://github.com/vlang/v/releases/tag/0.4.11 for full details
+- add fix-already-unsafe.patch to fix compilation error
+
+-------------------------------------------------------------------
+Wed Aug  6 12:35:01 UTC 2025 - Eyad Issa <[email protected]>
+
+- Do not copy v.c while building 
+
+-------------------------------------------------------------------

Old:
----
  vlang-0.4.11.tar.gz

New:
----
  fix-already-unsafe.patch
  vlang-0.4.12.tar.gz

----------(New B)----------
  New:- See https://github.com/vlang/v/releases/tag/0.4.11 for full details
- add fix-already-unsafe.patch to fix compilation error
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ vlang.spec ++++++
--- /var/tmp/diff_new_pack.V360hT/_old  2025-09-26 22:26:04.701946258 +0200
+++ /var/tmp/diff_new_pack.V360hT/_new  2025-09-26 22:26:04.701946258 +0200
@@ -25,7 +25,7 @@
 %global vexe        %{vexe_root}/%{name}
 
 Name:           vlang
-Version:        0.4.11
+Version:        0.4.12
 Release:        0
 Summary:        The V Programming Language
 License:        MIT AND BSD-2-Clause
@@ -33,6 +33,7 @@
 Source0:        
https://github.com/%{name}/v/archive/%{version}/%{name}-%{version}.tar.gz
 Source1:        https://github.com/%{name}/vc/raw/%{vc_gitrev}/v.c
 Source99:       vlang-rpmlintrc
+Patch0:         
https://github.com/vlang/v/pull/25370.diff#/fix-already-unsafe.patch
 BuildRequires:  c_compiler
 BuildRequires:  diffutils
 BuildRequires:  fdupes
@@ -62,7 +63,6 @@
 
 %prep
 %autosetup -n v-%{version} -p1
-cp %{SOURCE1} v.c
 
 # Remove .gitignore files
 find . -type f -name '.gitignore' -print -delete
@@ -89,7 +89,7 @@
 export STAGE2_FLAGS='-prod -nocache'
 
 # stage 0: build the V compiler from the transpiled C code
-${CC} ${CFLAGS} ${LDFLAGS} ${STAGE0_FLAGS} -o %{name}-stage0 v.c
+${CC} ${CFLAGS} ${LDFLAGS} ${STAGE0_FLAGS} -o %{name}-stage0 %{SOURCE1}
 # stage 1: build without parallelism
 ./%{name}-stage0 ${VFLAGS} ${STAGE1_FLAGS} -o %{name}-stage1 cmd/v
 # stage 2: build with parallelism and -prod

++++++ fix-already-unsafe.patch ++++++
diff --git a/vlib/os/os.c.v b/vlib/os/os.c.v
index dceb76f5bef77c..a653e4abd08a96 100644
--- a/vlib/os/os.c.v
+++ b/vlib/os/os.c.v
@@ -531,7 +531,7 @@ pub fn get_raw_line() string {
                unsafe {
                        initial_size := 256 * wide_char_size
                        mut buf := malloc_noscan(initial_size)
-                       defer { unsafe { buf.free() } }
+                       defer { buf.free() }
                        mut capacity := initial_size
                        mut offset := 0
 

++++++ vlang-0.4.11.tar.gz -> vlang-0.4.12.tar.gz ++++++
/work/SRC/openSUSE:Factory/vlang/vlang-0.4.11.tar.gz 
/work/SRC/openSUSE:Factory/.vlang.new.11973/vlang-0.4.12.tar.gz differ: char 
13, line 1

Reply via email to