Date: Tue, 21 Mar 2006 07:37:02 +0100 (CET) From: Soeren Straarup <xride@x12.dk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/94768: [maintainer-correction] missing cflag + minor correction Message-ID: <20060321063702.7F1C74210@beacon.x12.dk> Resent-Message-ID: <200603210640.k2L6eNmE074042@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 94768 >Category: ports >Synopsis: [maintainer-correction] missing cflag + minor correction >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Tue Mar 21 06:40:23 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Soeren Straarup >Release: FreeBSD 7.0-CURRENT i386 >Organization: >Environment: System: FreeBSD beacon.x12.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Tue Feb 7 20:11:22 CET 2006 xride@beacon.x12.dk:/usr/src/sys/i386/compile/beacon i386 >Description: Go to export and it is only possible to export as eps >How-To-Repeat: >Fix: With this fix a missing CFLAGS is added and a minor bugfix of the program it self. --- xnecview.diff begins here --- diff -uNrd /usr/ports/comms/xnecview/Makefile xnecview/Makefile --- /usr/ports/comms/xnecview/Makefile Sun Mar 19 01:35:18 2006 +++ xnecview/Makefile Tue Mar 21 07:22:55 2006 @@ -2,10 +2,11 @@ # Date created: 2006-03-18 # Whom: Søren Straarup <xride@x12.dk> # -# $FreeBSD: ports/comms/xnecview/Makefile,v 1.1 2006/03/19 00:35:18 pav Exp $ +# $FreeBSD$ PORTNAME= xnecview PORTVERSION= 1.34 +PORTREVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= http://wwwhome.cs.utwente.nl/%7Eptdeboer/ham/xnecview/ EXTRACT_SUFX= .tgz diff -uNrd /usr/ports/comms/xnecview/files/patch-Makefile xnecview/files/patch-Makefile --- /usr/ports/comms/xnecview/files/patch-Makefile Sun Mar 19 01:35:19 2006 +++ xnecview/files/patch-Makefile Sun Mar 19 07:19:08 2006 @@ -1,6 +1,6 @@ --- Makefile.orig Fri Dec 27 23:23:23 2002 -+++ Makefile Fri Mar 17 17:59:24 2006 -@@ -4,14 +4,14 @@ ++++ Makefile Sun Mar 19 06:56:59 2006 +@@ -4,14 +4,15 @@ CC = gcc @@ -12,7 +12,7 @@ +LDFLAGS = `pkg-config --libs gtk+-2.0` -lm ifeq ($(PNG),yes) --CFLAGS += -DHAVE_LIBPNG + CFLAGS += -DHAVE_LIBPNG -LDFLAGS += -lpng +CFLAGS += `pkg-config --cflags ${LOCALBASE}/libdata/pkgconfig/libpng12.pc` +LDFLAGS += `pkg-config --libs ${LOCALBASE}/libdata/pkgconfig/libpng12.pc` diff -uNrd /usr/ports/comms/xnecview/files/patch-xwin.c xnecview/files/patch-xwin.c --- /usr/ports/comms/xnecview/files/patch-xwin.c Sun Mar 19 01:35:19 2006 +++ xnecview/files/patch-xwin.c Tue Mar 21 07:06:03 2006 @@ -1,5 +1,5 @@ ---- xwin.c.orig Fri Mar 17 20:50:07 2006 -+++ xwin.c Fri Mar 17 20:50:52 2006 +--- xwin.c.orig Wed Sep 10 22:55:30 2003 ++++ xwin.c Tue Mar 21 07:05:23 2006 @@ -13,6 +13,7 @@ #include <math.h> #include <stdio.h> @@ -8,6 +8,15 @@ #include <gtk/gtk.h> #include <gdk/gdkx.h> #include <gdk/gdkkeysyms.h> +@@ -261,7 +262,7 @@ + f=fopen(filename,"w"); + if (!f) return 1; + +- image = gdk_image_get(gbackg, 0, 0, width, height); ++ image = gdk_image_get(w, 0, 0, width, height); + if (!image) { + fclose(f); + return 1; @@ -1378,7 +1379,7 @@ gtk_widget_grab_focus(gdraw1); --- xnecview.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060321063702.7F1C74210>