diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-12-08 23:35:17 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-12-08 23:35:17 +0000 |
commit | 0097fc12e674002b6df6edd3162181eaa931a1d2 (patch) | |
tree | dba75b5a64284c8deeb3e11e8b2f8a0b1d9fc9b1 /comms | |
parent | 5fff65a3077ac0878c4fd2c9eea7464b4d198ab2 (diff) | |
download | ports-0097fc12e674002b6df6edd3162181eaa931a1d2.tar.gz ports-0097fc12e674002b6df6edd3162181eaa931a1d2.zip |
Notes
Diffstat (limited to 'comms')
-rw-r--r-- | comms/ghfaxviewer/Makefile | 8 | ||||
-rw-r--r-- | comms/ghfaxviewer/files/patch-src-callbcks.c | 26 | ||||
-rw-r--r-- | comms/ghfaxviewer/files/patch-src-gn_print.c | 10 |
3 files changed, 37 insertions, 7 deletions
diff --git a/comms/ghfaxviewer/Makefile b/comms/ghfaxviewer/Makefile index 0f0fdfe51de4..8ba762cc7b88 100644 --- a/comms/ghfaxviewer/Makefile +++ b/comms/ghfaxviewer/Makefile @@ -29,12 +29,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ MAN1= halifax.1 ghfaxviewer.1 -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 502126 -BROKEN= "Does not compile on FreeBSD >= 5.x" -.endif - pre-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure @@ -42,4 +36,4 @@ pre-patch: 's|\(\$$(datadir)/\)gnome/|\1|g ; \ s|\$$(datadir)/locale|$$(prefix)/share/locale|g' -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/comms/ghfaxviewer/files/patch-src-callbcks.c b/comms/ghfaxviewer/files/patch-src-callbcks.c new file mode 100644 index 000000000000..8173db6b6cfd --- /dev/null +++ b/comms/ghfaxviewer/files/patch-src-callbcks.c @@ -0,0 +1,26 @@ +--- src/callbcks.c.orig Mon Dec 6 23:40:28 2004 ++++ src/callbcks.c Mon Dec 6 23:40:51 2004 +@@ -90,7 +90,6 @@ + case ROT_LEFT90: + viewer_data->rotation = ROT_RIGHT90; + break; +- default: + } + + draw_page (viewer_data); +@@ -113,7 +112,6 @@ + case ROT_LEFT90: + viewer_data->rotation = ROT_NONE; + break; +- default: + } + + draw_page (viewer_data); +@@ -136,7 +134,6 @@ + case ROT_LEFT90: + viewer_data->rotation = ROT_180; + break; +- default: + } + + draw_page (viewer_data); diff --git a/comms/ghfaxviewer/files/patch-src-gn_print.c b/comms/ghfaxviewer/files/patch-src-gn_print.c new file mode 100644 index 000000000000..30615d7c5cf3 --- /dev/null +++ b/comms/ghfaxviewer/files/patch-src-gn_print.c @@ -0,0 +1,10 @@ +--- src/gn_print.c.orig Sun May 6 14:15:14 2001 ++++ src/gn_print.c Thu Dec 9 00:24:02 2004 +@@ -272,6 +272,7 @@ + print_or_preview (print_dlg, viewer_data, button); + break; + case GNOME_PRINT_CANCEL: ++ ; + } + + if (destroy_dlg) |