Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package transconnect for openSUSE:Factory 
checked in at 2025-07-15 16:43:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transconnect (Old)
 and      /work/SRC/openSUSE:Factory/.transconnect.new.7373 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transconnect"

Tue Jul 15 16:43:55 2025 rev:17 rq:1293105 version:1.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/transconnect/transconnect.changes        
2024-06-03 17:43:31.519171025 +0200
+++ /work/SRC/openSUSE:Factory/.transconnect.new.7373/transconnect.changes      
2025-07-15 16:45:05.350728658 +0200
@@ -1,0 +2,9 @@
+Wed Jul  9 08:17:08 UTC 2025 - pgaj...@suse.com
+
+- modified patches
+  % transconnect-1.2.dif (refreshed)
+- added patches
+  fix build with gcc15
+  + transconnect-gcc15.patch
+
+-------------------------------------------------------------------

New:
----
  transconnect-gcc15.patch

----------(New B)----------
  New:  fix build with gcc15
  + transconnect-gcc15.patch
----------(New E)----------

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

Other differences:
------------------
++++++ transconnect.spec ++++++
--- /var/tmp/diff_new_pack.GRP6dV/_old  2025-07-15 16:45:06.426773587 +0200
+++ /var/tmp/diff_new_pack.GRP6dV/_new  2025-07-15 16:45:06.426773587 +0200
@@ -26,6 +26,8 @@
 Source0:        
http://prdownloads.sourceforge.net/transconnect/%{name}-%{version}.tar.bz2
 Source1:        README.SUSE
 Patch0:         %{name}-%{version}.dif
+# fix build with gcc15
+Patch1:         transconnect-gcc15.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -33,7 +35,7 @@
 internet through a HTTP proxy like squid.
 
 %prep
-%autosetup -p0
+%autosetup -p1
 cp %{SOURCE1} .
 
 %build

++++++ transconnect-1.2.dif ++++++
--- /var/tmp/diff_new_pack.GRP6dV/_old  2025-07-15 16:45:06.470775424 +0200
+++ /var/tmp/diff_new_pack.GRP6dV/_new  2025-07-15 16:45:06.478775757 +0200
@@ -1,5 +1,5 @@
---- Makefile
-+++ Makefile   2002/06/21 12:12:27
+--- a/Makefile
++++ b/Makefile 2002/06/21 12:12:27
 @@ -1,6 +1,6 @@
  # Makefile for transconnect
  
@@ -8,8 +8,8 @@
  LDFLAGS = -shared
  LINUX_LDLIBS  = -ldl
  
---- tconn.c
-+++ tconn.c
+--- a/tconn.c
++++ b/tconn.c
 @@ -149,7 +149,7 @@
    struct passwd *pwent;                       /* Needed for reading the 
password file to extract home directory */
    

++++++ transconnect-gcc15.patch ++++++
diff -upr transconnect-1.2.orig/tconn.c transconnect-1.2/tconn.c
--- transconnect-1.2.orig/tconn.c       2025-07-09 08:01:04.599298466 +0000
+++ transconnect-1.2/tconn.c    2025-07-09 08:11:25.314301171 +0000
@@ -142,7 +142,7 @@ int connect (int sockfd, const struct so
   char *tconn_env;                     /* Environment Variable path for Config 
File */
   FILE *fp;                            /* For opening config file */
   
-  static int (*func) ();               /* The function we are overriding :-) */
+  static int (*func) (int, const struct sockaddr *, socklen_t);                
/* The function we are overriding :-) */
                                        /* It has been made static to avoid 
lookup of libc repeatedly */
 
   int uid;                             /* User id */
@@ -163,10 +163,10 @@ int connect (int sockfd, const struct so
 #ifdef _BSD_HACK_
     /* On BSD we open the libc and retrive the pointer to connect function 
from it */
     handle = dlopen(TCONN_LIBC_PATH, RTLD_LAZY);
-    func = (int (*)()) dlsym (handle, "connect");
+    func = (int (*)(int, const struct sockaddr *, socklen_t)) dlsym (handle, 
"connect");
 #else
     /* On linux/Sun we can set func to next instance of connect, which is the 
original connect*/
-    func = (int (*)()) dlsym (RTLD_NEXT, "connect");
+    func = (int (*)(int, const struct sockaddr *, socklen_t)) dlsym 
(RTLD_NEXT, "connect");
 #endif
   }
 
@@ -183,7 +183,7 @@ int connect (int sockfd, const struct so
         fprintf (stderr, "Wrong socket type for routing\n"
               "optval == %d sa_family == %d optlen == %d \n"
               "whereas \n"
-              "stream == %d AF_INET == %d optlen ==%d \n ",
+              "stream == %d AF_INET == %d optlen ==%ld \n ",
               optval, serv_addr->sa_family, optlen,
               SOCK_STREAM, AF_INET, sizeof (optval));
       /* This was not a TCP stream socket so we connect using the original 
function */

Reply via email to