aboutsummaryrefslogtreecommitdiffstats
path: root/comms/ghfaxviewer/files
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-12-09 07:35:17 +0800
committerpav <pav@FreeBSD.org>2004-12-09 07:35:17 +0800
commit68fbba71b1f5eab3a570faf4162e1c716eb2705b (patch)
tree6adda56af68b7aa4315f70410ee94aafff3132ea /comms/ghfaxviewer/files
parentdd5358a82a9b2fb4fe864a82d752b57d2730a104 (diff)
downloadfreebsd-ports-gnome-68fbba71b1f5eab3a570faf4162e1c716eb2705b.tar.gz
freebsd-ports-gnome-68fbba71b1f5eab3a570faf4162e1c716eb2705b.tar.zst
freebsd-ports-gnome-68fbba71b1f5eab3a570faf4162e1c716eb2705b.zip
- Fix build with gcc 3.4
PR: ports/74790 Submitted by: Dominik Brettnacher <domi@saargate.de> (maintainer)
Diffstat (limited to 'comms/ghfaxviewer/files')
-rw-r--r--comms/ghfaxviewer/files/patch-src-callbcks.c26
-rw-r--r--comms/ghfaxviewer/files/patch-src-gn_print.c10
2 files changed, 36 insertions, 0 deletions
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)