aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cad/oregano/Makefile2
-rw-r--r--cad/oregano/files/patch-SConstruct11
-rw-r--r--cad/oregano/files/patch-src__print.c10
3 files changed, 22 insertions, 1 deletions
diff --git a/cad/oregano/Makefile b/cad/oregano/Makefile
index 9518d579d248..be829d6f3c9e 100644
--- a/cad/oregano/Makefile
+++ b/cad/oregano/Makefile
@@ -7,7 +7,7 @@
PORTNAME= oregano
PORTVERSION= 0.60.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= cad gnome
MASTER_SITES= http://gforge.lug.fi.uba.ar/frs/download.php/84/
diff --git a/cad/oregano/files/patch-SConstruct b/cad/oregano/files/patch-SConstruct
new file mode 100644
index 000000000000..b4aa64e4d45b
--- /dev/null
+++ b/cad/oregano/files/patch-SConstruct
@@ -0,0 +1,11 @@
+--- SConstruct.orig Thu Mar 29 10:35:45 2007
++++ SConstruct Thu Mar 29 10:36:06 2007
+@@ -10,7 +10,7 @@
+ opts = Options ('oregano.py');
+ opts.Add (BoolOption ('RunUpdateMimeDatabase', 'Set to no if you don\'t want to run update-mime-database', 1));
+ opts.Add (BoolOption ('Debug', 'Set to yes you want to compile with debug symbolse', 0));
+-opts.Add (PathOption ('PREFIX', 'System base prefix path', '/usr/local'));
++opts.Add (PathOption ('PREFIX', 'System base prefix path', '/usr/local', PathOption.PathIsDirCreate));
+ opts.Add (PackageOption ('DESTDIR', 'System base installation path', '/'));
+
+ # Dependencies #
diff --git a/cad/oregano/files/patch-src__print.c b/cad/oregano/files/patch-src__print.c
new file mode 100644
index 000000000000..5c84977472c0
--- /dev/null
+++ b/cad/oregano/files/patch-src__print.c
@@ -0,0 +1,10 @@
+--- src/print.c.orig Thu Mar 29 10:30:23 2007
++++ src/print.c Thu Mar 29 10:30:26 2007
+@@ -31,6 +31,7 @@
+ #include <math.h>
+ #include <gnome.h>
+ #include <libgnomeprint/gnome-print.h>
++#include <libgnomeprint/gnome-print-paper.h>
+ #include "schematic.h"
+ #include "schematic-view.h"
+ #include "sheet.h"