mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Fix build on -current
PR: 58883 Submitted by: Ports Fury
This commit is contained in:
parent
9043824987
commit
a6e4ceb324
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=93054
2 changed files with 6 additions and 37 deletions
|
@ -17,16 +17,14 @@ COMMENT= Small GTK-based GNOME-compliant window manager
|
|||
|
||||
USE_X_PREFIX= yes
|
||||
USE_XPM= yes
|
||||
USE_GNOME= gnomehack gnomelibs gnomeprefix
|
||||
USE_GMAKE= yes
|
||||
USE_GNOME= yes
|
||||
USE_LIBTOOL= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LIBS="-L${LOCALBASE}/lib"
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
||||
AUTOHEADER="${TRUE}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
CFLAGS+= -fpermissive
|
||||
|
||||
.if ${OSVERSION} > 500000
|
||||
BROKEN= "Does not compile"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,29 +0,0 @@
|
|||
--- src/Client.C.orig Tue Nov 23 01:59:43 1999
|
||||
+++ src/Client.C Tue Nov 23 02:01:29 1999
|
||||
@@ -320,7 +320,7 @@
|
||||
|
||||
|
||||
char *Client::getProperty(Atom a) {
|
||||
- unsigned char *p;
|
||||
+ char *p;
|
||||
|
||||
if (a == XA_WM_NAME || XA_WM_ICON_NAME) {
|
||||
XTextProperty xtp;
|
||||
@@ -335,7 +335,7 @@
|
||||
if (st != 0) {
|
||||
XmbTextPropertyToTextList(display(), &xtp, &cl, &n);
|
||||
if(cl){
|
||||
- p = (unsigned char *)malloc(
|
||||
+ p = (char *)malloc(
|
||||
sizeof (unsigned char) * (strlen(cl[0]) + 1)
|
||||
);
|
||||
strcpy(p, cl[0]);
|
||||
@@ -344,7 +344,7 @@
|
||||
}
|
||||
}
|
||||
else{
|
||||
- if(getProperty_aux(display(), m_window, a, XA_STRING, 100L, &p) <= 0) {
|
||||
+ if(getProperty_aux(display(), m_window, a, XA_STRING, 100L, &(unsigned char *)p) <= 0) {
|
||||
return NULL;
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue