summaryrefslogtreecommitdiff
path: root/multimedia/ogle-gui
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-05-11 02:52:06 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2003-05-11 02:52:06 +0000
commit8611b700ac5ca75cf36a51c6385e3c0a2c91f8cd (patch)
treebb3761ee114a7b8348a9a2cbc50d9c70e9a07bf6 /multimedia/ogle-gui
parentFix build on alpha ARCH (diff)
o Do not check return of dlerror(3) to see if there was an error.
dlerror(3) holds the value of the LAST dlsym(3) error. It does not tell if an error occured in the last dlsym(3) call. It could have happened before. o Bump PORTREVISION Submitted by: nectar
Notes
Notes: svn path=/head/; revision=80638
Diffstat (limited to 'multimedia/ogle-gui')
-rw-r--r--multimedia/ogle-gui/Makefile1
-rw-r--r--multimedia/ogle-gui/files/patch-src::my_glade.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/ogle-gui/Makefile b/multimedia/ogle-gui/Makefile
index 2663643c4b28..d9becae2921c 100644
--- a/multimedia/ogle-gui/Makefile
+++ b/multimedia/ogle-gui/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ogle
PORTVERSION= 0.9.1
+PORTREVISION= 1
CATEGORIES= multimedia gnome
MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/
PKGNAMESUFFIX= -gui
diff --git a/multimedia/ogle-gui/files/patch-src::my_glade.c b/multimedia/ogle-gui/files/patch-src::my_glade.c
new file mode 100644
index 000000000000..b4d23cd9777e
--- /dev/null
+++ b/multimedia/ogle-gui/files/patch-src::my_glade.c
@@ -0,0 +1,11 @@
+--- src/my_glade.c.orig Sat May 10 23:43:23 2003
++++ src/my_glade.c Sat May 10 23:45:47 2003
+@@ -39,7 +39,7 @@
+
+ fun = dlsym(handle, new_symbol);
+ error = dlerror();
+- if(error != NULL) {
++ if(fun == NULL) {
+ fprintf(stderr, "Error during dlsym of %s: %s\n", new_symbol, error);
+ gtk_exit(1);
+ }