xpaint is broken on freebsd 4.11
Volker Stolz
vs at FreeBSD.org
Wed Apr 6 07:28:58 PDT 2005
In gmane.os.freebsd.devel.ports, you wrote:
> misc.c: In function `mousewheelScroll':
> misc.c : 675 : structure has no member named `scroll_mode'
The attached patch works on 4.11 here, please test. Pav, does it
work with xorg, too?
Volker
--
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
It's a million to one chance, but it just might work.
-------------- next part --------------
Index: files/patch-Imakefile
===================================================================
RCS file: /usr/freebsdcvs/cvs-ports/ports/graphics/xpaint/files/patch-Imakefile,v
retrieving revision 1.4
diff -u -r1.4 patch-Imakefile
--- files/patch-Imakefile 3 Apr 2005 21:39:28 -0000 1.4
+++ files/patch-Imakefile 6 Apr 2005 14:24:46 -0000
@@ -1,6 +1,14 @@
---- Imakefile.orig Sun Mar 20 06:37:39 2005
-+++ Imakefile Mon Mar 21 13:27:05 2005
-@@ -98,7 +98,7 @@
+--- Imakefile.orig Sun Mar 20 21:15:32 2005
++++ Imakefile Wed Apr 6 16:17:16 2005
+@@ -13,6 +13,7 @@
+ "-DSHAREDIR=\"$(SHAREDIR)\"" \
+ "-DXAPPLOADDIR=\"$(XAPPLOADDIR)\"" \
+ "-DXPAINT_VERSION=\"$(VERSION)\"" \
++ "-DARROW_SCROLLBAR" \
+
+ #ifdef LPCCMD
+ DEFINES += "-DLPCCMD=\"$(LPCCMD)\""
+@@ -98,7 +99,7 @@
#endif
DEPLIBS = always xpaint.man XPaint.ad
@@ -9,7 +17,7 @@
SUBDIRS = rw
-@@ -148,7 +148,7 @@
+@@ -148,7 +149,7 @@
xaw::
-$(RM) $(XAWDEPENDS)
@@ -18,7 +26,7 @@
echo "XAWLIB_DEFINES = -DXAWPLAIN" > Local.xawdefs
echo "SYS_LIBRARIES = XawClientLibs -lm" >> Local.xawdefs
xmkmf -a ; make
-@@ -160,7 +160,7 @@
+@@ -160,7 +161,7 @@
xaw3d::
-$(RM) $(XAWDEPENDS)
@@ -27,7 +35,7 @@
echo "XAWLIB_DEFINES = -DXAW3D" > Local.xawdefs
echo "SYS_LIBRARIES = -lXaw3d -L." >> Local.xawdefs
xmkmf ; cd rw ; xmkmf ; cd .. ; make
-@@ -171,7 +171,7 @@
+@@ -171,7 +172,7 @@
xaw3dg::
-$(RM) $(XAWDEPENDS)
@@ -36,7 +44,7 @@
echo "XAWLIB_DEFINES = -DXAW3D -DXAW3DG" > Local.xawdefs
echo "SYS_LIBRARIES = -lXaw3d -L." >> Local.xawdefs
xmkmf ; cd rw ; xmkmf ; cd .. ; make
-@@ -182,7 +182,7 @@
+@@ -182,7 +183,7 @@
nextaw::
-$(RM) $(XAWDEPENDS)
@@ -45,7 +53,7 @@
echo "XAWLIB_DEFINES = -DXAW3D" > Local.xawdefs
echo "SYS_LIBRARIES = -lneXtaw -L." >> Local.xawdefs
xmkmf ; cd rw ; xmkmf ; cd .. ; make
-@@ -193,7 +193,7 @@
+@@ -193,7 +194,7 @@
xaw95::
-$(RM) $(XAWDEPENDS)
@@ -54,7 +62,7 @@
echo "XAWLIB_DEFINES = -DXAW95" > Local.xawdefs
echo "SYS_LIBRARIES = -lXaw95 -L." >> Local.xawdefs
xmkmf -a ; make
-@@ -225,7 +225,7 @@
+@@ -225,7 +226,7 @@
XPAINT_PRINT_COMMAND "$(PRINT_COMMAND)" \
XPAINT_POSTSCRIPT_VIEWER "$(POSTSCRIPT_VIEWER)" \
XPAINT_EXTERN_VIEWER "$(EXTERN_VIEWER)"
More information about the freebsd-ports
mailing list