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
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2003-05-11 02:52:06 +00:00
parent 38d9021823
commit 8611b700ac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80638
2 changed files with 12 additions and 0 deletions

View file

@ -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

View file

@ -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);
}