diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2012-06-01 05:26:28 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2012-06-01 05:26:28 +0000 |
commit | 2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch) | |
tree | c04604583d8be53b3ed7f10975be828c731f87cb /comms/xnecview | |
parent | 24315159daa0089f08acea4ba1b130fb6721ad5c (diff) | |
download | ports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.tar.gz ports-2b74a89bc8342f0b9b737c37d87737caf7b0ea1e.zip |
Notes
Diffstat (limited to 'comms/xnecview')
-rw-r--r-- | comms/xnecview/Makefile | 3 | ||||
-rw-r--r-- | comms/xnecview/files/patch-Makefile | 4 | ||||
-rw-r--r-- | comms/xnecview/files/patch-xwin.c | 11 |
3 files changed, 15 insertions, 3 deletions
diff --git a/comms/xnecview/Makefile b/comms/xnecview/Makefile index f49dd8befe13..11d2a8a31dea 100644 --- a/comms/xnecview/Makefile +++ b/comms/xnecview/Makefile @@ -6,6 +6,7 @@ PORTNAME= xnecview PORTVERSION= 1.36 +PORTREVISION= 1 CATEGORIES= comms hamradio MASTER_SITES= http://wwwhome.cs.utwente.nl/%7Eptdeboer/ham/xnecview/ EXTRACT_SUFX= .tgz @@ -13,7 +14,7 @@ EXTRACT_SUFX= .tgz MAINTAINER= xride@FreeBSD.org COMMENT= A X viewer of nec2c data -LIB_DEPENDS= png:${PORTSDIR}/graphics/png +LIB_DEPENDS= png15:${PORTSDIR}/graphics/png RUN_DEPENDS= nec2c:${PORTSDIR}/comms/nec2c USE_GNOME= gtk20 diff --git a/comms/xnecview/files/patch-Makefile b/comms/xnecview/files/patch-Makefile index a8cc806e1791..09cec08bab2a 100644 --- a/comms/xnecview/files/patch-Makefile +++ b/comms/xnecview/files/patch-Makefile @@ -17,8 +17,8 @@ ifeq ($(PNG),yes) CFLAGS += -DHAVE_LIBPNG -LDFLAGS += -lpng -+CFLAGS += `pkg-config --cflags ${LOCALBASE}/libdata/pkgconfig/libpng14.pc` -+LDFLAGS += `pkg-config --libs ${LOCALBASE}/libdata/pkgconfig/libpng14.pc` ++CFLAGS += `pkg-config --cflags ${LOCALBASE}/libdata/pkgconfig/libpng15.pc` ++LDFLAGS += `pkg-config --libs ${LOCALBASE}/libdata/pkgconfig/libpng15.pc` endif SRCS = xnecview.c xwin.c parse_input.c parse_output.c draw.c draw_opaque.c freqplot.c postscript.c icon.xbm diff --git a/comms/xnecview/files/patch-xwin.c b/comms/xnecview/files/patch-xwin.c new file mode 100644 index 000000000000..6d56247a50ce --- /dev/null +++ b/comms/xnecview/files/patch-xwin.c @@ -0,0 +1,11 @@ +--- xwin.c.orig 2011-07-26 00:03:37.000000000 +0200 ++++ xwin.c 2012-05-01 08:33:19.000000000 +0200 +@@ -277,7 +277,7 @@ + fclose(f); + return 1; + } +- if (setjmp(pp->jmpbuf)) { ++ if (setjmp(png_jmpbuf(pp))) { + png_destroy_write_struct(&pp,&ip); + fclose(f); + gdk_image_destroy(image); |