mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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:
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
|
@ -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
|
||||
|
|
11
multimedia/ogle-gui/files/patch-src::my_glade.c
Normal file
11
multimedia/ogle-gui/files/patch-src::my_glade.c
Normal 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);
|
||||
}
|
Loading…
Add table
Reference in a new issue