Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
96d5e74a
Commit
96d5e74a
authored
Feb 13, 2015
by
Mirraz Mirraz
Committed by
Mike Gabriel
Feb 13, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle some serious compilation warnings (603_nx-X11_compilation_warnings.full.patch).
parent
415b20b6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
41 deletions
+7
-41
603_nx-X11_compilation_warnings.full.patch
debian/patches/603_nx-X11_compilation_warnings.full.patch
+0
-38
series
debian/patches/series
+0
-1
arbprogparse.c
nx-X11/extras/Mesa/src/mesa/shader/arbprogparse.c
+0
-1
imLcPrs.c
nx-X11/lib/X11/imLcPrs.c
+1
-1
ddxLoad.c
nx-X11/programs/Xserver/xkb/ddxLoad.c
+6
-0
No files found.
debian/patches/603_nx-X11_compilation_warnings.full.patch
deleted
100644 → 0
View file @
415b20b6
Description: Handle some serious compilation warnings
Author: Mirraz Mirraz <mirraz1@rambler.ru>
--- a/nx-X11/extras/Mesa/src/mesa/shader/arbprogparse.c 2013-08-30 20:18:40.000000000 +0600
+++ b/nx-X11/extras/Mesa/src/mesa/shader/arbprogparse.c 2013-09-30 18:39:42.357560169 +0600
@@ -3259,7 +3259,6 @@
vp->SrcReg[0].Swizzle = SWIZZLE_NOOP;
vp->SrcReg[1].Swizzle = SWIZZLE_NOOP;
vp->SrcReg[2].Swizzle = SWIZZLE_NOOP;
- vp->SrcReg[3].Swizzle = SWIZZLE_NOOP;
vp->DstReg.WriteMask = 0xf;
switch (type) {
--- a/nx-X11/lib/X11/imLcPrs.c 2013-08-30 20:18:40.000000000 +0600
+++ b/nx-X11/lib/X11/imLcPrs.c 2013-09-30 19:02:56.925125678 +0600
@@ -589,7 +589,7 @@
l = _Xmbstoutf8(local_utf8_buf, rhs_string_mb, LOCAL_UTF8_BUFSIZE - 1);
if (l == LOCAL_UTF8_BUFSIZE - 1) {
- local_wc_buf[l] = '\0';
+ local_utf8_buf[l] = '\0';
}
if( (rhs_string_utf8 = (char *)Xmalloc(l + 1)) == NULL ) {
Xfree( rhs_string_wc );
--- a/nx-X11/programs/Xserver/xkb/ddxLoad.c 2013-08-30 20:18:40.000000000 +0600
+++ b/nx-X11/programs/Xserver/xkb/ddxLoad.c 2013-09-30 18:56:27.358995920 +0600
@@ -37,6 +37,12 @@
#include <errno.h>
#include <stdio.h>
#include <ctype.h>
+
+/* stat() */
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <unistd.h>
+
#define NEED_EVENTS 1
#include <X11/X.h>
#include <X11/Xos.h>
debian/patches/series
View file @
96d5e74a
#401_nxcomp_bigrequests-and-genericevent-extensions.full+lite.patch
603_nx-X11_compilation_warnings.full.patch
605_nxcomp_Types.h-dont-use-STL-internals-on-libc++.full+lite.patch
606_nx-X11_build-on-aarch64.full.patch
607_nxcomp_macosx-X11-launcher-in-private-tmp.full+lite.patch
...
...
nx-X11/extras/Mesa/src/mesa/shader/arbprogparse.c
View file @
96d5e74a
...
...
@@ -3259,7 +3259,6 @@ parse_vp_instruction (GLcontext * ctx, GLubyte ** inst,
vp
->
SrcReg
[
0
].
Swizzle
=
SWIZZLE_NOOP
;
vp
->
SrcReg
[
1
].
Swizzle
=
SWIZZLE_NOOP
;
vp
->
SrcReg
[
2
].
Swizzle
=
SWIZZLE_NOOP
;
vp
->
SrcReg
[
3
].
Swizzle
=
SWIZZLE_NOOP
;
vp
->
DstReg
.
WriteMask
=
0xf
;
switch
(
type
)
{
...
...
nx-X11/lib/X11/imLcPrs.c
View file @
96d5e74a
...
...
@@ -589,7 +589,7 @@ parseline(
l
=
_Xmbstoutf8
(
local_utf8_buf
,
rhs_string_mb
,
LOCAL_UTF8_BUFSIZE
-
1
);
if
(
l
==
LOCAL_UTF8_BUFSIZE
-
1
)
{
local_
wc
_buf
[
l
]
=
'\0'
;
local_
utf8
_buf
[
l
]
=
'\0'
;
}
if
(
(
rhs_string_utf8
=
(
char
*
)
Xmalloc
(
l
+
1
))
==
NULL
)
{
Xfree
(
rhs_string_wc
);
...
...
nx-X11/programs/Xserver/xkb/ddxLoad.c
View file @
96d5e74a
...
...
@@ -37,6 +37,12 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <errno.h>
#include <stdio.h>
#include <ctype.h>
/* stat() */
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#define NEED_EVENTS 1
#include <X11/X.h>
#include <X11/Xos.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment