ports/75975: comms/gfax: Fix compilation failures
Tom McLaughlin
tmclaugh at sdf.lonestar.org
Sun Jan 9 05:20:19 UTC 2005
>Number: 75975
>Category: ports
>Synopsis: comms/gfax: Fix compilation failures
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sun Jan 09 05:20:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Tom McLaughlin
>Release: FreeBSD 5.3-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD 5.3-RELEASE-p2 #0: Tue Jan 4 10:02:45 EST 2005
root at compass.straycat.dhs.org:/usr/obj/usr/src/sys/COMPASS
>Description:
Attached patch fixes gfax compilation failures due to the move of
gtk-sharp to /usr/X11R6. The program builds but crashes on start so I'm
leaving this as broken. I've found the same breakage being reported by
non-FreeBSD users so I assume that recent versions of mono or
gtk-sharp have caused this problem. Waiting for gfax author to follow up
on these latest problems.
>How-To-Repeat:
http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/a.5.2004121802/gfax-0.6.4_3.log
>Fix:
--- gfax_compile_fix.diff begins here ---
Index: files/patch-Makefile
===================================================================
RCS file: /ncvs/ports/comms/gfax/files/patch-Makefile,v
retrieving revision 1.1
diff -u -r1.1 patch-Makefile
--- files/patch-Makefile 17 Jul 2004 14:18:29 -0000 1.1
+++ files/patch-Makefile 9 Jan 2005 03:10:36 -0000
@@ -1,20 +1,22 @@
---- Makefile.orig Wed Jun 30 15:27:25 2004
-+++ Makefile Fri Jul 9 01:14:53 2004
-@@ -1,4 +1,4 @@
+--- Makefile.orig Wed Jun 30 18:27:25 2004
++++ Makefile Sat Jan 8 18:54:20 2005
+@@ -1,4 +1,3 @@
-export MONO_PATH=/usr/lib/mono:/usr/lib/mono/gtk-sharp
-+export MONO_PATH=${LOCALBASE}/lib/mono:${LOCALBASE}/lib/mono/gtk-sharp
MCS = mcs /define:DEBUG
#MCS = mcs /define:DEBUGHYLAFAX
-@@ -11,7 +11,6 @@
+@@ -11,9 +10,7 @@
/resource:./pixmaps/gfax.png,gfax.png \
/resource:./pixmaps/send.png,send.png
-
- REFERENCES = -r gnome-sharp -r gtk-sharp -r glib-sharp -r glade-sharp -r gdk-sharp \
- -r gconf-sharp -r gconf-sharp-peditors.dll
+-REFERENCES = -r gnome-sharp -r gtk-sharp -r glib-sharp -r glade-sharp -r gdk-sharp \
+- -r gconf-sharp -r gconf-sharp-peditors.dll
++REFERENCES = $(shell pkg-config --libs gnome-sharp glade-sharp gconf-sharp)
SOURCES = src/phonebook.cs \
-@@ -22,7 +21,7 @@
+ src/gui.cs \
+ src/main.cs \
+@@ -22,7 +19,7 @@
src/fax.cs \
src/hylafax.cs \
src/Settings.cs
@@ -23,7 +25,7 @@
DATE=`date +%y-%m-%d`
all: mono-gfax.exe
-@@ -31,37 +30,43 @@
+@@ -31,37 +28,43 @@
$(MCS) $(RESOURCES) -o $@ $(SOURCES) $(REFERENCES)
schema:
--- gfax_compile_fix.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list