summaryrefslogtreecommitdiff
path: root/net/psi/files
diff options
context:
space:
mode:
Diffstat (limited to 'net/psi/files')
-rw-r--r--net/psi/files/patch-configure16
-rw-r--r--net/psi/files/patch-src::ndns.cpp13
-rw-r--r--net/psi/files/patch-src::psi.pro14
-rw-r--r--net/psi/files/template.patch-common.cpp13
4 files changed, 30 insertions, 26 deletions
diff --git a/net/psi/files/patch-configure b/net/psi/files/patch-configure
new file mode 100644
index 000000000000..1b6a2947fd7f
--- /dev/null
+++ b/net/psi/files/patch-configure
@@ -0,0 +1,16 @@
+$FreeBSD$
+
+Fix the getopt to use BSD's getopt instead of Linux's
+
+--- configure.orig Wed Oct 30 23:09:35 2002
++++ configure Mon Nov 4 22:10:49 2002
+@@ -2,8 +2,7 @@
+
+ # parsing options
+
+-TEMP=`getopt -o p:b:l:q:h --long prefix:,bindir:,libdir:,qtdir:,help \
+--n 'configure' -- "$@"`
++TEMP=`getopt p:b:l:q:h $*`
+
+ if [ $? != 0 ] ; then echo "Terminating..." >&2 ; exit 1 ; fi
+
diff --git a/net/psi/files/patch-src::ndns.cpp b/net/psi/files/patch-src::ndns.cpp
deleted file mode 100644
index 8cd6c1d0f8d8..000000000000
--- a/net/psi/files/patch-src::ndns.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$FreeBSD$
-
-
---- src/ndns.cpp.orig Thu Jul 11 18:49:42 2002
-+++ src/ndns.cpp Thu Jul 11 18:40:24 2002
-@@ -51,6 +51,7 @@
- #include "ndns.h"
-
- #ifdef Q_OS_UNIX
-+#include <sys/types.h>
- #include<netdb.h>
- #include<netinet/in.h>
- #include<arpa/inet.h>
diff --git a/net/psi/files/patch-src::psi.pro b/net/psi/files/patch-src::psi.pro
new file mode 100644
index 000000000000..2a0278fd329a
--- /dev/null
+++ b/net/psi/files/patch-src::psi.pro
@@ -0,0 +1,14 @@
+$FreeBSD$
+
+Disable the use of /bin/true (doesn't exist in FreeBSD)
+
+--- src/psi.pro.orig Wed Oct 30 23:09:34 2002
++++ src/psi.pro Mon Nov 4 20:43:19 2002
+@@ -157,7 +157,6 @@
+ LIBS += -lz -lXss
+ SOURCES += trayicon_x11.cpp
+
+- QMAKE_STRIP = "/bin/true"
+ include( configure.pri )
+ }
+
diff --git a/net/psi/files/template.patch-common.cpp b/net/psi/files/template.patch-common.cpp
deleted file mode 100644
index cf3ef753838f..000000000000
--- a/net/psi/files/template.patch-common.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-$FreeBSD$
-
---- src/common.cpp.orig Wed May 1 22:06:07 2002
-+++ src/common.cpp Wed May 1 22:06:47 2002
-@@ -1130,7 +1130,7 @@
- #ifdef Q_WS_X11
- QString getResourcesDir()
- {
-- return "/usr/local/psi";
-+ return "%%DATADIR%%";
- }
-
- QString getHomeDir()