diff options
author | cy <cy@FreeBSD.org> | 2005-11-10 00:50:18 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2005-11-10 00:50:18 +0800 |
commit | a386179ecc62f20ecd077c7596e723cde8403039 (patch) | |
tree | 7be4d98c6e4e3b7ddbcd80a776f1e3e4be8a72c3 | |
parent | 8ad7cdbafa468f86703f37937b66b242ec86a4db (diff) | |
download | freebsd-ports-gnome-a386179ecc62f20ecd077c7596e723cde8403039.tar.gz freebsd-ports-gnome-a386179ecc62f20ecd077c7596e723cde8403039.tar.zst freebsd-ports-gnome-a386179ecc62f20ecd077c7596e723cde8403039.zip |
Fix build failure under FreeBSD-4.11.
PR: 87886
Submitted by: parv
-rw-r--r-- | x11-wm/fvwm2-devel/Makefile | 6 | ||||
-rw-r--r-- | x11-wm/fvwm2-devel/files/patch-modules-FvwmProxy-FvwmProxy.c | 20 |
2 files changed, 21 insertions, 5 deletions
diff --git a/x11-wm/fvwm2-devel/Makefile b/x11-wm/fvwm2-devel/Makefile index 589c9024e895..a3cf2c3674b0 100644 --- a/x11-wm/fvwm2-devel/Makefile +++ b/x11-wm/fvwm2-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= fvwm PORTVERSION= 2.5.14 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= x11-wm MASTER_SITES= ftp://ftp.fvwm.org/pub/fvwm/version-2/ \ http://www.fvwm.org/generated/icon_download/ @@ -46,10 +46,6 @@ OPTIONS= ICONS "Install default icon set" on \ .include <bsd.port.pre.mk> -.if ${OSVERSION} < 501000 -BROKEN= Does not build -.endif - .if !defined(WITHOUT_ICONS) DISTFILES+= fvwm_icons.tgz .endif diff --git a/x11-wm/fvwm2-devel/files/patch-modules-FvwmProxy-FvwmProxy.c b/x11-wm/fvwm2-devel/files/patch-modules-FvwmProxy-FvwmProxy.c new file mode 100644 index 000000000000..d206f800bc9e --- /dev/null +++ b/x11-wm/fvwm2-devel/files/patch-modules-FvwmProxy-FvwmProxy.c @@ -0,0 +1,20 @@ +--- modules/FvwmProxy/FvwmProxy.c.orig Fri Aug 12 08:25:45 2005 ++++ modules/FvwmProxy/FvwmProxy.c Wed Nov 9 07:29:08 2005 +@@ -719,14 +719,15 @@ + { + Bool rc = False; + ProxyWindow *other=proxy->next; ++ int dx, dy; + + for (other=proxy->next; other; other=other->next) + { + if(other->desk != deskNumber) + continue; + +- int dx=abs(proxy->proxyx-other->proxyx); +- int dy=abs(proxy->proxyy-other->proxyy); ++ dx=abs(proxy->proxyx-other->proxyx); ++ dy=abs(proxy->proxyy-other->proxyy); + if (dx<(proxyWidth+proxySeparation) && + dy<proxyHeight+proxySeparation ) + { |