Projects
home:zhangxiang:branches:Mega:23.03
netty
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 19
View file
_service:tar_scm:fix-clang.patch
Changed
@@ -1,15 +1,15 @@ -diff -ur netty-netty-4.1.13.Final/transport-native-unix-common/Makefile netty-netty-4.1.13.Final-copy/transport-native-unix-common/Makefile ---- netty-netty-4.1.13.Final/transport-native-unix-common/Makefile 2017-07-06 11:23:51.000000000 +0000 -+++ netty-netty-4.1.13.Final-copy/transport-native-unix-common/Makefile 2023-05-31 09:32:07.181986593 +0000 -@@ -21,7 +21,7 @@ - # LIB_DIR - where the static library will be built in - # OBJ_DIR - where the obj files will be built in (defaults to LIB_DIR) - # LIB_NAME - the name of the native library -- -+CC ?=cc - SRC_DIR = src/main/c - JNI_INCLUDE_DIR = $(JAVA_HOME)/include - JNI_INCLUDES = -I$(JNI_INCLUDE_DIR) -I$(JNI_INCLUDE_DIR)/$(JNI_PLATFORM) +diff -ur netty-netty-4.1.13.Final/transport-native-epoll/src/main/c/netty_epoll_linuxsocket.c netty-netty-4.1.13.Final-copy/transport-native-epoll/src/main/c/netty_epoll_linuxsocket.c +--- netty-netty-4.1.13.Final/transport-native-epoll/src/main/c/netty_epoll_linuxsocket.c 2017-07-06 11:23:51.000000000 +0000 ++++ netty-netty-4.1.13.Final-copy/transport-native-epoll/src/main/c/netty_epoll_linuxsocket.c 2023-05-31 13:23:32.566313659 +0000 +@@ -183,7 +183,7 @@ + if (netty_unix_socket_getOption(env, fd, IPPROTO_TCP, TCP_INFO, &tcp_info, sizeof(tcp_info)) == -1) { + return; + } +- unsigned int cArray32; ++ int cArray32; + cArray0 = tcp_info.tcpi_state; + cArray1 = tcp_info.tcpi_ca_state; + cArray2 = tcp_info.tcpi_retransmits; diff -ur netty-netty-4.1.13.Final/transport-native-unix-common/pom.xml netty-netty-4.1.13.Final-copy/transport-native-unix-common/pom.xml --- netty-netty-4.1.13.Final/transport-native-unix-common/pom.xml 2017-07-06 11:23:51.000000000 +0000 +++ netty-netty-4.1.13.Final-copy/transport-native-unix-common/pom.xml 2023-05-31 11:01:27.545622740 +0000
View file
_service:tar_scm:fix-strip.patch
Changed
@@ -24,7 +24,7 @@ <!-- If glibc and linux kernel are both not sufficient...then define the CFLAGS --> <regex>^((?!CFLAGS=).)*$</regex> - <replacement>CFLAGS=-O3 -Werror -fno-omit-frame-pointer -Wunused-variable -I${unix.common.include.unpacked.dir}</replacement> -+ <replacement>CFLAGS=-O3 -Werror -fno-omit-frame-pointer -Wunused-variable -Wl,-s -I${unix.common.include.unpacked.dir}</replacement> ++ <replacement>CFLAGS=-O3 -Werror -Werror=deprecated-non-prototype -Wpointer-sign -fno-omit-frame-pointer -Wunused-variable -I${unix.common.include.unpacked.dir}</replacement> <failIfNoMatch>false</failIfNoMatch> </configuration> </execution>
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2