Skip to content

Commit cc0b448

Browse files
ports(xorg-proto): fix patch
Signed-off-by: Anhad Singh <[email protected]>
1 parent 0001dae commit cc0b448

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

patches/xorg-proto/jinx-working-patch.patch

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
1+
diff --git xorg-proto-clean/include/X11/Xfuncs.h xorg-proto-workdir/include/X11/Xfuncs.h
2+
index b23c283..89dbbb5 100644
3+
--- xorg-proto-clean/include/X11/Xfuncs.h
4+
+++ xorg-proto-workdir/include/X11/Xfuncs.h
5+
@@ -44,7 +44,7 @@ void bcopy();
6+
# define bcmp(b1,b2,len) memcmp(b1, b2, len)
7+
# else
8+
# include <string.h>
9+
-# if defined(__SCO__) || defined(__sun) || defined(__UNIXWARE__) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__)
10+
+# if defined(__SCO__) || defined(__sun) || defined(__UNIXWARE__) || defined(__CYGWIN__) || defined(_AIX) || defined(__APPLE__) || defined(__aero__)
11+
# include <strings.h>
12+
# endif
13+
# define _XFUNCS_H_INCLUDED_STRING_H
114
diff --git xorg-proto-clean/include/X11/Xos.h xorg-proto-workdir/include/X11/Xos.h
2-
index 75cc5b7..9adf88d 100644
15+
index 75cc5b7..6c46e33 100644
316
--- xorg-proto-clean/include/X11/Xos.h
417
+++ xorg-proto-workdir/include/X11/Xos.h
518
@@ -60,7 +60,7 @@ in this Software without prior written authorization from The Open Group.
@@ -12,7 +25,7 @@ index 75cc5b7..9adf88d 100644
1225
# else
1326
# ifndef index
1427
diff --git xorg-proto-clean/include/X11/Xos_r.h xorg-proto-workdir/include/X11/Xos_r.h
15-
index f963b64..5ade17b 100644
28+
index f963b64..542c19d 100644
1629
--- xorg-proto-clean/include/X11/Xos_r.h
1730
+++ xorg-proto-workdir/include/X11/Xos_r.h
1831
@@ -318,7 +318,7 @@ static __inline__ void _Xpw_copyPasswd(_Xgetpwparams p)

0 commit comments

Comments
 (0)