summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2005-07-13 17:51:09 +0000
committerHeinrich Wendel <lanius@gentoo.org>2005-07-13 17:51:09 +0000
commite2f6b1fb446f6d17605f48e51b4431236d89bcf3 (patch)
treea705ec150100f9d58d0edda0b1cc68e13052b0e7 /net-print/omni/files
parentversion bump (diff)
downloadgentoo-2-e2f6b1fb446f6d17605f48e51b4431236d89bcf3.tar.gz
gentoo-2-e2f6b1fb446f6d17605f48e51b4431236d89bcf3.tar.bz2
gentoo-2-e2f6b1fb446f6d17605f48e51b4431236d89bcf3.zip
compile fixes
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-print/omni/files')
-rw-r--r--net-print/omni/files/omni-0.9.1-cxx.patch12
-rw-r--r--net-print/omni/files/omni-0.9.1-errno.patch11
2 files changed, 23 insertions, 0 deletions
diff --git a/net-print/omni/files/omni-0.9.1-cxx.patch b/net-print/omni/files/omni-0.9.1-cxx.patch
new file mode 100644
index 000000000000..b258283391f2
--- /dev/null
+++ b/net-print/omni/files/omni-0.9.1-cxx.patch
@@ -0,0 +1,12 @@
+diff -ur Omni/OmniPDCProxy.cpp ../../Omni.patch2/OmniPDCProxy.cpp
+--- Omni/OmniPDCProxy.cpp 2003-11-18 00:13:21.000000000 +0100
++++ ../../Omni.patch2/OmniPDCProxy.cpp 2005-06-28 01:51:11.000000000 +0200
+@@ -787,7 +787,7 @@
+ && PDCCMD_ACK == pCmd_d->getCommandType ()
+ )
+ {
+- pCmd_d->getCommandInt ((int)eOmniClass_d);
++ pCmd_d->getCommandInt ((int&)eOmniClass_d);
+ }
+ else
+ {
diff --git a/net-print/omni/files/omni-0.9.1-errno.patch b/net-print/omni/files/omni-0.9.1-errno.patch
new file mode 100644
index 000000000000..6cfd615238c2
--- /dev/null
+++ b/net-print/omni/files/omni-0.9.1-errno.patch
@@ -0,0 +1,11 @@
+diff -ur Omni/DeviceScaling.cpp ../../Omni.patch/DeviceScaling.cpp
+--- Omni/DeviceScaling.cpp 2003-12-12 00:11:28.000000000 +0100
++++ ../../Omni.patch/DeviceScaling.cpp 2005-06-27 17:01:30.000000000 +0200
+@@ -16,6 +16,7 @@
+ * along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
++#include <errno.h>
+ #include "DeviceScaling.hpp"
+ #include "JobProperties.hpp"
+