summaryrefslogtreecommitdiff
path: root/www/plugger/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/plugger/files')
-rw-r--r--www/plugger/files/patch-Makefile.in29
-rw-r--r--www/plugger/files/patch-configure15
-rw-r--r--www/plugger/files/patch-plugger-helper.c26
-rw-r--r--www/plugger/files/patch-plugger-oohelper16
-rw-r--r--www/plugger/files/patch-plugger.c59
5 files changed, 0 insertions, 145 deletions
diff --git a/www/plugger/files/patch-Makefile.in b/www/plugger/files/patch-Makefile.in
deleted file mode 100644
index 529b5467b17d..000000000000
--- a/www/plugger/files/patch-Makefile.in
+++ /dev/null
@@ -1,29 +0,0 @@
---- Makefile.in.orig Tue May 3 11:46:47 2005
-+++ Makefile.in Tue May 3 11:48:35 2005
-@@ -30,7 +30,7 @@
- CC=@CC@
- LD=@LD@
- BINFORMAT=bin
--OPT_FLAGS=-O2
-+OPT_FLAGS=@CFLAGS@
-
- @SET_MAKE@
-
-@@ -66,7 +66,7 @@
- DEBUG= # -DDEBUG # -DPLUGIN_TRACE
- DEFINES=$(STREAM) -DVERSION=\"$(VERSION)\" $(DEBUG)
- COMMON_CFLAGS=$(OPT_FLAGS) -I$(SDK)/include -I@x_includes@ -DXP_UNIX $(DEFINES)
--COMMON_LDFLAGS=
-+COMMON_LDFLAGS=@LDFLAGS@
- NORM_CFLAGS=
- NORM_LDFLAGS=
- XCFLAGS=@XCFLAGS@ @X_CFLAGS@
-@@ -132,7 +132,7 @@
- plugger-helper.o: plugger.h
-
- plugger.o: plugger.c plugger.h
-- $(CC) -c $(SHARED_CFLAGS) -o plugger.o plugger.c
-+ $(CC) -c $(SHARED_CFLAGS) -DSYSCONFDIR=\"$(prefix)/etc\" -o plugger.o plugger.c
-
- plugger-common.o: plugger-common.c plugger.h
- $(CC) -c $(SHARED_CFLAGS) -o plugger-common.o plugger-common.c
diff --git a/www/plugger/files/patch-configure b/www/plugger/files/patch-configure
deleted file mode 100644
index 4fcd27968af2..000000000000
--- a/www/plugger/files/patch-configure
+++ /dev/null
@@ -1,15 +0,0 @@
---- configure.orig Tue May 3 11:49:26 2005
-+++ configure Tue May 3 11:50:09 2005
-@@ -3704,10 +3704,10 @@
- XLDFLAGS='-expect_unresolved "*" -shared -msym -O3'
- ;;
-
-- FreeBSD)
-+ FreeBSD*)
- case "`file /bin/ls`" in
- *ELF*)
-- XCFLAGS=-fpic
-+ XCFLAGS=-fPIC
- XLDFLAGS=-shared
- ;;
- *)
diff --git a/www/plugger/files/patch-plugger-helper.c b/www/plugger/files/patch-plugger-helper.c
deleted file mode 100644
index 1de82fcd68c9..000000000000
--- a/www/plugger/files/patch-plugger-helper.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- plugger-helper.c~ 2004-07-20 17:17:23.000000000 +0200
-+++ plugger-helper.c 2011-12-20 20:28:35.572299134 +0100
-@@ -310,10 +310,10 @@
-
- int x;
-
-- if(!(flags & H_SWALLOW)) return;
-- if(!victim) return;
-- if(!WINDOW) return;
-- if(old_parent == WINDOW) return;
-+ if(!(flags & H_SWALLOW)) return 0;
-+ if(!victim) return 0;
-+ if(!WINDOW) return 0;
-+ if(old_parent == WINDOW) return 0;
-
- switch(gobble_state)
- {
-@@ -486,7 +486,7 @@
- exit(EX_UNAVAILABLE);
- }
-
--static int run(void)
-+static void run(void)
- {
- char *argv[10];
- char buffer[65536];
diff --git a/www/plugger/files/patch-plugger-oohelper b/www/plugger/files/patch-plugger-oohelper
deleted file mode 100644
index 9357f9b655f0..000000000000
--- a/www/plugger/files/patch-plugger-oohelper
+++ /dev/null
@@ -1,16 +0,0 @@
---- plugger-oohelper.orig Tue May 3 12:20:51 2005
-+++ plugger-oohelper Tue May 3 12:21:12 2005
-@@ -45,11 +45,11 @@
- done
- done
-
--if [ "x${ooprefix}" == "xs" ]; then
-+if [ "x${ooprefix}" = "xs" ]; then
- exec s$1 -n "$@" "$file" >/dev/null
- fi
-
--if [ "x${ooprefix}" == "xo" ]; then
-+if [ "x${ooprefix}" = "xo" ]; then
- exec oo$1 -n "$@" "$file" >/dev/null
- fi
-
diff --git a/www/plugger/files/patch-plugger.c b/www/plugger/files/patch-plugger.c
deleted file mode 100644
index 93674e685f60..000000000000
--- a/www/plugger/files/patch-plugger.c
+++ /dev/null
@@ -1,59 +0,0 @@
---- plugger.c.orig 2004-08-04 20:03:29.000000000 +0200
-+++ plugger.c 2011-12-20 20:23:39.068175279 +0100
-@@ -624,16 +624,6 @@
- if(cb(fname, data)) return 1;
- #endif
-
-- sprintf(fname,"/usr/local/netscape/%s",basename);
-- if(cb(fname, data)) return 1;
-- sprintf(fname,"/etc/%s",basename);
-- if(cb(fname, data)) return 1;
-- sprintf(fname,"/usr/etc/%s",basename);
-- if(cb(fname, data)) return 1;
-- sprintf(fname,"/usr/local/etc/%s",basename);
-- if(cb(fname, data)) return 1;
-- if(cb(basename, data)) return 1;
--
- return 0;
- }
-
-@@ -1060,17 +1050,17 @@
-
- D("start_standalone!\n");
-
-- if(!THIS->command) { D("no command!\n"); return; }
-- if(!WINDOW) { D("No window!\n"); return; }
-+ if(!THIS->command) { D("no command!\n"); return NPERR_GENERIC_ERROR; }
-+ if(!WINDOW) { D("No window!\n"); return NPERR_GENERIC_ERROR; }
-
- if(THIS->flags & H_URL)
- {
-- if(!THIS->url) { D("No url!\n"); return; }
-+ if(!THIS->url) { D("No url!\n"); return NPERR_GENERIC_ERROR; }
- }else{
-- if(!THIS->stream) { D("No stream!\n"); return; }
-+ if(!THIS->stream) { D("No stream!\n"); return NPERR_GENERIC_ERROR; }
- }
-
-- if(THIS->waitfd!=-1) { D("Already started!\n"); return; }
-+ if(THIS->waitfd!=-1) { D("Already started!\n"); return NPERR_GENERIC_ERROR; }
- D("Actually starging!\n");
-
- if(socketpair(AF_UNIX, SOCK_STREAM, 0, bar) < 0)
-@@ -1082,7 +1072,7 @@
- if(THIS->pid1==-1)
- {
- NPN_Status(instance, "My_Fork failed!");
-- return;
-+ return NPERR_GENERIC_ERROR;
- }
-
- if(!THIS->pid1)
-@@ -1097,6 +1087,7 @@
- THIS->waitfd=bar[0];
- close(bar[1]);
- }
-+ return NPERR_NO_ERROR;
- }
-
-